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

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

Issue 2533793004: Reset settings button when update the list view. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | ash/common/system/ime/tray_ime_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d2ab133912b1bf1c3c83d61964ec383047cc320c..745a8348f7669234562d312b1d7ccd2c26b8bc17 100644
--- a/ash/common/system/chromeos/ime_menu/ime_list_view.h
+++ b/ash/common/system/chromeos/ime_menu/ime_list_view.h
@@ -34,6 +34,9 @@ class ImeListView : public TrayDetailsView {
bool show_keyboard_toggle,
SingleImeBehavior single_ime_behavior);
+ // Removes (and destroys) all child views.
+ virtual void ResetImeListView();
+
// TrayDetailsView:
void HandleViewClicked(views::View* view) override;
void HandleButtonPressed(views::Button* sender,
@@ -43,9 +46,6 @@ class ImeListView : public TrayDetailsView {
// To allow the test class to access |ime_map_|.
friend class ImeMenuTrayTest;
- // Removes (and destroys) all child views.
- void ResetImeListView();
-
// Appends the IMEs to the scrollable area of the detailed view.
void AppendIMEList(const IMEInfoList& list);
« no previous file with comments | « no previous file | ash/common/system/ime/tray_ime_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698