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

Unified Diff: ash/common/system/chromeos/ime_menu/ime_list_view.h

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/chromeos/ime_menu/ime_list_view.h
diff --git a/ash/common/system/chromeos/ime_menu/ime_list_view.h b/ash/common/system/chromeos/ime_menu/ime_list_view.h
index 745a8348f7669234562d312b1d7ccd2c26b8bc17..ceca2c4c16d7b2c678ceacf06db80e5b1b88f681 100644
--- a/ash/common/system/chromeos/ime_menu/ime_list_view.h
+++ b/ash/common/system/chromeos/ime_menu/ime_list_view.h
@@ -7,6 +7,7 @@
#include "ash/common/system/tray/ime_info.h"
#include "ash/common/system/tray/tray_details_view.h"
+#include "ui/gfx/range/range.h"
#include "ui/views/controls/button/button.h"
namespace ash {
@@ -24,7 +25,8 @@ class ImeListView : public TrayDetailsView {
ImeListView(SystemTrayItem* owner,
bool show_keyboard_toggle,
- SingleImeBehavior single_ime_behavior);
+ SingleImeBehavior single_ime_behavior,
+ const gfx::Range& scrollable_range);
~ImeListView() override;
@@ -70,6 +72,7 @@ class ImeListView : public TrayDetailsView {
views::View* keyboard_status_;
// On-screen keyboard view which is only used in material design.
MaterialKeyboardStatusRowView* material_keyboard_status_view_;
+ gfx::Range scrollable_range_;
DISALLOW_COPY_AND_ASSIGN(ImeListView);
};

Powered by Google App Engine
This is Rietveld 408576698