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

Unified Diff: ash/common/system/ime/tray_ime_chromeos.cc

Issue 2541743004: Set ImeListView's scrollable range when updating (Closed)
Patch Set: Set ImeListView's scrollable range when updating. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/common/system/ime/tray_ime_chromeos.cc
diff --git a/ash/common/system/ime/tray_ime_chromeos.cc b/ash/common/system/ime/tray_ime_chromeos.cc
index b60952b51ac8baa4eaad52702ed8cad4c36f38f8..4decd86296c86518cef2c424cc39f61755d379fc 100644
--- a/ash/common/system/ime/tray_ime_chromeos.cc
+++ b/ash/common/system/ime/tray_ime_chromeos.cc
@@ -114,7 +114,10 @@ class IMEDetailedView : public ImeListView {
IMEDetailedView(SystemTrayItem* owner,
LoginStatus login,
bool show_keyboard_toggle)
- : ImeListView(owner, show_keyboard_toggle, ImeListView::HIDE_SINGLE_IME),
+ : ImeListView(owner,
+ show_keyboard_toggle,
+ ImeListView::HIDE_SINGLE_IME,
+ gfx::Range::InvalidRange()),
login_(login),
settings_(nullptr),
settings_button_(nullptr) {

Powered by Google App Engine
This is Rietveld 408576698