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/common/accelerators/accelerator_controller.h" | 5 #include "ash/common/accelerators/accelerator_controller.h" |
6 | 6 |
7 #include "ash/common/accelerators/accelerator_table.h" | 7 #include "ash/common/accelerators/accelerator_table.h" |
8 #include "ash/common/accessibility_delegate.h" | 8 #include "ash/common/accessibility_delegate.h" |
9 #include "ash/common/accessibility_types.h" | 9 #include "ash/common/accessibility_types.h" |
10 #include "ash/common/ime_control_delegate.h" | 10 #include "ash/common/ime_control_delegate.h" |
11 #include "ash/common/session/session_state_delegate.h" | 11 #include "ash/common/session/session_state_delegate.h" |
12 #include "ash/common/shell_window_ids.h" | |
13 #include "ash/common/system/brightness_control_delegate.h" | 12 #include "ash/common/system/brightness_control_delegate.h" |
14 #include "ash/common/system/keyboard_brightness_control_delegate.h" | 13 #include "ash/common/system/keyboard_brightness_control_delegate.h" |
15 #include "ash/common/system/tray/system_tray_delegate.h" | 14 #include "ash/common/system/tray/system_tray_delegate.h" |
16 #include "ash/common/system/volume_control_delegate.h" | 15 #include "ash/common/system/volume_control_delegate.h" |
17 #include "ash/common/test/ash_test.h" | 16 #include "ash/common/test/ash_test.h" |
18 #include "ash/common/test/test_volume_control_delegate.h" | 17 #include "ash/common/test/test_volume_control_delegate.h" |
19 #include "ash/common/wm/panels/panel_layout_manager.h" | 18 #include "ash/common/wm/panels/panel_layout_manager.h" |
20 #include "ash/common/wm/window_positioning_utils.h" | 19 #include "ash/common/wm/window_positioning_utils.h" |
21 #include "ash/common/wm/window_state.h" | 20 #include "ash/common/wm/window_state.h" |
22 #include "ash/common/wm/wm_event.h" | 21 #include "ash/common/wm/wm_event.h" |
23 #include "ash/common/wm_lookup.h" | 22 #include "ash/common/wm_lookup.h" |
24 #include "ash/common/wm_root_window_controller.h" | 23 #include "ash/common/wm_root_window_controller.h" |
25 #include "ash/common/wm_shell.h" | 24 #include "ash/common/wm_shell.h" |
26 #include "ash/mus/accelerators/accelerator_controller_registrar_test_api.h" | 25 #include "ash/mus/accelerators/accelerator_controller_registrar_test_api.h" |
27 #include "ash/mus/bridge/wm_shell_mus_test_api.h" | 26 #include "ash/mus/bridge/wm_shell_mus_test_api.h" |
28 #include "ash/mus/bridge/wm_window_mus.h" | 27 #include "ash/mus/bridge/wm_window_mus.h" |
29 #include "ash/mus/property_util.h" | 28 #include "ash/mus/property_util.h" |
30 #include "ash/mus/test/wm_test_base.h" | 29 #include "ash/mus/test/wm_test_base.h" |
| 30 #include "ash/public/cpp/shell_window_ids.h" |
31 #include "ui/events/event.h" | 31 #include "ui/events/event.h" |
32 #include "ui/events/event_processor.h" | 32 #include "ui/events/event_processor.h" |
33 #include "ui/events/test/event_generator.h" | 33 #include "ui/events/test/event_generator.h" |
34 #include "ui/message_center/message_center.h" | 34 #include "ui/message_center/message_center.h" |
35 #include "ui/views/widget/widget.h" | 35 #include "ui/views/widget/widget.h" |
36 | 36 |
37 #if defined(USE_X11) | 37 #if defined(USE_X11) |
38 #include <X11/Xlib.h> | 38 #include <X11/Xlib.h> |
39 #include "ui/events/test/events_test_utils_x11.h" | 39 #include "ui/events/test/events_test_utils_x11.h" |
40 #endif | 40 #endif |
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1402 EXPECT_TRUE(IsMessageCenterEmpty()); | 1402 EXPECT_TRUE(IsMessageCenterEmpty()); |
1403 | 1403 |
1404 // If the action is LOCK_SCREEN, we must reset the state by unlocking the | 1404 // If the action is LOCK_SCREEN, we must reset the state by unlocking the |
1405 // screen before we proceed testing the rest of accelerators. | 1405 // screen before we proceed testing the rest of accelerators. |
1406 ResetStateIfNeeded(); | 1406 ResetStateIfNeeded(); |
1407 } | 1407 } |
1408 } | 1408 } |
1409 #endif // defined(OS_CHROMEOS) | 1409 #endif // defined(OS_CHROMEOS) |
1410 | 1410 |
1411 } // namespace ash | 1411 } // namespace ash |
OLD | NEW |