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

Side by Side Diff: ui/app_list/presenter/app_list_presenter_impl.h

Issue 2948403002: Disabled overscroll animation when the fullscreen app list feature is enabled. (Closed)
Patch Set: Disabled overscroll animation when the fullscreen app list feature is enabled. 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 unified diff | Download patch
OLDNEW
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
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 bool is_fullscreen_app_list_enabled_;
vadimt 2017/06/23 23:44:04 const
newcomer 2017/06/26 16:13:58 Done.
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_
OLDNEW
« no previous file with comments | « no previous file | ui/app_list/presenter/app_list_presenter_impl.cc » ('j') | ui/app_list/presenter/app_list_presenter_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698