OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_shell/drag_drop_controller.h" | 5 #include "ui/aura_shell/drag_drop_controller.h" |
6 | 6 |
| 7 #include "ash/wm/root_window_event_filter.h" |
7 #include "base/location.h" | 8 #include "base/location.h" |
8 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
9 #include "ui/aura/event.h" | 10 #include "ui/aura/event.h" |
10 #include "ui/aura/root_window.h" | 11 #include "ui/aura/root_window.h" |
11 #include "ui/aura_shell/root_window_event_filter.h" | |
12 #include "ui/aura_shell/test/aura_shell_test_base.h" | 12 #include "ui/aura_shell/test/aura_shell_test_base.h" |
13 #include "ui/base/dragdrop/drag_drop_types.h" | 13 #include "ui/base/dragdrop/drag_drop_types.h" |
14 #include "ui/base/dragdrop/os_exchange_data.h" | 14 #include "ui/base/dragdrop/os_exchange_data.h" |
15 #include "ui/views/events/event.h" | 15 #include "ui/views/events/event.h" |
16 #include "ui/views/view.h" | 16 #include "ui/views/view.h" |
17 #include "ui/views/widget/widget.h" | 17 #include "ui/views/widget/widget.h" |
18 | 18 |
19 namespace aura_shell { | 19 namespace aura_shell { |
20 namespace test { | 20 namespace test { |
21 | 21 |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 EXPECT_EQ(num_drags_1 - 1 - drag_view->VerticalDragThreshold(), | 423 EXPECT_EQ(num_drags_1 - 1 - drag_view->VerticalDragThreshold(), |
424 drag_view->num_drag_updates_); | 424 drag_view->num_drag_updates_); |
425 EXPECT_EQ(0, drag_view->num_drops_); | 425 EXPECT_EQ(0, drag_view->num_drops_); |
426 EXPECT_EQ(0, drag_view->num_drag_exits_); | 426 EXPECT_EQ(0, drag_view->num_drag_exits_); |
427 EXPECT_TRUE(drag_view->drag_done_received_); | 427 EXPECT_TRUE(drag_view->drag_done_received_); |
428 delete widget; | 428 delete widget; |
429 } | 429 } |
430 | 430 |
431 } // namespace test | 431 } // namespace test |
432 } // namespace aura | 432 } // namespace aura |
OLD | NEW |