| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_ | 5 #ifndef UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_ |
| 6 #define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_ | 6 #define UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // The current page of the AppsGridView of |view_|. This is stored outside of | 127 // The current page of the AppsGridView of |view_|. This is stored outside of |
| 128 // the view's PaginationModel, so that it persists when the view is destroyed. | 128 // the view's PaginationModel, so that it persists when the view is destroyed. |
| 129 int current_apps_page_ = -1; | 129 int current_apps_page_ = -1; |
| 130 | 130 |
| 131 // Cached bounds of |view_| for snapping back animation after over-scroll. | 131 // Cached bounds of |view_| for snapping back animation after over-scroll. |
| 132 gfx::Rect view_bounds_; | 132 gfx::Rect view_bounds_; |
| 133 | 133 |
| 134 // Whether should schedule snap back animation. | 134 // Whether should schedule snap back animation. |
| 135 bool should_snap_back_ = false; | 135 bool should_snap_back_ = false; |
| 136 | 136 |
| 137 // Whether the fullscreen app list feature is enabled; |
| 138 const bool is_fullscreen_app_list_enabled_; |
| 139 |
| 137 // The app list interface pointer; used for reporting visibility changes. | 140 // The app list interface pointer; used for reporting visibility changes. |
| 138 mojom::AppListPtr app_list_; | 141 mojom::AppListPtr app_list_; |
| 139 | 142 |
| 140 DISALLOW_COPY_AND_ASSIGN(AppListPresenterImpl); | 143 DISALLOW_COPY_AND_ASSIGN(AppListPresenterImpl); |
| 141 }; | 144 }; |
| 142 | 145 |
| 143 } // namespace app_list | 146 } // namespace app_list |
| 144 | 147 |
| 145 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_ | 148 #endif // UI_APP_LIST_PRESENTER_APP_LIST_PRESENTER_IMPL_H_ |
| OLD | NEW |