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

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

Issue 2624193002: Scroll to make the selected IME visible. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | ash/common/system/chromeos/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/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 143337b8e564750724ec213032c3a4d691a25f5e..9a1c7f1fd755560290e5edaa449311ceeaaf6f84 100644
--- a/ash/common/system/chromeos/ime_menu/ime_list_view.h
+++ b/ash/common/system/chromeos/ime_menu/ime_list_view.h
@@ -59,6 +59,9 @@ class ImeListView : public TrayDetailsView {
void HandleButtonPressed(views::Button* sender,
const ui::Event& event) override;
+ // views::View:
+ void VisibilityChanged(View* starting_from, bool is_visible) override;
+
private:
// To allow the test class to access |ime_map_|.
friend class ImeMenuTrayTest;
@@ -103,6 +106,9 @@ class ImeListView : public TrayDetailsView {
// order to trigger spoken feedback with ChromeVox enabled.
bool should_focus_ime_after_selection_with_keyboard_;
+ // The item view of the current selected IME.
+ views::View* current_ime_view_;
+
DISALLOW_COPY_AND_ASSIGN(ImeListView);
};
« no previous file with comments | « no previous file | ash/common/system/chromeos/ime_menu/ime_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698