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

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

Issue 2186093002: Copies AcceleratorControllerTest to mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
8 #include "ash/common/accelerators/accelerator_table.h" 7 #include "ash/common/accelerators/accelerator_table.h"
9 #include "ash/common/accessibility_delegate.h" 8 #include "ash/common/accessibility_delegate.h"
10 #include "ash/common/accessibility_types.h" 9 #include "ash/common/accessibility_types.h"
11 #include "ash/common/ime_control_delegate.h" 10 #include "ash/common/ime_control_delegate.h"
12 #include "ash/common/session/session_state_delegate.h" 11 #include "ash/common/session/session_state_delegate.h"
13 #include "ash/common/shell_window_ids.h" 12 #include "ash/common/shell_window_ids.h"
14 #include "ash/common/system/brightness_control_delegate.h" 13 #include "ash/common/system/brightness_control_delegate.h"
15 #include "ash/common/system/keyboard_brightness_control_delegate.h" 14 #include "ash/common/system/keyboard_brightness_control_delegate.h"
16 #include "ash/common/system/tray/system_tray_delegate.h" 15 #include "ash/common/system/tray/system_tray_delegate.h"
17 #include "ash/common/system/volume_control_delegate.h" 16 #include "ash/common/system/volume_control_delegate.h"
18 #include "ash/common/wm/panels/panel_layout_manager.h" 17 #include "ash/common/wm/panels/panel_layout_manager.h"
19 #include "ash/common/wm/window_positioning_utils.h" 18 #include "ash/common/wm/window_positioning_utils.h"
20 #include "ash/common/wm/window_state.h" 19 #include "ash/common/wm/window_state.h"
21 #include "ash/common/wm/wm_event.h" 20 #include "ash/common/wm/wm_event.h"
22 #include "ash/common/wm_shell.h" 21 #include "ash/common/wm_shell.h"
23 #include "ash/display/display_manager.h"
24 #include "ash/shell.h"
25 #include "ash/test/ash_test_base.h"
26 #include "ash/test/display_manager_test_api.h"
27 #include "ash/test/test_screenshot_delegate.h"
28 #include "ash/test/test_session_state_animator.h"
29 #include "ash/test/test_shelf_delegate.h"
30 #include "ash/test/test_volume_control_delegate.h"
31 #include "ash/wm/lock_state_controller.h"
32 #include "ash/wm/window_state_aura.h"
33 #include "ash/wm/window_util.h"
34 #include "ui/aura/client/aura_constants.h"
35 #include "ui/aura/test/test_window_delegate.h"
36 #include "ui/aura/test/test_windows.h"
37 #include "ui/aura/window.h"
38 #include "ui/display/screen.h" 22 #include "ui/display/screen.h"
39 #include "ui/events/event.h" 23 #include "ui/events/event.h"
40 #include "ui/events/event_processor.h" 24 #include "ui/events/event_processor.h"
41 #include "ui/events/test/event_generator.h" 25 #include "ui/events/test/event_generator.h"
42 #include "ui/message_center/message_center.h" 26 #include "ui/message_center/message_center.h"
43 #include "ui/views/widget/widget.h" 27 #include "ui/views/widget/widget.h"
44 28
45 #if defined(USE_X11) 29 #if defined(USE_X11)
46 #include <X11/Xlib.h> 30 #include <X11/Xlib.h>
47 #include "ui/events/test/events_test_utils_x11.h" 31 #include "ui/events/test/events_test_utils_x11.h"
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 EXPECT_TRUE(IsMessageCenterEmpty()); 1395 EXPECT_TRUE(IsMessageCenterEmpty());
1412 1396
1413 // If the action is LOCK_SCREEN, we must reset the state by unlocking the 1397 // If the action is LOCK_SCREEN, we must reset the state by unlocking the
1414 // screen before we proceed testing the rest of accelerators. 1398 // screen before we proceed testing the rest of accelerators.
1415 ResetStateIfNeeded(); 1399 ResetStateIfNeeded();
1416 } 1400 }
1417 } 1401 }
1418 #endif // defined(OS_CHROMEOS) 1402 #endif // defined(OS_CHROMEOS)
1419 1403
1420 } // namespace ash 1404 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698