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

Unified Diff: ui/app_list/views/search_box_view.h

Issue 935293002: Launcher Search box, Back and Mic buttons now focusable in ChromeVox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tileitemview-setselected
Patch Set: Rebase. Created 5 years, 10 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 | « ui/app_list/search_box_model.cc ('k') | ui/app_list/views/search_box_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/search_box_view.h
diff --git a/ui/app_list/views/search_box_view.h b/ui/app_list/views/search_box_view.h
index 82fc162fa7a80f985c5a02378e4ceafff21c3e4f..e3f1f8362a37528a849276017d87d18185c4159d 100644
--- a/ui/app_list/views/search_box_view.h
+++ b/ui/app_list/views/search_box_view.h
@@ -35,6 +35,7 @@ enum SearchBoxFocus {
class AppListMenuViews;
class AppListModel;
class AppListViewDelegate;
+class ContentsView;
class SearchBoxModel;
class SearchBoxViewDelegate;
class SearchBoxImageButton;
@@ -70,7 +71,7 @@ class APP_LIST_EXPORT SearchBoxView : public views::View,
views::ImageButton* back_button();
views::Textfield* search_box() { return search_box_; }
- void set_contents_view(views::View* contents_view) {
+ void set_contents_view(ContentsView* contents_view) {
calamity 2015/02/20 03:45:25 This will break tests.
Matt Giuca 2015/02/20 05:15:16 Fixed. (As discussed, we just have to use text.emp
contents_view_ = contents_view;
}
@@ -127,7 +128,7 @@ class APP_LIST_EXPORT SearchBoxView : public views::View,
SearchBoxImageButton* speech_button_; // Owned by views hierarchy.
views::MenuButton* menu_button_; // Owned by views hierarchy.
views::Textfield* search_box_; // Owned by views hierarchy.
- views::View* contents_view_; // Owned by views hierarchy.
+ ContentsView* contents_view_; // Owned by views hierarchy.
SearchBoxFocus focused_view_; // Which element has TAB'd focus.
« no previous file with comments | « ui/app_list/search_box_model.cc ('k') | ui/app_list/views/search_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698