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

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

Issue 2831023003: Refactor AddScrollListItem() in system menu detailed views (Closed)
Patch Set: Rebased Created 3 years, 8 months 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
« no previous file with comments | « ash/system/cast/tray_cast.cc ('k') | ash/system/ime_menu/ime_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/ime_menu/ime_list_view.h
diff --git a/ash/system/ime_menu/ime_list_view.h b/ash/system/ime_menu/ime_list_view.h
index 2acb4e0bdb7885f9801cbff1bc0931bd4330af1d..b0c9d9fee58c64b57336a117fce493d00ace5a9d 100644
--- a/ash/system/ime_menu/ime_list_view.h
+++ b/ash/system/ime_menu/ime_list_view.h
@@ -44,6 +44,9 @@ class ImeListView : public TrayDetailsView {
// Closes the view.
void CloseImeListView();
+ // Scrolls contents such that |item_view| is visible.
+ void ScrollItemToVisible(views::View* item_view);
+
void set_last_item_selected_with_keyboard(
bool last_item_selected_with_keyboard) {
last_item_selected_with_keyboard_ = last_item_selected_with_keyboard;
« no previous file with comments | « ash/system/cast/tray_cast.cc ('k') | ash/system/ime_menu/ime_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698