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

Unified Diff: ui/base/animation/tween.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 | « ui/base/animation/tween.h ('k') | ui/base/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/animation/tween.cc
===================================================================
--- ui/base/animation/tween.cc (revision 0)
+++ ui/base/animation/tween.cc (working copy)
@@ -1,8 +1,8 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "app/tween.h"
+#include "ui/base/animation/tween.h"
#include <math.h>
@@ -13,6 +13,8 @@
#include "base/logging.h"
#include "gfx/rect.h"
+namespace ui {
+
// static
double Tween::CalculateValue(Tween::Type type, double state) {
DCHECK_GE(state, 0);
@@ -80,3 +82,5 @@
ValueBetween(value, start_bounds.height(),
target_bounds.height()));
}
+
+} // namespace ui
« no previous file with comments | « ui/base/animation/tween.h ('k') | ui/base/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698