Chromium Code Reviews
DescriptionImeMenuListView 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 #
Messages
Total messages: 17 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||