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

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

Issue 2934513004: Changed static variable flag to be a bool in the anon namespace. (Closed)
Patch Set: In AppListView: Moved function and variable out of the global scope. In SearchBoxView: Moved variab… 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 | « no previous file | ui/app_list/views/app_list_view.cc » ('j') | ui/app_list/views/app_list_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_view.h
diff --git a/ui/app_list/views/app_list_view.h b/ui/app_list/views/app_list_view.h
index 84b0ead9ee660a16e645eb092769b65e1481c720..a6278cf8a4ff75fa94c35bdbe07b146bcb3006c8 100644
--- a/ui/app_list/views/app_list_view.h
+++ b/ui/app_list/views/app_list_view.h
@@ -112,6 +112,10 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDialogDelegateView,
bool is_fullscreen() const { return app_list_state_ == FULLSCREEN; }
AppListState app_list_state() const { return app_list_state_; }
+ // Sets the switch that is used to check if the fullscreen app list is
+ // enabled.
+ void IsFullscreenAppListEnabled();
+
private:
friend class test::AppListViewTestApi;
@@ -178,6 +182,9 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDialogDelegateView,
gfx::Point initial_drag_point_;
// The velocity of the gesture event.
float last_fling_velocity_ = 0;
+ // The switch that is checked to determine if the fullscreen app list feature
vadimt 2017/06/12 23:29:35 // Whether the fullscreen app list feature is enab
newcomer 2017/06/12 23:48:17 Done.
+ // is enabled.
+ bool is_fullscreen_app_list_enabled_ = false;
vadimt 2017/06/12 23:29:35 const.
newcomer 2017/06/12 23:48:17 Done.
// The state of the app list, controlled via SetState().
AppListState app_list_state_;
« no previous file with comments | « no previous file | ui/app_list/views/app_list_view.cc » ('j') | ui/app_list/views/app_list_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698