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

Issue 324903002: Remoes X11 dependency in InputMethodEngine. (Closed)

Created:
6 years, 6 months ago by Shu Chen
Modified:
6 years, 6 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, penghuang+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Removes X11 dependency in ui/base/ime/... and InputMethodEngine. BUG=380349, 355261, 369891 TEST=Verified in Pixel device, and made sure existing browser_tests are not broken. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277512

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 10

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Total comments: 10

Patch Set 8 : #

Patch Set 9 : #

Total comments: 16

Patch Set 10 : #

Total comments: 2

Patch Set 11 : nits. #

Total comments: 2

Patch Set 12 : nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -195 lines) Patch
M chrome/browser/chromeos/input_method/input_method_engine.cc View 1 2 3 4 5 6 7 8 9 6 chunks +39 lines, -40 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M ui/base/ime/chromeos/character_composer.cc View 1 2 3 6 chunks +16 lines, -26 lines 0 comments Download
M ui/base/ime/chromeos/character_composer_unittest.cc View 1 2 3 4 2 chunks +16 lines, -15 lines 0 comments Download
M ui/base/ime/chromeos/ime_keymap.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -3 lines 0 comments Download
M ui/base/ime/chromeos/ime_keymap.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +167 lines, -88 lines 0 comments Download
M ui/base/ime/input_method_chromeos.cc View 1 2 chunks +2 lines, -21 lines 0 comments Download
M ui/events/cocoa/events_mac.mm View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M ui/events/event.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +12 lines, -0 lines 0 comments Download
M ui/events/event.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -0 lines 0 comments Download
M ui/events/event_utils.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M ui/events/events_stub.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/ozone/events_ozone.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M ui/events/win/events_win.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M ui/events/x/events_x.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Shu Chen
Sadrul/Hiro, can you please review this cl? Thanks
6 years, 6 months ago (2014-06-10 15:50:39 UTC) #1
sadrul
+kpschoedel@ https://codereview.chromium.org/324903002/diff/80001/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc File chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc (right): https://codereview.chromium.org/324903002/diff/80001/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc#newcode282 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc:282: "onKeyEvent::keydown:\x01:KeyA:true:false:false:false"; Is there a reason for the test ...
6 years, 6 months ago (2014-06-12 11:17:44 UTC) #2
Shu Chen
https://codereview.chromium.org/324903002/diff/80001/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc File chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc (right): https://codereview.chromium.org/324903002/diff/80001/chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc#newcode282 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc:282: "onKeyEvent::keydown:\x01:KeyA:true:false:false:false"; On 2014/06/12 11:17:14, sadrul wrote: > Is there ...
6 years, 6 months ago (2014-06-12 13:55:31 UTC) #3
kpschoedel
https://codereview.chromium.org/324903002/diff/80001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/324903002/diff/80001/ui/events/event.h#newcode540 ui/events/event.h:540: void set_platform_keycode(uint32 keycode) { platform_keycode_ = keycode; } On ...
6 years, 6 months ago (2014-06-12 16:00:24 UTC) #4
kpschoedel
+spang@
6 years, 6 months ago (2014-06-12 17:57:46 UTC) #5
Shu Chen
https://codereview.chromium.org/324903002/diff/80001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/324903002/diff/80001/ui/events/event.h#newcode540 ui/events/event.h:540: void set_platform_keycode(uint32 keycode) { platform_keycode_ = keycode; } On ...
6 years, 6 months ago (2014-06-13 02:07:15 UTC) #6
Shu Chen
+yukishiino@ for changes under ui/base/ime/... as komatsu@ is in biz trip and may not have ...
6 years, 6 months ago (2014-06-14 12:53:58 UTC) #7
Yuki
https://codereview.chromium.org/324903002/diff/120001/ui/base/ime/chromeos/ime_keymap.cc File ui/base/ime/chromeos/ime_keymap.cc (right): https://codereview.chromium.org/324903002/diff/120001/ui/base/ime/chromeos/ime_keymap.cc#newcode13 ui/base/ime/chromeos/ime_keymap.cc:13: struct KeyCodeMap { const struct https://codereview.chromium.org/324903002/diff/120001/ui/base/ime/chromeos/ime_keymap.cc#newcode15 ui/base/ime/chromeos/ime_keymap.cc:15: const char* ...
6 years, 6 months ago (2014-06-16 07:34:24 UTC) #8
Shu Chen
https://codereview.chromium.org/324903002/diff/120001/ui/base/ime/chromeos/ime_keymap.cc File ui/base/ime/chromeos/ime_keymap.cc (right): https://codereview.chromium.org/324903002/diff/120001/ui/base/ime/chromeos/ime_keymap.cc#newcode13 ui/base/ime/chromeos/ime_keymap.cc:13: struct KeyCodeMap { On 2014/06/16 07:34:24, Yuki wrote: > ...
6 years, 6 months ago (2014-06-16 08:06:48 UTC) #9
Shu Chen
Just FYI. I've noticed the breakage to existing IMEs (e.g. Chinese IMEs) which only detect ...
6 years, 6 months ago (2014-06-16 08:15:09 UTC) #10
Yuki
https://codereview.chromium.org/324903002/diff/160001/ui/base/ime/chromeos/ime_keymap.cc File ui/base/ime/chromeos/ime_keymap.cc (right): https://codereview.chromium.org/324903002/diff/160001/ui/base/ime/chromeos/ime_keymap.cc#newcode7 ui/base/ime/chromeos/ime_keymap.cc:7: #include <map> nit: empty line between standard headers and ...
6 years, 6 months ago (2014-06-16 08:30:46 UTC) #11
Shu Chen
https://codereview.chromium.org/324903002/diff/160001/ui/base/ime/chromeos/ime_keymap.cc File ui/base/ime/chromeos/ime_keymap.cc (right): https://codereview.chromium.org/324903002/diff/160001/ui/base/ime/chromeos/ime_keymap.cc#newcode7 ui/base/ime/chromeos/ime_keymap.cc:7: #include <map> On 2014/06/16 08:30:45, Yuki wrote: > nit: ...
6 years, 6 months ago (2014-06-16 08:43:14 UTC) #12
Yuki
s/Remoes/Removes/ in Issue subject and description. By the way, titles of each patch set help ...
6 years, 6 months ago (2014-06-16 08:52:20 UTC) #13
Shu Chen
https://codereview.chromium.org/324903002/diff/180001/ui/base/ime/chromeos/ime_keymap.cc File ui/base/ime/chromeos/ime_keymap.cc (right): https://codereview.chromium.org/324903002/diff/180001/ui/base/ime/chromeos/ime_keymap.cc#newcode171 ui/base/ime/chromeos/ime_keymap.cc:171: base::LazyInstance<KeyCodeMap>::Leaky On 2014/06/16 08:52:20, Yuki wrote: > nit: Breaking ...
6 years, 6 months ago (2014-06-16 08:55:10 UTC) #14
Shu Chen
Thanks for the review! I've updated the subject and description. On 2014/06/16 08:52:20, Yuki wrote: ...
6 years, 6 months ago (2014-06-16 08:56:20 UTC) #15
spang
On 2014/06/16 08:56:20, Shu Chen wrote: > Thanks for the review! I've updated the subject ...
6 years, 6 months ago (2014-06-16 15:06:08 UTC) #16
sadrul
events lgtm https://codereview.chromium.org/324903002/diff/200001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/324903002/diff/200001/ui/events/event.h#newcode591 ui/events/event.h:591: // Note: for XKB, the keysym vlaue ...
6 years, 6 months ago (2014-06-16 15:19:21 UTC) #17
Shu Chen
https://codereview.chromium.org/324903002/diff/200001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/324903002/diff/200001/ui/events/event.h#newcode591 ui/events/event.h:591: // Note: for XKB, the keysym vlaue is modifiered ...
6 years, 6 months ago (2014-06-16 15:22:25 UTC) #18
Shu Chen
The CQ bit was checked by shuchen@chromium.org
6 years, 6 months ago (2014-06-16 15:22:41 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shuchen@chromium.org/324903002/220001
6 years, 6 months ago (2014-06-16 15:23:57 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-16 19:08:58 UTC) #21
Message was sent while issue was closed.
Change committed as 277512

Powered by Google App Engine
This is Rietveld 408576698