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

Issue 2541743004: Set ImeListView's scrollable range when updating (Closed)

Created:
4 years ago by Azure Wei
Modified:
4 years ago
Reviewers:
tdanderson
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

Set ImeListView's scrollable range when updating For material design, we need to set turns the scroll view (listing all current IMEs) into a bounded scroll view, with a fixed height. When switching IME, this needs to set again and then call Layout() & SchedulePaint(). Since the range should not change during switching IMEs, we pass the range in the constructor of ImeListView instead of ImeListView::Update() every time. BUG=667650 TEST=Verified on local build. Committed: https://crrev.com/29b403dc3d47bb52477c4bf5324b46557d38cd38 Cr-Commit-Position: refs/heads/master@{#437168}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Set ImeListView's scrollable range when updating. #

Total comments: 4

Patch Set 3 #

Patch Set 4 : Add ImeMenuListView class. #

Total comments: 4

Patch Set 5 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -19 lines) Patch
M ash/common/system/chromeos/ime_menu/ime_menu_tray.cc View 1 2 3 4 4 chunks +43 lines, -19 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
Azure Wei
Please review this CL. Thanks! This CL may not be a good fix, but I've ...
4 years ago (2016-11-30 10:30:13 UTC) #3
tdanderson
https://codereview.chromium.org/2541743004/diff/1/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/2541743004/diff/1/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc#newcode477 ash/common/system/chromeos/ime_menu/ime_menu_tray.cc:477: ShowImeMenuBubble(); I'm not sure that hiding and re-showing the ...
4 years ago (2016-11-30 23:04:15 UTC) #8
Azure Wei
https://codereview.chromium.org/2541743004/diff/1/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/2541743004/diff/1/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc#newcode477 ash/common/system/chromeos/ime_menu/ime_menu_tray.cc:477: ShowImeMenuBubble(); On 2016/11/30 23:04:15, tdanderson wrote: > I'm not ...
4 years ago (2016-12-01 00:33:30 UTC) #9
Azure Wei
On 2016/12/01 00:33:30, Azure Wei wrote: > https://codereview.chromium.org/2541743004/diff/1/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/2541743004/diff/1/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc#newcode477 ...
4 years ago (2016-12-06 02:57:06 UTC) #11
tdanderson
https://codereview.chromium.org/2541743004/diff/20001/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2541743004/diff/20001/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode305 ash/common/system/chromeos/ime_menu/ime_list_view.cc:305: Layout(); Would it be possible to move the code ...
4 years ago (2016-12-06 23:38:19 UTC) #12
Azure Wei
https://codereview.chromium.org/2541743004/diff/20001/ash/common/system/chromeos/ime_menu/ime_list_view.cc File ash/common/system/chromeos/ime_menu/ime_list_view.cc (right): https://codereview.chromium.org/2541743004/diff/20001/ash/common/system/chromeos/ime_menu/ime_list_view.cc#newcode305 ash/common/system/chromeos/ime_menu/ime_list_view.cc:305: Layout(); On 2016/12/06 23:38:19, tdanderson wrote: > Would it ...
4 years ago (2016-12-07 00:58:33 UTC) #13
tdanderson
I like the approach in Patch Set 4 much better, thanks! LGTM with a couple ...
4 years ago (2016-12-07 22:53:04 UTC) #14
Azure Wei
https://codereview.chromium.org/2541743004/diff/60001/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/2541743004/diff/60001/ash/common/system/chromeos/ime_menu/ime_menu_tray.cc#newcode306 ash/common/system/chromeos/ime_menu/ime_menu_tray.cc:306: explicit ImeMenuListView(SystemTrayItem* owner, On 2016/12/07 22:53:04, tdanderson wrote: > ...
4 years ago (2016-12-08 03:04:12 UTC) #15
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/2541743004/80001
4 years ago (2016-12-08 03:04:47 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-08 03:40:40 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-08 03:42:52 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/29b403dc3d47bb52477c4bf5324b46557d38cd38
Cr-Commit-Position: refs/heads/master@{#437168}

Powered by Google App Engine
This is Rietveld 408576698