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

Unified Diff: ui/gfx/animation/linear_animation.cc

Issue 23531053: ui/base/animation -> ui/gfx/animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk Created 7 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/gfx/animation/linear_animation.h ('k') | ui/gfx/animation/multi_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/animation/linear_animation.cc
diff --git a/ui/base/animation/linear_animation.cc b/ui/gfx/animation/linear_animation.cc
similarity index 93%
rename from ui/base/animation/linear_animation.cc
rename to ui/gfx/animation/linear_animation.cc
index 33bd1d1a4818effafad12a00056cdb28048aaa64..b3f3df0e0c94d67bb6448dd72f2df766abd48390 100644
--- a/ui/base/animation/linear_animation.cc
+++ b/ui/gfx/animation/linear_animation.cc
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/base/animation/linear_animation.h"
+#include "ui/gfx/animation/linear_animation.h"
#include <math.h>
-#include "ui/base/animation/animation_container.h"
-#include "ui/base/animation/animation_delegate.h"
+#include "ui/gfx/animation/animation_container.h"
+#include "ui/gfx/animation/animation_delegate.h"
using base::Time;
using base::TimeDelta;
-namespace ui {
+namespace gfx {
static TimeDelta CalculateInterval(int frame_rate) {
int timer_interval = 1000000 / frame_rate;
@@ -105,4 +105,4 @@ bool LinearAnimation::ShouldSendCanceledFromStop() {
return state_ != 1;
}
-} // namespace ui
+} // namespace gfx
« no previous file with comments | « ui/gfx/animation/linear_animation.h ('k') | ui/gfx/animation/multi_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698