| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 ASH_ROTATOR_SCREEN_ROTATION_ANIMATION_H_ | 5 #ifndef ASH_ROTATOR_SCREEN_ROTATION_ANIMATION_H_ |
| 6 #define ASH_ROTATOR_SCREEN_ROTATION_ANIMATION_H_ | 6 #define ASH_ROTATOR_SCREEN_ROTATION_ANIMATION_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 13 #include "ui/compositor/layer_animation_element.h" | 14 #include "ui/compositor/layer_animation_element.h" |
| 14 #include "ui/gfx/animation/tween.h" | 15 #include "ui/gfx/animation/tween.h" |
| 15 #include "ui/gfx/geometry/point.h" | 16 #include "ui/gfx/geometry/point.h" |
| 16 | 17 |
| 17 namespace ui { | 18 namespace ui { |
| 18 class InterpolatedTransform; | 19 class InterpolatedTransform; |
| 19 class Layer; | 20 class Layer; |
| 20 } | 21 } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 58 |
| 58 // The target layer opacity to end the animation with. | 59 // The target layer opacity to end the animation with. |
| 59 float target_opacity_; | 60 float target_opacity_; |
| 60 | 61 |
| 61 DISALLOW_COPY_AND_ASSIGN(ScreenRotationAnimation); | 62 DISALLOW_COPY_AND_ASSIGN(ScreenRotationAnimation); |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } // namespace ash | 65 } // namespace ash |
| 65 | 66 |
| 66 #endif // ASH_ROTATOR_SCREEN_ROTATION_ANIMATION_H_ | 67 #endif // ASH_ROTATOR_SCREEN_ROTATION_ANIMATION_H_ |
| OLD | NEW |