Chromium Code Reviews| 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_; |