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

Issue 2673333002: Fix regression where no IMEs appear in the opt-in IME menu (Closed)

Created:
3 years, 10 months ago by Azure Wei
Modified:
3 years, 10 months ago
Reviewers:
tdanderson, Shu Chen
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, shuchen+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ImeMenuListView is the subclass of ImeListView. ImeListView calls Layout() in constructor, which is override by ImeMenuListView. There's no guarantee that the ImeMenuListView::Layout() has been called. Add ImeListView::Init() method for initializing the layout. Make the constructor simple by moving out all the updating layout logic. And call ImeListView::Init() after the instance created to make sure the overridden method has been called. Also, move down the title label by 2px. BUG=688940 TEST=Verified on local build. Review-Url: https://codereview.chromium.org/2673333002 Cr-Commit-Position: refs/heads/master@{#448513} Committed: https://chromium.googlesource.com/chromium/src/+/d0cea0b2ad6f139ecd443d5b2ccd3fa7d1bfc3eb

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Total comments: 6

Patch Set 4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -32 lines) Patch
M ash/common/system/chromeos/ime_menu/ime_list_view.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_list_view.cc View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_menu_tray.cc View 1 2 3 3 chunks +6 lines, -8 lines 0 comments Download
M ash/common/system/ime/tray_ime_chromeos.cc View 1 2 2 chunks +5 lines, -15 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
Azure Wei
Please review this CL. Thanks!
3 years, 10 months ago (2017-02-06 07:57:00 UTC) #3
tdanderson
LGTM provided you have double-checked this also works with the IME detailed view. Also please ...
3 years, 10 months ago (2017-02-06 22:41:35 UTC) #10
Azure Wei
https://codereview.chromium.org/2673333002/diff/40001/ash/common/system/chromeos/ime_menu/ime_list_view.h File ash/common/system/chromeos/ime_menu/ime_list_view.h (right): https://codereview.chromium.org/2673333002/diff/40001/ash/common/system/chromeos/ime_menu/ime_list_view.h#newcode3 ash/common/system/chromeos/ime_menu/ime_list_view.h:3: // found in the LICENSE file. On 2017/02/06 22:41:35, ...
3 years, 10 months ago (2017-02-07 01:06:07 UTC) #11
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/2673333002/60001
3 years, 10 months ago (2017-02-07 01:07:17 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 02:16:48 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d0cea0b2ad6f139ecd443d5b2ccd...

Powered by Google App Engine
This is Rietveld 408576698