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 #include "components/mus/ws/scheduled_animation_group.h" | 5 #include "services/ui/ws/scheduled_animation_group.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "components/mus/ws/server_window.h" | 9 #include "services/ui/ws/server_window.h" |
10 | 10 |
11 using mus::mojom::AnimationProperty; | 11 using mus::mojom::AnimationProperty; |
12 | 12 |
13 namespace mus { | 13 namespace mus { |
14 namespace ws { | 14 namespace ws { |
15 namespace { | 15 namespace { |
16 | 16 |
17 using Sequences = std::vector<ScheduledAnimationSequence>; | 17 using Sequences = std::vector<ScheduledAnimationSequence>; |
18 | 18 |
19 // Gets the value of |property| from |window| into |value|. | 19 // Gets the value of |property| from |window| into |value|. |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 return sequences_.empty(); | 347 return sequences_.empty(); |
348 } | 348 } |
349 | 349 |
350 ScheduledAnimationGroup::ScheduledAnimationGroup(ServerWindow* window, | 350 ScheduledAnimationGroup::ScheduledAnimationGroup(ServerWindow* window, |
351 uint32_t id, | 351 uint32_t id, |
352 base::TimeTicks time_scheduled) | 352 base::TimeTicks time_scheduled) |
353 : window_(window), id_(id), time_scheduled_(time_scheduled) {} | 353 : window_(window), id_(id), time_scheduled_(time_scheduled) {} |
354 | 354 |
355 } // namespace ws | 355 } // namespace ws |
356 } // namespace mus | 356 } // namespace mus |
OLD | NEW |