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

Issue 2271483003: Updates the IME list when the IME has refreshed. (Closed)

Created:
4 years, 4 months ago by Azure Wei
Modified:
4 years, 3 months ago
Reviewers:
James Cook
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, kalyank, Shu Chen
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Updates the IME list when the IME has refreshed. When the IME refreshes, we need to update the view of the list in IME menu. Saves the created ImeListView and updates it when get IME refreshing event. Add ImeMenuTrayTest.RefreshImeWithListViewCreated test. BUG=640432 TEST=Verified on local build. Committed: https://crrev.com/c6f28a1effd401fd7e2e03707e0dd84f5346185b Cr-Commit-Position: refs/heads/master@{#414329}

Patch Set 1 #

Patch Set 2 #

Total comments: 20

Patch Set 3 : Remove ImeBubbleWrapper and add test. #

Patch Set 4 #

Total comments: 15

Patch Set 5 : Addressed comments. #

Patch Set 6 : Addressed comments. #

Patch Set 7 : fix patch failure. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -13 lines) Patch
M ash/common/system/chromeos/ime_menu/ime_list_view.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_menu_tray.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_menu_tray.cc View 1 2 3 4 5 6 6 chunks +21 lines, -12 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc View 1 2 3 4 4 chunks +87 lines, -1 line 0 comments Download
M ash/test/test_system_tray_delegate.h View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M ash/test/test_system_tray_delegate.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (22 generated)
Azure Wei
Please review this cl. Thanks!
4 years, 4 months ago (2016-08-23 13:11:07 UTC) #11
James Cook
https://codereview.chromium.org/2271483003/diff/20001/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc File ash/common/system/chromeos/ime_menu/ime_menu_tray.cc (right): https://codereview.chromium.org/2271483003/diff/20001/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc#newcode143 ash/common/system/chromeos/ime_menu/ime_menu_tray.cc:143: class ImeBubbleWrapper { Why do you need this class? ...
4 years, 4 months ago (2016-08-23 16:38:33 UTC) #12
Azure Wei
https://codereview.chromium.org/2271483003/diff/20001/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc File ash/common/system/chromeos/ime_menu/ime_menu_tray.cc (right): https://codereview.chromium.org/2271483003/diff/20001/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc#newcode143 ash/common/system/chromeos/ime_menu/ime_menu_tray.cc:143: class ImeBubbleWrapper { On 2016/08/23 16:38:33, James Cook wrote: ...
4 years, 4 months ago (2016-08-24 05:22:43 UTC) #15
James Cook
LGTM with nits. https://codereview.chromium.org/2271483003/diff/60001/ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc File ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc (right): https://codereview.chromium.org/2271483003/diff/60001/ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc#newcode52 ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc:52: bool IsTrayImeListValid(const std::vector<IMEInfo>& list, nit: How ...
4 years, 4 months ago (2016-08-24 16:03:53 UTC) #17
Azure Wei
https://codereview.chromium.org/2271483003/diff/60001/ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc File ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc (right): https://codereview.chromium.org/2271483003/diff/60001/ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc#newcode52 ash/common/system/chromeos/ime_menu/ime_menu_tray_unittest.cc:52: bool IsTrayImeListValid(const std::vector<IMEInfo>& list, On 2016/08/24 16:03:53, James Cook ...
4 years, 4 months ago (2016-08-25 02:10:44 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2271483003/100001
4 years, 4 months ago (2016-08-25 02:11:29 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/257416) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-25 02:16:05 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2271483003/120001
4 years, 4 months ago (2016-08-25 04:10:23 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/189339)
4 years, 4 months ago (2016-08-25 04:30:05 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2271483003/120001
4 years, 4 months ago (2016-08-25 04:45:15 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 4 months ago (2016-08-25 05:40:42 UTC) #32
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/c6f28a1effd401fd7e2e03707e0dd84f5346185b Cr-Commit-Position: refs/heads/master@{#414329}
4 years, 4 months ago (2016-08-25 05:42:24 UTC) #34
haraken
ImeMenuTrayTest.RefreshImeWithListViewCreated started failing after this CL. Would you take a look? https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/15622
4 years, 4 months ago (2016-08-25 08:55:50 UTC) #35
johnme
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2281473002/ by johnme@chromium.org. ...
4 years, 3 months ago (2016-08-25 10:59:36 UTC) #36
James Cook
On 2016/08/25 10:59:36, johnme wrote: > A revert of this CL (patchset #7 id:120001) has ...
4 years, 3 months ago (2016-08-25 17:57:21 UTC) #37
Azure Wei
On 2016/08/25 17:57:21, James Cook wrote: > On 2016/08/25 10:59:36, johnme wrote: > > A ...
4 years, 3 months ago (2016-08-25 18:17:10 UTC) #38
James Cook
On 2016/08/25 18:17:10, Azure Wei wrote: > On 2016/08/25 17:57:21, James Cook wrote: > > ...
4 years, 3 months ago (2016-08-25 18:25:17 UTC) #39
Azure Wei
On 2016/08/25 18:25:17, James Cook wrote: > On 2016/08/25 18:17:10, Azure Wei wrote: > > ...
4 years, 3 months ago (2016-08-25 18:33:20 UTC) #40
James Cook
On 2016/08/25 18:33:20, Azure Wei wrote: > On 2016/08/25 18:25:17, James Cook wrote: > > ...
4 years, 3 months ago (2016-08-25 18:36:13 UTC) #41
jianli
4 years, 3 months ago (2016-08-25 23:22:48 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/2285543002/ by jianli@chromium.org.

The reason for reverting is: Caused the following ash_unittest failure:
   ImeMenuTrayTest.RefreshImeWithListViewCreated

https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%....

Powered by Google App Engine
This is Rietveld 408576698