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

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

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: Created 3 years, 7 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
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 bab315080a130465ebf4354a13d7b25d6665096d..db10aaf27778fdb10317e63e48781833367804e7 100644
--- a/ui/app_list/views/search_box_view.h
+++ b/ui/app_list/views/search_box_view.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "ui/app_list/search_box_model_observer.h"
#include "ui/app_list/speech_ui_model_observer.h"
+#include "ui/app_list/views/app_list_view.h"
#include "ui/gfx/shadow_value.h"
#include "ui/views/controls/button/image_button.h"
#include "ui/views/controls/textfield/textfield_controller.h"
@@ -54,6 +55,8 @@ class APP_LIST_EXPORT SearchBoxView : public views::View,
bool HasSearch() const;
void ClearSearch();
+ void SetAppListView(AppListView* app_list_view);
+
// Sets the shadow border of the search box.
void SetShadow(const gfx::ShadowValue& shadow);
@@ -120,6 +123,8 @@ class APP_LIST_EXPORT SearchBoxView : public views::View,
views::Textfield* search_box_; // Owned by views hierarchy.
views::View* contents_view_; // Owned by views hierarchy.
+ app_list::AppListView* app_list_view_;
vadimt 2017/05/22 23:36:58 How owned?
newcomer 2017/05/25 23:10:53 Done.
+
SearchBoxFocus focused_view_; // Which element has TAB'd focus.
DISALLOW_COPY_AND_ASSIGN(SearchBoxView);

Powered by Google App Engine
This is Rietveld 408576698