OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SERVICES_VIEW_MANAGER_SCHEDULED_ANIMATION_GROUP_H_ | 5 #ifndef SERVICES_VIEW_MANAGER_SCHEDULED_ANIMATION_GROUP_H_ |
6 #define SERVICES_VIEW_MANAGER_SCHEDULED_ANIMATION_GROUP_H_ | 6 #define SERVICES_VIEW_MANAGER_SCHEDULED_ANIMATION_GROUP_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "mojo/services/view_manager/public/interfaces/animations.mojom.h" | 12 #include "mojo/services/view_manager/interfaces/animations.mojom.h" |
13 #include "ui/gfx/animation/tween.h" | 13 #include "ui/gfx/animation/tween.h" |
14 #include "ui/gfx/transform.h" | 14 #include "ui/gfx/transform.h" |
15 | 15 |
16 namespace view_manager { | 16 namespace view_manager { |
17 | 17 |
18 class ServerView; | 18 class ServerView; |
19 | 19 |
20 struct ScheduledAnimationValue { | 20 struct ScheduledAnimationValue { |
21 ScheduledAnimationValue(); | 21 ScheduledAnimationValue(); |
22 ~ScheduledAnimationValue(); | 22 ~ScheduledAnimationValue(); |
(...skipping 78 matching lines...) Loading... |
101 const uint32_t id_; | 101 const uint32_t id_; |
102 base::TimeTicks time_scheduled_; | 102 base::TimeTicks time_scheduled_; |
103 std::vector<ScheduledAnimationSequence> sequences_; | 103 std::vector<ScheduledAnimationSequence> sequences_; |
104 | 104 |
105 DISALLOW_COPY_AND_ASSIGN(ScheduledAnimationGroup); | 105 DISALLOW_COPY_AND_ASSIGN(ScheduledAnimationGroup); |
106 }; | 106 }; |
107 | 107 |
108 } // namespace view_manager | 108 } // namespace view_manager |
109 | 109 |
110 #endif // SERVICES_VIEW_MANAGER_SCHEDULED_ANIMATION_GROUP_H_ | 110 #endif // SERVICES_VIEW_MANAGER_SCHEDULED_ANIMATION_GROUP_H_ |
OLD | NEW |