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 "ui/gfx/animation/animation_container.h" | 7 #include "ui/gfx/animation/animation_container.h" |
8 #include "ui/gfx/animation/animation_delegate.h" | 8 #include "ui/gfx/animation/animation_delegate.h" |
9 #include "ui/gfx/animation/tween.h" | 9 #include "ui/gfx/animation/tween.h" |
10 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/rect.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 } | 107 } |
108 return !::GetSystemMetrics(SM_REMOTESESSION); | 108 return !::GetSystemMetrics(SM_REMOTESESSION); |
109 #endif | 109 #endif |
110 return true; | 110 return true; |
111 } | 111 } |
112 | 112 |
113 bool Animation::ShouldSendCanceledFromStop() { | 113 bool Animation::ShouldSendCanceledFromStop() { |
114 return false; | 114 return false; |
115 } | 115 } |
116 | 116 |
117 void Animation::SetStartTime(base::TimeTicks start_time) { | 117 void Animation::SetStartTime(gfx::FrameTime start_time) { |
118 start_time_ = start_time; | 118 start_time_ = start_time; |
119 } | 119 } |
120 | 120 |
121 base::TimeDelta Animation::GetTimerInterval() const { | 121 base::TimeDelta Animation::GetTimerInterval() const { |
122 return timer_interval_; | 122 return timer_interval_; |
123 } | 123 } |
124 | 124 |
125 } // namespace gfx | 125 } // namespace gfx |
OLD | NEW |