OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "ash/drag_drop/drag_drop_controller.h" | 5 #include "ash/drag_drop/drag_drop_controller.h" |
6 #include "ash/root_window_controller.h" | 6 #include "ash/root_window_controller.h" |
7 #include "ash/screen_util.h" | 7 #include "ash/screen_util.h" |
8 #include "ash/shelf/shelf.h" | 8 #include "ash/shelf/shelf.h" |
9 #include "ash/shelf/shelf_widget.h" | 9 #include "ash/shelf/shelf_widget.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/test/ash_test_base.h" | 11 #include "ash/test/ash_test_base.h" |
12 #include "ash/test/shelf_test_api.h" | 12 #include "ash/test/shelf_test_api.h" |
13 #include "ash/test/shelf_view_test_api.h" | 13 #include "ash/test/shelf_view_test_api.h" |
14 #include "ash/test/shell_test_api.h" | 14 #include "ash/test/shell_test_api.h" |
15 #include "ash/test/test_shelf_delegate.h" | 15 #include "ash/test/test_shelf_delegate.h" |
16 #include "ash/wm/mru_window_tracker.h" | 16 #include "ash/wm/mru_window_tracker.h" |
17 #include "ash/wm/overview/window_selector.h" | 17 #include "ash/wm/overview/window_selector.h" |
18 #include "ash/wm/overview/window_selector_controller.h" | 18 #include "ash/wm/overview/window_selector_controller.h" |
19 #include "ash/wm/window_state.h" | 19 #include "ash/wm/window_state.h" |
20 #include "ash/wm/window_util.h" | 20 #include "ash/wm/window_util.h" |
21 #include "base/basictypes.h" | 21 #include "base/basictypes.h" |
22 #include "base/compiler_specific.h" | 22 #include "base/compiler_specific.h" |
23 #include "base/memory/scoped_vector.h" | 23 #include "base/memory/scoped_vector.h" |
24 #include "base/run_loop.h" | 24 #include "base/run_loop.h" |
25 #include "base/strings/utf_string_conversions.h" | 25 #include "base/strings/utf_string_conversions.h" |
26 #include "ui/aura/client/activation_delegate.h" | 26 #include "ui/aura/client/activation_delegate.h" |
27 #include "ui/aura/client/aura_constants.h" | 27 #include "ui/aura/client/aura_constants.h" |
28 #include "ui/aura/client/cursor_client.h" | 28 #include "ui/aura/client/cursor_client.h" |
29 #include "ui/aura/client/focus_client.h" | 29 #include "ui/aura/client/focus_client.h" |
30 #include "ui/aura/root_window.h" | |
31 #include "ui/aura/test/event_generator.h" | 30 #include "ui/aura/test/event_generator.h" |
32 #include "ui/aura/test/test_window_delegate.h" | 31 #include "ui/aura/test/test_window_delegate.h" |
33 #include "ui/aura/test/test_windows.h" | 32 #include "ui/aura/test/test_windows.h" |
34 #include "ui/aura/window.h" | 33 #include "ui/aura/window.h" |
| 34 #include "ui/aura/window_event_dispatcher.h" |
35 #include "ui/compositor/scoped_animation_duration_scale_mode.h" | 35 #include "ui/compositor/scoped_animation_duration_scale_mode.h" |
36 #include "ui/gfx/rect_conversions.h" | 36 #include "ui/gfx/rect_conversions.h" |
37 #include "ui/gfx/transform.h" | 37 #include "ui/gfx/transform.h" |
38 #include "ui/views/corewm/window_util.h" | 38 #include "ui/views/corewm/window_util.h" |
39 | 39 |
40 namespace ash { | 40 namespace ash { |
41 namespace internal { | 41 namespace internal { |
42 | 42 |
43 namespace { | 43 namespace { |
44 | 44 |
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1071 ui::MouseEvent event(ui::ET_MOUSE_MOVED, points[p], points[p], | 1071 ui::MouseEvent event(ui::ET_MOUSE_MOVED, points[p], points[p], |
1072 ui::EF_NONE, ui::EF_NONE); | 1072 ui::EF_NONE, ui::EF_NONE); |
1073 EXPECT_EQ(windows[w], | 1073 EXPECT_EQ(windows[w], |
1074 targeter->FindTargetForEvent(root_target, &event)); | 1074 targeter->FindTargetForEvent(root_target, &event)); |
1075 } | 1075 } |
1076 } | 1076 } |
1077 } | 1077 } |
1078 | 1078 |
1079 } // namespace internal | 1079 } // namespace internal |
1080 } // namespace ash | 1080 } // namespace ash |
OLD | NEW |