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

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

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: adressed comments. 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..055fb684fa851c4afc872688f760a295522f373d 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"
xiyuan 2017/05/26 18:27:32 ditto
newcomer 2017/05/26 23:20:22 Done.
#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);
@@ -119,6 +122,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.
+
+ bool is_fullscreen_enabled_;
SearchBoxFocus focused_view_; // Which element has TAB'd focus.

Powered by Google App Engine
This is Rietveld 408576698