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

Issue 21751002: Fix IME on bookmark edit dialog. (Closed)

Created:
7 years, 4 months ago by kochi
Modified:
7 years, 4 months ago
CC:
chromium-reviews, nona+watch_chromium.org, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org, yoichio, Yuki
Visibility:
Public.

Description

Fix IME on bookmark edit dialog. On bookmark edit dialog, text fields gets logical focus first, then NativeTextFieldViews gets real win32 focus, in which case InputMethodTSF fails to set focused TextInputClient for TSF. This CL adds calling InputMethod()->OnFocus() when NativeTextFieldViews (which is a TextInputClient as well) gets focus, to make sure InputMethodTSF can properly pass focused TextInputClient to TSF. BUG=265337 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216992

Patch Set 1 #

Patch Set 2 : Propagate focus to InputMethod from NativeTextFieldViews #

Total comments: 2

Patch Set 3 : Call InputMethod::OnBlur() in HandleBlur() #

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

Messages

Total messages: 8 (0 generated)
kochi
Hi Mike, This is my fix for the bookmark dialog issue. I made sure this ...
7 years, 4 months ago (2013-08-09 10:19:52 UTC) #1
Yohei Yukawa
lgtm
7 years, 4 months ago (2013-08-09 11:37:14 UTC) #2
msw
LGTM with a Q. https://codereview.chromium.org/21751002/diff/4001/ui/views/controls/textfield/native_textfield_views.cc File ui/views/controls/textfield/native_textfield_views.cc (right): https://codereview.chromium.org/21751002/diff/4001/ui/views/controls/textfield/native_textfield_views.cc#newcode693 ui/views/controls/textfield/native_textfield_views.cc:693: void NativeTextfieldViews::HandleBlur() { Should HandleBlur ...
7 years, 4 months ago (2013-08-09 18:01:09 UTC) #3
kochi
Thanks for the review! On 2013/08/09 18:01:09, msw wrote: > LGTM with a Q. > ...
7 years, 4 months ago (2013-08-10 01:25:54 UTC) #4
kochi
Looks like linux_chromeos:keyboard_unittests failure is not me. Added calling OnBlur() call from HandleBlur(). Manual tested ...
7 years, 4 months ago (2013-08-12 04:50:13 UTC) #5
kochi
Given the LGTMs and trybots results from new change, I'm submitting this via CQ.
7 years, 4 months ago (2013-08-12 08:17:15 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/21751002/21001
7 years, 4 months ago (2013-08-12 08:17:31 UTC) #7
commit-bot: I haz the power
7 years, 4 months ago (2013-08-12 14:48:36 UTC) #8
Message was sent while issue was closed.
Change committed as 216992

Powered by Google App Engine
This is Rietveld 408576698