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 "chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h" | 5 #include "chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h" |
6 | 6 |
7 #include "ash/wm/window_state.h" | 7 #include "ash/wm/window_state.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "ash/ash_switches.h" | 45 #include "ash/ash_switches.h" |
46 #include "ash/display/display_controller.h" | 46 #include "ash/display/display_controller.h" |
47 #include "ash/display/display_manager.h" | 47 #include "ash/display/display_manager.h" |
48 #include "ash/shell.h" | 48 #include "ash/shell.h" |
49 #include "ash/test/cursor_manager_test_api.h" | 49 #include "ash/test/cursor_manager_test_api.h" |
50 #include "ash/wm/coordinate_conversion.h" | 50 #include "ash/wm/coordinate_conversion.h" |
51 #include "ash/wm/window_state.h" | 51 #include "ash/wm/window_state.h" |
52 #include "ash/wm/window_util.h" | 52 #include "ash/wm/window_util.h" |
53 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" | 53 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
54 #include "ui/aura/client/screen_position_client.h" | 54 #include "ui/aura/client/screen_position_client.h" |
55 #include "ui/aura/root_window.h" | |
56 #include "ui/aura/test/event_generator.h" | 55 #include "ui/aura/test/event_generator.h" |
| 56 #include "ui/aura/window_event_dispatcher.h" |
57 #endif | 57 #endif |
58 | 58 |
59 using content::WebContents; | 59 using content::WebContents; |
60 | 60 |
61 namespace test { | 61 namespace test { |
62 | 62 |
63 namespace { | 63 namespace { |
64 | 64 |
65 const char kTabDragControllerInteractiveUITestUserDataKey[] = | 65 const char kTabDragControllerInteractiveUITestUserDataKey[] = |
66 "TabDragControllerInteractiveUITestUserData"; | 66 "TabDragControllerInteractiveUITestUserData"; |
(...skipping 2265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2332 DetachToDockedTabDragControllerTest, | 2332 DetachToDockedTabDragControllerTest, |
2333 ::testing::Values("mouse", "mouse docked")); | 2333 ::testing::Values("mouse", "mouse docked")); |
2334 INSTANTIATE_TEST_CASE_P(TabDragging, | 2334 INSTANTIATE_TEST_CASE_P(TabDragging, |
2335 DetachToBrowserTabDragControllerTestTouch, | 2335 DetachToBrowserTabDragControllerTestTouch, |
2336 ::testing::Values("touch", "touch docked")); | 2336 ::testing::Values("touch", "touch docked")); |
2337 #else | 2337 #else |
2338 INSTANTIATE_TEST_CASE_P(TabDragging, | 2338 INSTANTIATE_TEST_CASE_P(TabDragging, |
2339 DetachToBrowserTabDragControllerTest, | 2339 DetachToBrowserTabDragControllerTest, |
2340 ::testing::Values("mouse")); | 2340 ::testing::Values("mouse")); |
2341 #endif | 2341 #endif |
OLD | NEW |