Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Issue 17101019: Consider IME is associated with the top level widget rather than child widget (Closed)

Created:
7 years, 6 months ago by Yohei Yukawa
Modified:
7 years, 6 months ago
CC:
chromium-reviews, nona+watch_chromium.org, tfarina, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org, kochi, yoichio, Yuki, oshima, Peter Kasting
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Consider IME is associated with the top level widget rather than child widget. An important thing is that [NativeWidget A] owns Win32 input focus even when [View X] is logically focused by FocusManager. As a result, an Win32 IME may want to interact with the native view of [NativeWidget A] rather than that of [NativeWidget B]. This is why we need to call GetTopLevelWidget() here. Previous implementation treated [NativeWidget B] as associated with the IME but it was wrong. This CL fixes the this confusion. BUG=246534 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208018

Patch Set 1 #

Patch Set 2 : Revise the comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M ui/views/controls/textfield/native_textfield_views.cc View 1 1 chunk +12 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Yohei Yukawa
7 years, 6 months ago (2013-06-19 06:05:55 UTC) #1
Seigo Nonaka
lgtm
7 years, 6 months ago (2013-06-19 08:45:32 UTC) #2
Yohei Yukawa
+msw@ for the owner review. The motivation of my change is described in the description. ...
7 years, 6 months ago (2013-06-19 08:50:59 UTC) #3
msw
LGTM, but I'm CC'ing Oshima and Peter in case they have any comments.
7 years, 6 months ago (2013-06-19 16:15:50 UTC) #4
oshima
+yusukes who knows IME stuff better. One comment about the bug description/comment in the code. ...
7 years, 6 months ago (2013-06-19 16:49:43 UTC) #5
Yohei Yukawa
On 2013/06/19 16:49:43, oshima wrote: > +yusukes who knows IME stuff better. One comment about ...
7 years, 6 months ago (2013-06-19 19:31:54 UTC) #6
Yohei Yukawa
On 2013/06/19 19:31:54, Yohei Yukawa wrote: > On 2013/06/19 16:49:43, oshima wrote: > > +yusukes ...
7 years, 6 months ago (2013-06-20 22:14:22 UTC) #7
Yusuke Sato
On 2013/06/20 22:14:22, Yohei Yukawa wrote: > On 2013/06/19 19:31:54, Yohei Yukawa wrote: > > ...
7 years, 6 months ago (2013-06-21 04:36:34 UTC) #8
Yohei Yukawa
On 2013/06/21 04:36:34, Yusuke Sato wrote: > On 2013/06/20 22:14:22, Yohei Yukawa wrote: > > ...
7 years, 6 months ago (2013-06-21 04:47:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Yukawa@chromium.org/17101019/8002
7 years, 6 months ago (2013-06-22 10:36:42 UTC) #10
commit-bot: I haz the power
7 years, 6 months ago (2013-06-22 13:37:59 UTC) #11
Message was sent while issue was closed.
Change committed as 208018

Powered by Google App Engine
This is Rietveld 408576698