Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1221)

Side by Side Diff: ash/accelerators/accelerator_controller_unittest.cc

Issue 2445583002: Relocate display_manager from ash to ui (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/common/accelerators/accelerator_controller.h" 5 #include "ash/common/accelerators/accelerator_controller.h"
6 6
7 #include "ash/aura/wm_window_aura.h" 7 #include "ash/aura/wm_window_aura.h"
8 #include "ash/common/accelerators/accelerator_table.h" 8 #include "ash/common/accelerators/accelerator_table.h"
9 #include "ash/common/accessibility_delegate.h" 9 #include "ash/common/accessibility_delegate.h"
10 #include "ash/common/accessibility_types.h" 10 #include "ash/common/accessibility_types.h"
11 #include "ash/common/ime_control_delegate.h" 11 #include "ash/common/ime_control_delegate.h"
12 #include "ash/common/session/session_state_delegate.h" 12 #include "ash/common/session/session_state_delegate.h"
13 #include "ash/common/system/brightness_control_delegate.h" 13 #include "ash/common/system/brightness_control_delegate.h"
14 #include "ash/common/system/keyboard_brightness_control_delegate.h" 14 #include "ash/common/system/keyboard_brightness_control_delegate.h"
15 #include "ash/common/system/tray/system_tray_delegate.h" 15 #include "ash/common/system/tray/system_tray_delegate.h"
16 #include "ash/common/test/test_shelf_delegate.h" 16 #include "ash/common/test/test_shelf_delegate.h"
17 #include "ash/common/wm/panels/panel_layout_manager.h" 17 #include "ash/common/wm/panels/panel_layout_manager.h"
18 #include "ash/common/wm/window_positioning_utils.h" 18 #include "ash/common/wm/window_positioning_utils.h"
19 #include "ash/common/wm/window_state.h" 19 #include "ash/common/wm/window_state.h"
20 #include "ash/common/wm/wm_event.h" 20 #include "ash/common/wm/wm_event.h"
21 #include "ash/common/wm_shell.h" 21 #include "ash/common/wm_shell.h"
22 #include "ash/display/display_manager.h"
23 #include "ash/public/cpp/shell_window_ids.h" 22 #include "ash/public/cpp/shell_window_ids.h"
24 #include "ash/shell.h" 23 #include "ash/shell.h"
25 #include "ash/test/ash_test_base.h" 24 #include "ash/test/ash_test_base.h"
26 #include "ash/test/display_manager_test_api.h"
27 #include "ash/test/test_screenshot_delegate.h" 25 #include "ash/test/test_screenshot_delegate.h"
28 #include "ash/test/test_session_state_animator.h" 26 #include "ash/test/test_session_state_animator.h"
29 #include "ash/wm/lock_state_controller.h" 27 #include "ash/wm/lock_state_controller.h"
30 #include "ash/wm/window_state_aura.h" 28 #include "ash/wm/window_state_aura.h"
31 #include "ash/wm/window_util.h" 29 #include "ash/wm/window_util.h"
32 #include "base/test/user_action_tester.cc" 30 #include "base/test/user_action_tester.cc"
33 #include "ui/aura/client/aura_constants.h" 31 #include "ui/aura/client/aura_constants.h"
34 #include "ui/aura/test/test_window_delegate.h" 32 #include "ui/aura/test/test_window_delegate.h"
35 #include "ui/aura/test/test_windows.h" 33 #include "ui/aura/test/test_windows.h"
36 #include "ui/aura/window.h" 34 #include "ui/aura/window.h"
35 #include "ui/display/manager/display_manager.h"
37 #include "ui/display/screen.h" 36 #include "ui/display/screen.h"
37 #include "ui/display/test/display_manager_test_api.h"
oshima 2016/10/24 19:29:16 nit: Looks like this is obsolete.
rjkroege 2016/10/25 23:30:26 Done.
38 #include "ui/events/event.h" 38 #include "ui/events/event.h"
39 #include "ui/events/event_processor.h" 39 #include "ui/events/event_processor.h"
40 #include "ui/events/test/event_generator.h" 40 #include "ui/events/test/event_generator.h"
41 #include "ui/message_center/message_center.h" 41 #include "ui/message_center/message_center.h"
42 #include "ui/views/widget/widget.h" 42 #include "ui/views/widget/widget.h"
43 43
44 #if defined(USE_X11) 44 #if defined(USE_X11)
45 #include <X11/Xlib.h> 45 #include <X11/Xlib.h>
46 #include "ui/events/test/events_test_utils_x11.h" 46 #include "ui/events/test/events_test_utils_x11.h"
47 #endif 47 #endif
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 EXPECT_TRUE(IsMessageCenterEmpty()); 1411 EXPECT_TRUE(IsMessageCenterEmpty());
1412 1412
1413 // If the action is LOCK_SCREEN, we must reset the state by unlocking the 1413 // If the action is LOCK_SCREEN, we must reset the state by unlocking the
1414 // screen before we proceed testing the rest of accelerators. 1414 // screen before we proceed testing the rest of accelerators.
1415 ResetStateIfNeeded(); 1415 ResetStateIfNeeded();
1416 } 1416 }
1417 } 1417 }
1418 #endif // defined(OS_CHROMEOS) 1418 #endif // defined(OS_CHROMEOS)
1419 1419
1420 } // namespace ash 1420 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698