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

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

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus ash] Removes WmWindow from ash (rebase, nits and cleanup of use of ResizeHandleWindowTargeter) Created 3 years, 6 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 | ash/accelerators/exit_warning_handler.cc » ('j') | 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/accelerators/accelerator_controller.h" 5 #include "ash/accelerators/accelerator_controller.h"
6 6
7 #include "ash/accelerators/accelerator_table.h" 7 #include "ash/accelerators/accelerator_table.h"
8 #include "ash/accessibility_delegate.h" 8 #include "ash/accessibility_delegate.h"
9 #include "ash/accessibility_types.h" 9 #include "ash/accessibility_types.h"
10 #include "ash/ash_switches.h" 10 #include "ash/ash_switches.h"
11 #include "ash/public/cpp/config.h" 11 #include "ash/public/cpp/config.h"
12 #include "ash/public/cpp/shell_window_ids.h" 12 #include "ash/public/cpp/shell_window_ids.h"
13 #include "ash/session/session_controller.h" 13 #include "ash/session/session_controller.h"
14 #include "ash/shell.h" 14 #include "ash/shell.h"
15 #include "ash/shell_port.h" 15 #include "ash/shell_port.h"
16 #include "ash/system/brightness_control_delegate.h" 16 #include "ash/system/brightness_control_delegate.h"
17 #include "ash/system/keyboard_brightness_control_delegate.h" 17 #include "ash/system/keyboard_brightness_control_delegate.h"
18 #include "ash/system/tray/system_tray_delegate.h" 18 #include "ash/system/tray/system_tray_delegate.h"
19 #include "ash/test/ash_test_base.h" 19 #include "ash/test/ash_test_base.h"
20 #include "ash/test/lock_state_controller_test_api.h" 20 #include "ash/test/lock_state_controller_test_api.h"
21 #include "ash/test/test_screenshot_delegate.h" 21 #include "ash/test/test_screenshot_delegate.h"
22 #include "ash/test/test_session_state_animator.h" 22 #include "ash/test/test_session_state_animator.h"
23 #include "ash/wm/lock_state_controller.h" 23 #include "ash/wm/lock_state_controller.h"
24 #include "ash/wm/panels/panel_layout_manager.h" 24 #include "ash/wm/panels/panel_layout_manager.h"
25 #include "ash/wm/window_positioning_utils.h" 25 #include "ash/wm/window_positioning_utils.h"
26 #include "ash/wm/window_state.h" 26 #include "ash/wm/window_state.h"
27 #include "ash/wm/window_util.h" 27 #include "ash/wm/window_util.h"
28 #include "ash/wm/wm_event.h" 28 #include "ash/wm/wm_event.h"
29 #include "ash/wm_window.h"
30 #include "base/command_line.h" 29 #include "base/command_line.h"
31 #include "base/test/user_action_tester.h" 30 #include "base/test/user_action_tester.h"
32 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 31 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
33 #include "ui/app_list/presenter/app_list.h" 32 #include "ui/app_list/presenter/app_list.h"
34 #include "ui/app_list/presenter/test/test_app_list_presenter.h" 33 #include "ui/app_list/presenter/test/test_app_list_presenter.h"
35 #include "ui/aura/client/aura_constants.h" 34 #include "ui/aura/client/aura_constants.h"
36 #include "ui/aura/test/test_window_delegate.h" 35 #include "ui/aura/test/test_window_delegate.h"
37 #include "ui/aura/test/test_windows.h" 36 #include "ui/aura/test/test_windows.h"
38 #include "ui/aura/window.h" 37 #include "ui/aura/window.h"
39 #include "ui/base/ime/chromeos/fake_ime_keyboard.h" 38 #include "ui/base/ime/chromeos/fake_ime_keyboard.h"
(...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 // Expect no notifications from the new accelerators. 1356 // Expect no notifications from the new accelerators.
1358 EXPECT_TRUE(IsMessageCenterEmpty()); 1357 EXPECT_TRUE(IsMessageCenterEmpty());
1359 1358
1360 // If the action is LOCK_SCREEN, we must reset the state by unlocking the 1359 // If the action is LOCK_SCREEN, we must reset the state by unlocking the
1361 // screen before we proceed testing the rest of accelerators. 1360 // screen before we proceed testing the rest of accelerators.
1362 ResetStateIfNeeded(); 1361 ResetStateIfNeeded();
1363 } 1362 }
1364 } 1363 }
1365 1364
1366 } // namespace ash 1365 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | ash/accelerators/exit_warning_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698