| 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 "components/mus/public/interfaces/animations.mojom.h" | 7 #include "services/ui/public/interfaces/animations.mojom.h" |
| 8 #include "components/mus/ws/server_window.h" | 8 #include "services/ui/ws/server_window.h" |
| 9 #include "components/mus/ws/test_server_window_delegate.h" | 9 #include "services/ui/ws/test_server_window_delegate.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 | 11 |
| 12 using mus::mojom::AnimationProperty; | 12 using mus::mojom::AnimationProperty; |
| 13 using mus::mojom::AnimationTweenType; | 13 using mus::mojom::AnimationTweenType; |
| 14 using mus::mojom::AnimationGroup; | 14 using mus::mojom::AnimationGroup; |
| 15 using mus::mojom::AnimationSequence; | 15 using mus::mojom::AnimationSequence; |
| 16 using mus::mojom::AnimationElement; | 16 using mus::mojom::AnimationElement; |
| 17 using mus::mojom::AnimationValue; | 17 using mus::mojom::AnimationValue; |
| 18 | 18 |
| 19 namespace mus { | 19 namespace mus { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 // Element with no target_value is not valid. | 84 // Element with no target_value is not valid. |
| 85 EXPECT_FALSE(IsAnimationGroupValid(group)); | 85 EXPECT_FALSE(IsAnimationGroupValid(group)); |
| 86 | 86 |
| 87 element2.property = AnimationProperty::NONE; | 87 element2.property = AnimationProperty::NONE; |
| 88 EXPECT_TRUE(IsAnimationGroupValid(group)); | 88 EXPECT_TRUE(IsAnimationGroupValid(group)); |
| 89 } | 89 } |
| 90 | 90 |
| 91 } // namespace ws | 91 } // namespace ws |
| 92 } // namespace mus | 92 } // namespace mus |
| OLD | NEW |