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

Issue 178343005: [IME] migrate the xkb ID to extension based xkb ID. (Closed)

Created:
6 years, 10 months ago by Shu Chen
Modified:
6 years, 9 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

[IME] migrate the xkb ID to extension based xkb ID. BUG=345604 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254948

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Modified per comments and fixed the crash at login screen. #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 10

Patch Set 9 : . #

Patch Set 10 : #

Patch Set 11 : Added --migrate-xkb flag. #

Patch Set 12 : . #

Patch Set 13 : Fix unit tests failures for when the flag is true and false. #

Total comments: 10

Patch Set 14 : #

Total comments: 10

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : Fix browser_tests failures. #

Total comments: 14

Patch Set 19 : #

Total comments: 6

Patch Set 20 : #

Patch Set 21 : #

Patch Set 22 : . #

Total comments: 12

Patch Set 23 : . #

Total comments: 6

Patch Set 24 : ! #

Patch Set 25 : - #

Patch Set 26 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+487 lines, -100 lines) Patch
M chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.h View 1 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 6 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 34 chunks +217 lines, -76 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/input_method/input_method_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +54 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/input_method/mock_input_method_manager.h View 1 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/input_method/mock_input_method_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_display_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 7 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 chunks +18 lines, -5 lines 0 comments Download
M chromeos/ime/component_extension_ime_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +7 lines, -0 lines 0 comments Download
M chromeos/ime/component_extension_ime_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +64 lines, -2 lines 0 comments Download
M chromeos/ime/extension_ime_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +26 lines, -0 lines 0 comments Download
M chromeos/ime/extension_ime_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +38 lines, -0 lines 0 comments Download
M chromeos/ime/input_method_manager.h View 1 6 7 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
Shu Chen
Hi Nona/Yuki, can you please review this cl? Thanks, Shu
6 years, 10 months ago (2014-02-25 15:01:59 UTC) #1
Shu Chen
Please notice this cl depends on cl https://codereview.chromium.org/177093002/.
6 years, 10 months ago (2014-02-25 15:02:42 UTC) #2
Yuki
https://codereview.chromium.org/178343005/diff/40002/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc File chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc (right): https://codereview.chromium.org/178343005/diff/40002/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc#newcode1223 chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc:1223: EXPECT_TRUE(StartsWithASCII("_comp_ime_", input_method_ids[i], true); This code doesn't seem being able ...
6 years, 10 months ago (2014-02-27 02:40:32 UTC) #3
Shu Chen
Thanks for your review, Yuki. Please see my replies & new patch set. https://codereview.chromium.org/178343005/diff/40002/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc File ...
6 years, 10 months ago (2014-02-27 03:12:11 UTC) #4
Seigo Nonaka
https://codereview.chromium.org/178343005/diff/120001/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc File chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc (right): https://codereview.chromium.org/178343005/diff/120001/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc#newcode1223 chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc:1223: EXPECT_TRUE(StartsWithASCII("_comp_ime_", input_method_ids[i], true)); please also add checking unique. If ...
6 years, 10 months ago (2014-02-27 04:30:39 UTC) #5
Shu Chen
Please see patch #9. some test failed, will fix them in the next patches. Thanks, ...
6 years, 10 months ago (2014-02-27 09:22:00 UTC) #6
Shu Chen
Nona/Yuki, please take a look at the latest patch set. I've added a flag to ...
6 years, 9 months ago (2014-02-27 14:23:29 UTC) #7
Seigo Nonaka
https://codereview.chromium.org/178343005/diff/210001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/178343005/diff/210001/chrome/app/generated_resources.grd#newcode14774 chrome/app/generated_resources.grd:14774: + <message name="IDS_FLAGS_MIGRATE_XKB_NAME" desc="Migrates XKB to extension"> How about ...
6 years, 9 months ago (2014-02-28 06:14:07 UTC) #8
Shu Chen
https://codereview.chromium.org/178343005/diff/210001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/178343005/diff/210001/chrome/app/generated_resources.grd#newcode14774 chrome/app/generated_resources.grd:14774: + <message name="IDS_FLAGS_MIGRATE_XKB_NAME" desc="Migrates XKB to extension"> On 2014/02/28 ...
6 years, 9 months ago (2014-02-28 07:32:49 UTC) #9
Shu Chen
+nkostylev@ Hi Nikita, this cl needs your approval for changes in: chrome/browser/chromeos/login/login_display_host_impl.cc chrome/browser/chromeos/preferences.cc Can you ...
6 years, 9 months ago (2014-02-28 07:46:34 UTC) #10
Seigo Nonaka
almost close to l-gtm. please address my comments. https://codereview.chromium.org/178343005/diff/230001/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc File chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc (right): https://codereview.chromium.org/178343005/diff/230001/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc#newcode1305 chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc:1305: TEST_F(InputMethodManagerImplTest, ...
6 years, 9 months ago (2014-02-28 07:59:59 UTC) #11
Shu Chen
https://codereview.chromium.org/178343005/diff/230001/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc File chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc (right): https://codereview.chromium.org/178343005/diff/230001/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc#newcode1305 chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc:1305: TEST_F(InputMethodManagerImplTest, MigrateXkbInputMethodTest) { On 2014/02/28 08:00:00, Seigo Nonaka wrote: ...
6 years, 9 months ago (2014-02-28 08:24:19 UTC) #12
Seigo Nonaka
lgtm lgtm with addressing my latest comment. I recommend you to get review from yukishiino. ...
6 years, 9 months ago (2014-02-28 11:21:22 UTC) #13
Shu Chen
https://codereview.chromium.org/178343005/diff/230001/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc File chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc (right): https://codereview.chromium.org/178343005/diff/230001/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc#newcode1305 chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc:1305: TEST_F(InputMethodManagerImplTest, MigrateXkbInputMethodTest) { On 2014/02/28 11:21:23, Seigo Nonaka wrote: ...
6 years, 9 months ago (2014-02-28 15:15:15 UTC) #14
Shu Chen
Yuki, pls review my latest patch set. I've fixed the brower_tests failures. Thanks, Shu
6 years, 9 months ago (2014-03-03 04:04:57 UTC) #15
Nikita (slow)
lgtm
6 years, 9 months ago (2014-03-03 04:33:28 UTC) #16
Yuki
Nona and I had a discussion about that the component extensions are not available on ...
6 years, 9 months ago (2014-03-03 05:59:06 UTC) #17
Shu Chen
https://codereview.chromium.org/178343005/diff/300001/chrome/browser/chromeos/input_method/input_method_manager_impl.cc File chrome/browser/chromeos/input_method/input_method_manager_impl.cc (right): https://codereview.chromium.org/178343005/diff/300001/chrome/browser/chromeos/input_method/input_method_manager_impl.cc#newcode331 chrome/browser/chromeos/input_method/input_method_manager_impl.cc:331: if (!component_extension_ime_manager_->IsInitialized() && ( On 2014/03/03 05:59:06, Yuki wrote: ...
6 years, 9 months ago (2014-03-03 08:24:37 UTC) #18
Yuki
https://codereview.chromium.org/178343005/diff/320001/chrome/browser/chromeos/input_method/input_method_util.cc File chrome/browser/chromeos/input_method/input_method_util.cc (right): https://codereview.chromium.org/178343005/diff/320001/chrome/browser/chromeos/input_method/input_method_util.cc#newcode290 chrome/browser/chromeos/input_method/input_method_util.cc:290: if (pos >= 0) You must compare |pos| with ...
6 years, 9 months ago (2014-03-03 09:10:07 UTC) #19
Shu Chen
https://codereview.chromium.org/178343005/diff/320001/chrome/browser/chromeos/input_method/input_method_util.cc File chrome/browser/chromeos/input_method/input_method_util.cc (right): https://codereview.chromium.org/178343005/diff/320001/chrome/browser/chromeos/input_method/input_method_util.cc#newcode290 chrome/browser/chromeos/input_method/input_method_util.cc:290: if (pos >= 0) On 2014/03/03 09:10:08, Yuki wrote: ...
6 years, 9 months ago (2014-03-03 09:27:03 UTC) #20
Yuki
Nits only. https://codereview.chromium.org/178343005/diff/380001/chrome/browser/chromeos/login/login_display_host_impl.cc File chrome/browser/chromeos/login/login_display_host_impl.cc (right): https://codereview.chromium.org/178343005/diff/380001/chrome/browser/chromeos/login/login_display_host_impl.cc#newcode162 chrome/browser/chromeos/login/login_display_host_impl.cc:162: chromeos::input_method::InputMethodManager* manager = Remove this line, otherwise ...
6 years, 9 months ago (2014-03-04 04:04:44 UTC) #21
Shu Chen
https://codereview.chromium.org/178343005/diff/380001/chrome/browser/chromeos/login/login_display_host_impl.cc File chrome/browser/chromeos/login/login_display_host_impl.cc (right): https://codereview.chromium.org/178343005/diff/380001/chrome/browser/chromeos/login/login_display_host_impl.cc#newcode162 chrome/browser/chromeos/login/login_display_host_impl.cc:162: chromeos::input_method::InputMethodManager* manager = On 2014/03/04 04:04:45, Yuki wrote: > ...
6 years, 9 months ago (2014-03-04 04:45:02 UTC) #22
Yuki
lgtm with trivial nits. https://codereview.chromium.org/178343005/diff/400001/chromeos/ime/extension_ime_util.cc File chromeos/ime/extension_ime_util.cc (right): https://codereview.chromium.org/178343005/diff/400001/chromeos/ime/extension_ime_util.cc#newcode108 chromeos/ime/extension_ime_util.cc:108: ScopedUseExtensionKeyboardFlagForTesting(bool newFlag) nit: s/newFlag/new_flag/ https://codereview.chromium.org/178343005/diff/400001/chromeos/ime/extension_ime_util.h ...
6 years, 9 months ago (2014-03-04 05:57:27 UTC) #23
Shu Chen
https://codereview.chromium.org/178343005/diff/400001/chromeos/ime/extension_ime_util.cc File chromeos/ime/extension_ime_util.cc (right): https://codereview.chromium.org/178343005/diff/400001/chromeos/ime/extension_ime_util.cc#newcode108 chromeos/ime/extension_ime_util.cc:108: ScopedUseExtensionKeyboardFlagForTesting(bool newFlag) On 2014/03/04 05:57:28, Yuki wrote: > nit: ...
6 years, 9 months ago (2014-03-04 06:43:37 UTC) #24
Shu Chen
The CQ bit was checked by shuchen@chromium.org
6 years, 9 months ago (2014-03-04 06:44:21 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shuchen@chromium.org/178343005/420001
6 years, 9 months ago (2014-03-04 06:45:11 UTC) #26
Shu Chen
The CQ bit was unchecked by shuchen@chromium.org
6 years, 9 months ago (2014-03-04 07:28:05 UTC) #27
Shu Chen
The CQ bit was checked by shuchen@chromium.org
6 years, 9 months ago (2014-03-04 09:06:59 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shuchen@chromium.org/178343005/450001
6 years, 9 months ago (2014-03-04 09:07:07 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 17:03:45 UTC) #30
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
6 years, 9 months ago (2014-03-04 17:03:46 UTC) #31
Shu Chen
The CQ bit was checked by shuchen@chromium.org
6 years, 9 months ago (2014-03-04 23:09:38 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shuchen@chromium.org/178343005/450001
6 years, 9 months ago (2014-03-04 23:10:36 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shuchen@chromium.org/178343005/450001
6 years, 9 months ago (2014-03-05 01:12:17 UTC) #34
commit-bot: I haz the power
6 years, 9 months ago (2014-03-05 06:02:02 UTC) #35
Message was sent while issue was closed.
Change committed as 254948

Powered by Google App Engine
This is Rietveld 408576698