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

Unified Diff: ui/app_list/views/contents_view.cc

Issue 559853003: ContentsView pagination model honours kPageTransitionDurationInMs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/contents_view.cc
diff --git a/ui/app_list/views/contents_view.cc b/ui/app_list/views/contents_view.cc
index 3b4d620ffa723bc8276b18be45bbd5db75a73585..e5857211ab62d5c29ababa7d5477090d88516ee1 100644
--- a/ui/app_list/views/contents_view.cc
+++ b/ui/app_list/views/contents_view.cc
@@ -32,6 +32,8 @@ ContentsView::ContentsView(AppListMainView* app_list_main_view)
contents_switcher_view_(NULL),
view_model_(new views::ViewModel),
page_before_search_(0) {
+ pagination_model_.SetTransitionDurations(kPageTransitionDurationInMs,
+ kOverscrollPageTransitionDurationMs);
pagination_model_.AddObserver(this);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698