Chromium Code Reviews| 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 8b5790bc418993e9a1a06de47d20851989d23358..c5ece80af87769a8918923593d17b98a06fa7ab2 100644 |
| --- a/ui/app_list/views/search_box_view.h |
| +++ b/ui/app_list/views/search_box_view.h |
| @@ -31,6 +31,7 @@ enum SearchBoxFocus { |
| }; |
| class AppListModel; |
| +class AppListView; |
| class AppListViewDelegate; |
| class SearchBoxModel; |
| class SearchBoxViewDelegate; |
| @@ -47,7 +48,8 @@ class APP_LIST_EXPORT SearchBoxView : public views::View, |
| public SpeechUIModelObserver { |
| public: |
| SearchBoxView(SearchBoxViewDelegate* delegate, |
| - AppListViewDelegate* view_delegate); |
| + AppListViewDelegate* view_delegate, |
| + AppListView* app_list_view = nullptr); |
| ~SearchBoxView() override; |
| void ModelChanged(); |
| @@ -118,6 +120,9 @@ class APP_LIST_EXPORT SearchBoxView : public views::View, |
| SearchBoxImageButton* speech_button_; // Owned by views hierarchy. |
| views::Textfield* search_box_; // Owned by views hierarchy. |
| views::View* contents_view_; // Owned by views hierarchy. |
| + app_list::AppListView* app_list_view_; // Owned by views hierarchy. |
|
msw
2017/06/06 17:56:33
nit: one space after //
newcomer
2017/06/06 23:26:29
Done.
|
| + |
| + const bool is_fullscreen_enabled_; |
|
msw
2017/06/06 17:56:33
nit: comment
newcomer
2017/06/06 23:26:29
Done.
|
| SearchBoxFocus focused_view_; // Which element has TAB'd focus. |