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

Unified Diff: chrome/browser/ui/search/toolbar_search_animator.cc

Issue 11312029: Revert 165230 - Merge 164399 - Make MultiAnimation take time param and slow down tab highlight (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 2 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 | « ash/launcher/tabbed_launcher_button.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/toolbar_search_animator.cc
===================================================================
--- chrome/browser/ui/search/toolbar_search_animator.cc (revision 165270)
+++ chrome/browser/ui/search/toolbar_search_animator.cc (working copy)
@@ -136,9 +136,7 @@
parts.push_back(ui::MultiAnimation::Part(
background_change_duration_ms_ * InstantUI::GetSlowAnimationScaleFactor(),
ui::Tween::LINEAR));
- background_animation_.reset(new ui::MultiAnimation(
- parts,
- ui::MultiAnimation::GetDefaultTimerInterval()));
+ background_animation_.reset(new ui::MultiAnimation(parts));
background_animation_->set_continuous(false);
background_animation_->set_delegate(this);
}
« no previous file with comments | « ash/launcher/tabbed_launcher_button.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698