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

Unified Diff: ui/app_list/apps_grid_view.cc

Issue 10961020: cros: Fix mouse over-scroll animation not happening. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix jumping around when mouse is hovering on an item Created 8 years, 3 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 | « ui/app_list/apps_grid_view.h ('k') | ui/app_list/pagination_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/apps_grid_view.cc
diff --git a/ui/app_list/apps_grid_view.cc b/ui/app_list/apps_grid_view.cc
index 380ca007fb6e49e27759e7a85b30acb6b3359c75..338a6ccbcb431fc7015c9ffb9618d0f96c10afb7 100644
--- a/ui/app_list/apps_grid_view.cc
+++ b/ui/app_list/apps_grid_view.cc
@@ -92,6 +92,10 @@ void AppsGridView::EnsureItemVisible(const AppListItemView* item) {
}
}
+bool AppsGridView::HasPageTransition() const {
+ return pagination_model_->has_transition();
+}
+
gfx::Size AppsGridView::GetPreferredSize() {
gfx::Insets insets(GetInsets());
gfx::Size tile_size = gfx::Size(kPreferredTileWidth, kPreferredTileHeight);
« no previous file with comments | « ui/app_list/apps_grid_view.h ('k') | ui/app_list/pagination_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698