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 "base/location.h" | 7 #include "base/location.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "ui/aura/client/aura_constants.h" | |
10 #include "ui/aura/event.h" | 9 #include "ui/aura/event.h" |
11 #include "ui/aura/root_window.h" | 10 #include "ui/aura/root_window.h" |
12 #include "ui/aura_shell/root_window_event_filter.h" | 11 #include "ui/aura_shell/root_window_event_filter.h" |
13 #include "ui/aura_shell/test/aura_shell_test_base.h" | 12 #include "ui/aura_shell/test/aura_shell_test_base.h" |
14 #include "ui/base/dragdrop/drag_drop_types.h" | 13 #include "ui/base/dragdrop/drag_drop_types.h" |
15 #include "ui/base/dragdrop/os_exchange_data.h" | 14 #include "ui/base/dragdrop/os_exchange_data.h" |
16 #include "ui/views/events/event.h" | 15 #include "ui/views/events/event.h" |
17 #include "ui/views/view.h" | 16 #include "ui/views/view.h" |
18 #include "ui/views/widget/widget.h" | 17 #include "ui/views/widget/widget.h" |
19 | 18 |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 EXPECT_EQ(num_drags_1 - 1 - drag_view->VerticalDragThreshold(), | 410 EXPECT_EQ(num_drags_1 - 1 - drag_view->VerticalDragThreshold(), |
412 drag_view->num_drag_updates_); | 411 drag_view->num_drag_updates_); |
413 EXPECT_EQ(0, drag_view->num_drops_); | 412 EXPECT_EQ(0, drag_view->num_drops_); |
414 EXPECT_EQ(0, drag_view->num_drag_exits_); | 413 EXPECT_EQ(0, drag_view->num_drag_exits_); |
415 EXPECT_TRUE(drag_view->drag_done_received_); | 414 EXPECT_TRUE(drag_view->drag_done_received_); |
416 delete widget; | 415 delete widget; |
417 } | 416 } |
418 | 417 |
419 } // namespace test | 418 } // namespace test |
420 } // namespace aura | 419 } // namespace aura |
OLD | NEW |