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

Unified Diff: ui/app_list/pagination_model.cc

Issue 380613002: Experimental app list: Added a current page indicator to the launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed slow transition Created 6 years, 5 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
Index: ui/app_list/pagination_model.cc
diff --git a/ui/app_list/pagination_model.cc b/ui/app_list/pagination_model.cc
index c2bf8e5da741f16f16cb9cda23edce5c38ec6454..51af74af0f82edbf52d05bd1ae5a9b71a60b73af 100644
--- a/ui/app_list/pagination_model.cc
+++ b/ui/app_list/pagination_model.cc
@@ -229,8 +229,8 @@ int PaginationModel::CalculateTargetPage(int delta) const {
void PaginationModel::StartTransitionAnimation(const Transition& transition) {
DCHECK(selected_page_ != transition.target_page);
- NotifyTransitionStarted();
SetTransition(transition);
calamity 2014/07/10 03:59:36 Is this change still needed?
Matt Giuca 2014/07/10 05:31:03 You can revert this change now that we are using T
+ NotifyTransitionStarted();
transition_animation_.reset(new gfx::SlideAnimation(this));
transition_animation_->SetTweenType(gfx::Tween::LINEAR);
« no previous file with comments | « no previous file | ui/app_list/views/app_list_background.cc » ('j') | ui/app_list/views/contents_switcher_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698