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

Unified Diff: chrome/browser/chromeos/panels/panel_scroller.cc

Issue 6154001: Move animation code to new ui/base/animation directory.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « chrome/browser/chromeos/panels/panel_scroller.h ('k') | chrome/browser/chromeos/setting_level_bubble.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/panels/panel_scroller.cc
===================================================================
--- chrome/browser/chromeos/panels/panel_scroller.cc (revision 70685)
+++ chrome/browser/chromeos/panels/panel_scroller.cc (working copy)
@@ -27,7 +27,7 @@
ALLOW_THIS_IN_INITIALIZER_LIST(animation_(this)),
animated_scroll_begin_(0),
animated_scroll_end_(0) {
- animation_.SetTweenType(Tween::EASE_IN_OUT);
+ animation_.SetTweenType(ui::Tween::EASE_IN_OUT);
animation_.SetSlideDuration(300);
Panel* panel = new Panel;
@@ -238,7 +238,7 @@
animation_.Show();
}
-void PanelScroller::AnimationProgressed(const Animation* animation) {
+void PanelScroller::AnimationProgressed(const ui::Animation* animation) {
scroll_pos_ = static_cast<int>(
static_cast<double>(animated_scroll_end_ - animated_scroll_begin_) *
animation_.GetCurrentValue()) + animated_scroll_begin_;
« no previous file with comments | « chrome/browser/chromeos/panels/panel_scroller.h ('k') | chrome/browser/chromeos/setting_level_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698