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" |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "ui/aura/client/cursor_client.h" | 29 #include "ui/aura/client/cursor_client.h" |
30 #include "ui/aura/client/focus_client.h" | 30 #include "ui/aura/client/focus_client.h" |
31 #include "ui/aura/test/event_generator.h" | 31 #include "ui/aura/test/event_generator.h" |
32 #include "ui/aura/test/test_window_delegate.h" | 32 #include "ui/aura/test/test_window_delegate.h" |
33 #include "ui/aura/test/test_windows.h" | 33 #include "ui/aura/test/test_windows.h" |
34 #include "ui/aura/window.h" | 34 #include "ui/aura/window.h" |
35 #include "ui/aura/window_event_dispatcher.h" | 35 #include "ui/aura/window_event_dispatcher.h" |
36 #include "ui/compositor/scoped_animation_duration_scale_mode.h" | 36 #include "ui/compositor/scoped_animation_duration_scale_mode.h" |
37 #include "ui/gfx/rect_conversions.h" | 37 #include "ui/gfx/rect_conversions.h" |
38 #include "ui/gfx/transform.h" | 38 #include "ui/gfx/transform.h" |
39 #include "ui/views/corewm/window_util.h" | 39 #include "ui/wm/core/window_util.h" |
40 | 40 |
41 namespace ash { | 41 namespace ash { |
42 namespace internal { | 42 namespace internal { |
43 | 43 |
44 namespace { | 44 namespace { |
45 | 45 |
46 class NonActivatableActivationDelegate | 46 class NonActivatableActivationDelegate |
47 : public aura::client::ActivationDelegate { | 47 : public aura::client::ActivationDelegate { |
48 public: | 48 public: |
49 virtual bool ShouldActivate() const OVERRIDE { | 49 virtual bool ShouldActivate() const OVERRIDE { |
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 ui::MouseEvent event(ui::ET_MOUSE_MOVED, points[p], points[p], | 1083 ui::MouseEvent event(ui::ET_MOUSE_MOVED, points[p], points[p], |
1084 ui::EF_NONE, ui::EF_NONE); | 1084 ui::EF_NONE, ui::EF_NONE); |
1085 EXPECT_EQ(windows[w], | 1085 EXPECT_EQ(windows[w], |
1086 targeter->FindTargetForEvent(root_target, &event)); | 1086 targeter->FindTargetForEvent(root_target, &event)); |
1087 } | 1087 } |
1088 } | 1088 } |
1089 } | 1089 } |
1090 | 1090 |
1091 } // namespace internal | 1091 } // namespace internal |
1092 } // namespace ash | 1092 } // namespace ash |
OLD | NEW |