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

Issue 142043006: Refactors ui::internal::InputMethodDelegate. (Closed)

Created:
6 years, 11 months ago by Yuki
Modified:
6 years, 10 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, ben+corewm_chromium.org, James Su, jochen+watch_chromium.org
Visibility:
Public.

Description

Refactors ui::internal::InputMethodDelegate. Simplify and combine Dispatch{,Fabricated}KeyEventPostIME methods into one method. TEST=Run unit_tests, ui_unittests, views_unittests. TBR=pfeldman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247947

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Synced. #

Patch Set 5 : Addressed Hiro's review comment. #

Total comments: 2

Patch Set 6 : Addressed Sadrul's review comment. #

Patch Set 7 : Synced. #

Patch Set 8 : Found other clients and fixed them. #

Patch Set 9 : Fixed an issue of unsigned/signed comparison. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -134 lines) Patch
M content/shell/browser/shell_platform_data_aura.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -15 lines 0 comments Download
M mojo/examples/launcher/launcher.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -13 lines 0 comments Download
M ui/base/ime/dummy_input_method_delegate.h View 1 chunk +4 lines, -10 lines 0 comments Download
M ui/base/ime/dummy_input_method_delegate.cc View 1 chunk +1 line, -8 lines 0 comments Download
M ui/base/ime/input_method_base.cc View 1 chunk +1 line, -5 lines 0 comments Download
M ui/base/ime/input_method_chromeos_unittest.cc View 7 chunks +22 lines, -41 lines 0 comments Download
M ui/base/ime/input_method_delegate.h View 2 chunks +4 lines, -10 lines 0 comments Download
M ui/base/ime/remote_input_method_win.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M ui/base/ime/remote_input_method_win_unittest.cc View 1 2 1 chunk +3 lines, -9 lines 0 comments Download
M ui/events/event.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M ui/events/event.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M ui/views/corewm/input_method_event_filter.h View 2 chunks +3 lines, -7 lines 0 comments Download
M ui/views/corewm/input_method_event_filter.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -13 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Yuki
Could you review this CL?
6 years, 11 months ago (2014-01-27 13:02:47 UTC) #1
Hiro Komatsu
lgtm https://codereview.chromium.org/142043006/diff/100001/ui/views/corewm/input_method_event_filter.cc File ui/views/corewm/input_method_event_filter.cc (left): https://codereview.chromium.org/142043006/diff/100001/ui/views/corewm/input_method_event_filter.cc#oldcode63 ui/views/corewm/input_method_event_filter.cc:63: DCHECK(event.message != WM_CHAR); I'm not sure it is ...
6 years, 11 months ago (2014-01-28 06:26:36 UTC) #2
Yuki
Hi Sadrul, could you review this CL as an owner of ui/views/corewm? https://codereview.chromium.org/142043006/diff/100001/ui/views/corewm/input_method_event_filter.cc File ui/views/corewm/input_method_event_filter.cc ...
6 years, 10 months ago (2014-01-28 07:18:01 UTC) #3
sadrul
ui/views/ lgtm with the nit: https://codereview.chromium.org/142043006/diff/130001/ui/views/corewm/input_method_event_filter.cc File ui/views/corewm/input_method_event_filter.cc (right): https://codereview.chromium.org/142043006/diff/130001/ui/views/corewm/input_method_event_filter.cc#newcode69 ui/views/corewm/input_method_event_filter.cc:69: } else { Don't ...
6 years, 10 months ago (2014-01-28 07:29:08 UTC) #4
Yuki
Thanks for the review. https://codereview.chromium.org/142043006/diff/130001/ui/views/corewm/input_method_event_filter.cc File ui/views/corewm/input_method_event_filter.cc (right): https://codereview.chromium.org/142043006/diff/130001/ui/views/corewm/input_method_event_filter.cc#newcode69 ui/views/corewm/input_method_event_filter.cc:69: } else { On 2014/01/28 ...
6 years, 10 months ago (2014-01-28 07:39:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/142043006/150001
6 years, 10 months ago (2014-01-28 18:22:04 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) cacheinvalidation_unittests, cc_unittests, check_deps, check_deps2git, chromedriver_unittests, components_unittests, ...
6 years, 10 months ago (2014-01-28 19:43:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/142043006/150001
6 years, 10 months ago (2014-01-29 02:53:48 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=71031
6 years, 10 months ago (2014-01-29 05:00:09 UTC) #9
Yuki
It turned out that there are more clients of ui::internal::InputMethodDelegate. Let me add reviewers. ben@ ...
6 years, 10 months ago (2014-01-29 07:30:19 UTC) #10
Ben Goodger (Google)
mojo launcher lgtm
6 years, 10 months ago (2014-01-29 16:03:37 UTC) #11
sadrul
This CL LGTM I have filed a bug for looking into merging TranslatedKeyEvent into KeyEvent ...
6 years, 10 months ago (2014-01-30 06:49:08 UTC) #12
Yuki
On 2014/01/30 06:49:08, sadrul wrote: > This CL LGTM > > I have filed a ...
6 years, 10 months ago (2014-01-30 06:56:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/142043006/220001
6 years, 10 months ago (2014-01-30 07:00:05 UTC) #14
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=144614
6 years, 10 months ago (2014-01-30 08:41:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yukishiino@chromium.org/142043006/220001
6 years, 10 months ago (2014-01-30 09:47:49 UTC) #16
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 13:38:57 UTC) #17
Message was sent while issue was closed.
Change committed as 247947

Powered by Google App Engine
This is Rietveld 408576698