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

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

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Removed header include in shell.h that was causing gn check failure. Created 3 years, 6 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/views/contents_view.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 8b5790bc418993e9a1a06de47d20851989d23358..db647e9165e8ac15819065cad42225d5fd16e1e9 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,7 @@ 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.
SearchBoxFocus focused_view_; // Which element has TAB'd focus.
« no previous file with comments | « ui/app_list/views/contents_view.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