OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/gfx/animation/animation.h" | 5 #include "ui/gfx/animation/animation.h" |
6 | 6 |
| 7 #include "build/build_config.h" |
7 #include "ui/gfx/animation/animation_container.h" | 8 #include "ui/gfx/animation/animation_container.h" |
8 #include "ui/gfx/animation/animation_delegate.h" | 9 #include "ui/gfx/animation/animation_delegate.h" |
9 #include "ui/gfx/animation/tween.h" | 10 #include "ui/gfx/animation/tween.h" |
10 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
11 | 12 |
12 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
13 #include "base/win/windows_version.h" | 14 #include "base/win/windows_version.h" |
14 #endif | 15 #endif |
15 | 16 |
16 namespace gfx { | 17 namespace gfx { |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 118 |
118 void Animation::SetStartTime(base::TimeTicks start_time) { | 119 void Animation::SetStartTime(base::TimeTicks start_time) { |
119 start_time_ = start_time; | 120 start_time_ = start_time; |
120 } | 121 } |
121 | 122 |
122 base::TimeDelta Animation::GetTimerInterval() const { | 123 base::TimeDelta Animation::GetTimerInterval() const { |
123 return timer_interval_; | 124 return timer_interval_; |
124 } | 125 } |
125 | 126 |
126 } // namespace gfx | 127 } // namespace gfx |
OLD | NEW |