| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef APP_TWEEN_H_ | 5 #ifndef APP_TWEEN_H_ |
| 6 #define APP_TWEEN_H_ | 6 #define APP_TWEEN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/basictypes.h" |
| 10 | 10 |
| 11 namespace gfx { | 11 namespace gfx { |
| 12 class Rect; | 12 class Rect; |
| 13 } | 13 } |
| 14 | 14 |
| 15 class Tween { | 15 class Tween { |
| 16 public: | 16 public: |
| 17 enum Type { | 17 enum Type { |
| 18 LINEAR, // Linear. | 18 LINEAR, // Linear. |
| 19 EASE_OUT, // Fast in, slow out (default). | 19 EASE_OUT, // Fast in, slow out (default). |
| (...skipping 15 matching lines...) Expand all Loading... |
| 35 const gfx::Rect& target_bounds); | 35 const gfx::Rect& target_bounds); |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 Tween(); | 38 Tween(); |
| 39 ~Tween(); | 39 ~Tween(); |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(Tween); | 41 DISALLOW_COPY_AND_ASSIGN(Tween); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 #endif // APP_TWEEN_H_ | 44 #endif // APP_TWEEN_H_ |
| OLD | NEW |