OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/aura/window.h" | 5 #include "ui/aura/window.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... | |
32 #include "ui/base/hit_test.h" | 32 #include "ui/base/hit_test.h" |
33 #include "ui/compositor/layer.h" | 33 #include "ui/compositor/layer.h" |
34 #include "ui/compositor/layer_animation_observer.h" | 34 #include "ui/compositor/layer_animation_observer.h" |
35 #include "ui/compositor/scoped_animation_duration_scale_mode.h" | 35 #include "ui/compositor/scoped_animation_duration_scale_mode.h" |
36 #include "ui/compositor/scoped_layer_animation_settings.h" | 36 #include "ui/compositor/scoped_layer_animation_settings.h" |
37 #include "ui/compositor/test/test_layers.h" | 37 #include "ui/compositor/test/test_layers.h" |
38 #include "ui/events/event.h" | 38 #include "ui/events/event.h" |
39 #include "ui/events/event_utils.h" | 39 #include "ui/events/event_utils.h" |
40 #include "ui/events/gestures/gesture_configuration.h" | 40 #include "ui/events/gestures/gesture_configuration.h" |
41 #include "ui/events/keycodes/keyboard_codes.h" | 41 #include "ui/events/keycodes/keyboard_codes.h" |
42 #include "ui/gfx/geometry/vector2d.h" | |
sky
2014/07/24 17:29:56
sort
| |
42 #include "ui/gfx/canvas.h" | 43 #include "ui/gfx/canvas.h" |
43 #include "ui/gfx/screen.h" | 44 #include "ui/gfx/screen.h" |
44 #include "ui/gfx/skia_util.h" | 45 #include "ui/gfx/skia_util.h" |
45 #include "ui/gfx/vector2d.h" | |
46 | 46 |
47 DECLARE_WINDOW_PROPERTY_TYPE(const char*) | 47 DECLARE_WINDOW_PROPERTY_TYPE(const char*) |
48 DECLARE_WINDOW_PROPERTY_TYPE(int) | 48 DECLARE_WINDOW_PROPERTY_TYPE(int) |
49 | 49 |
50 namespace aura { | 50 namespace aura { |
51 namespace test { | 51 namespace test { |
52 | 52 |
53 class WindowTest : public AuraTestBase { | 53 class WindowTest : public AuraTestBase { |
54 public: | 54 public: |
55 WindowTest() : max_separation_(0) { | 55 WindowTest() : max_separation_(0) { |
(...skipping 3377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3433 | 3433 |
3434 EXPECT_TRUE(animator); | 3434 EXPECT_TRUE(animator); |
3435 EXPECT_FALSE(animator->is_animating()); | 3435 EXPECT_FALSE(animator->is_animating()); |
3436 EXPECT_TRUE(observer.animation_completed()); | 3436 EXPECT_TRUE(observer.animation_completed()); |
3437 EXPECT_FALSE(observer.animation_aborted()); | 3437 EXPECT_FALSE(observer.animation_aborted()); |
3438 animator->RemoveObserver(&observer); | 3438 animator->RemoveObserver(&observer); |
3439 } | 3439 } |
3440 | 3440 |
3441 } // namespace test | 3441 } // namespace test |
3442 } // namespace aura | 3442 } // namespace aura |
OLD | NEW |