| 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
|
|
|