Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Issue 23475033: Stop overriding InputMethodBase::SetFocusedTextInputClient (Closed)

Created:
7 years, 3 months ago by Yohei Yukawa
Modified:
7 years, 3 months ago
CC:
chromium-reviews, nona+watch_chromium.org, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Stop overriding InputMethodBase::SetFocusedTextInputClient With this CL, neither InputMethodTSF nor InputMethodIMM32 no longer overrides default implementation. This CL also relaxes the condition of IsWindowFocused so that it can work when the attached window becomes active but has not received WM_FOCUS yet. This is a preparation CL for the main fix of Issue 287620. There should be no new regression with this CL as far as I've tested. In short, the main goal of this CL is just cleaning up the existing code w/o any regression so that we can keep the main fix of Issue 287620 as simple and minimum as possible. BUG=287620 TEST=manually done with/without --enable-text-services-framework on Aura/non-Aura Windows 7. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222590

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -42 lines) Patch
M ui/base/ime/input_method_imm32.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ui/base/ime/input_method_imm32.cc View 2 chunks +0 lines, -12 lines 0 comments Download
M ui/base/ime/input_method_tsf.h View 2 chunks +0 lines, -5 lines 0 comments Download
M ui/base/ime/input_method_tsf.cc View 2 chunks +0 lines, -20 lines 0 comments Download
M ui/base/ime/input_method_win.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/ime/input_method_win.cc View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Yohei Yukawa
7 years, 3 months ago (2013-09-11 12:11:00 UTC) #1
Yuki
What InputMethodTSF::SetFocusedTextInputClient() has been doing is done in On{Will,Did}ChangeFocusedClient(), right? LGTM.
7 years, 3 months ago (2013-09-11 12:42:20 UTC) #2
Seigo Nonaka
lgtm lgtm If we should no longer override SetFocusedClient in subclass, how about moving InputMethodBase::SetFocusedClient ...
7 years, 3 months ago (2013-09-11 13:04:04 UTC) #3
Yuki
On 2013/09/11 13:04:04, Seigo Nonaka wrote: > lgtm > > lgtm > > If we ...
7 years, 3 months ago (2013-09-11 13:15:04 UTC) #4
Seigo Nonaka
On 2013/09/11 13:15:04, Yuki wrote: > On 2013/09/11 13:04:04, Seigo Nonaka wrote: > > lgtm ...
7 years, 3 months ago (2013-09-11 13:37:38 UTC) #5
Yohei Yukawa
On 2013/09/11 12:42:20, Yuki wrote: > What InputMethodTSF::SetFocusedTextInputClient() has been doing is done in > ...
7 years, 3 months ago (2013-09-11 15:06:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/23475033/1
7 years, 3 months ago (2013-09-11 15:07:51 UTC) #7
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-11 15:14:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/23475033/1
7 years, 3 months ago (2013-09-11 16:10:35 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-09-11 17:58:52 UTC) #10
Message was sent while issue was closed.
Change committed as 222590

Powered by Google App Engine
This is Rietveld 408576698