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 "ash/drag_drop/drag_drop_controller.h" | 5 #include "ash/drag_drop/drag_drop_controller.h" |
6 | 6 |
7 #include "ash/common/drag_drop/drag_image_view.h" | |
8 #include "ash/drag_drop/drag_drop_tracker.h" | 7 #include "ash/drag_drop/drag_drop_tracker.h" |
| 8 #include "ash/drag_drop/drag_image_view.h" |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "ash/test/ash_test_base.h" | 10 #include "ash/test/ash_test_base.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "ui/aura/client/capture_client.h" | 14 #include "ui/aura/client/capture_client.h" |
15 #include "ui/aura/window_event_dispatcher.h" | 15 #include "ui/aura/window_event_dispatcher.h" |
16 #include "ui/aura/window_tree_host.h" | 16 #include "ui/aura/window_tree_host.h" |
17 #include "ui/base/clipboard/clipboard.h" | 17 #include "ui/base/clipboard/clipboard.h" |
18 #include "ui/base/clipboard/scoped_clipboard_writer.h" | 18 #include "ui/base/clipboard/scoped_clipboard_writer.h" |
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 drag_drop_controller_->drag_string_); | 1092 drag_drop_controller_->drag_string_); |
1093 EXPECT_EQ(1, drag_view->num_drag_enters_); | 1093 EXPECT_EQ(1, drag_view->num_drag_enters_); |
1094 EXPECT_EQ(2, drag_view->num_drag_updates_); | 1094 EXPECT_EQ(2, drag_view->num_drag_updates_); |
1095 EXPECT_EQ(1, drag_view->num_drops_); | 1095 EXPECT_EQ(1, drag_view->num_drops_); |
1096 EXPECT_EQ(0, drag_view->num_drag_exits_); | 1096 EXPECT_EQ(0, drag_view->num_drag_exits_); |
1097 EXPECT_TRUE(drag_view->drag_done_received_); | 1097 EXPECT_TRUE(drag_view->drag_done_received_); |
1098 } | 1098 } |
1099 | 1099 |
1100 } // namespace test | 1100 } // namespace test |
1101 } // namespace ash | 1101 } // namespace ash |
OLD | NEW |