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

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

Issue 2293183002: ash: Remove ash::Shelf in favor of ash::WmShelf (Closed)
Patch Set: rebase again Created 4 years, 3 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 | « ash/metrics/user_metrics_recorder.cc ('k') | ash/mus/bridge/wm_shelf_mus.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/mus/accelerators/accelerator_controller_delegate_mus.h" 5 #include "ash/mus/accelerators/accelerator_controller_delegate_mus.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace ash { 9 namespace ash {
10 namespace mus { 10 namespace mus {
11 11
12 AcceleratorControllerDelegateMus::AcceleratorControllerDelegateMus() {} 12 AcceleratorControllerDelegateMus::AcceleratorControllerDelegateMus() {}
13 13
14 AcceleratorControllerDelegateMus::~AcceleratorControllerDelegateMus() {} 14 AcceleratorControllerDelegateMus::~AcceleratorControllerDelegateMus() {}
15 15
16 bool AcceleratorControllerDelegateMus::HandlesAction(AcceleratorAction action) { 16 bool AcceleratorControllerDelegateMus::HandlesAction(AcceleratorAction action) {
17 // This is the list of actions that are not ported from aura. The actions are 17 // This is the list of actions that are not ported from aura. The actions are
18 // replicated here to make sure we don't forget any. This list should 18 // replicated here to make sure we don't forget any. This list should
19 // eventually be empty. If there are any actions that don't make sense for 19 // eventually be empty. If there are any actions that don't make sense for
20 // mus, then they should be removed from AcceleratorAction. 20 // mus, then they should be removed from AcceleratorAction.
21 // http://crbug.com/612331. 21 // http://crbug.com/612331.
22 switch (action) { 22 switch (action) {
23 case DEBUG_TOGGLE_DEVICE_SCALE_FACTOR: 23 case DEBUG_TOGGLE_DEVICE_SCALE_FACTOR:
24 case DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN: 24 case DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN:
25 case DEBUG_TOGGLE_SHOW_DEBUG_BORDERS: 25 case DEBUG_TOGGLE_SHOW_DEBUG_BORDERS:
26 case DEBUG_TOGGLE_SHOW_FPS_COUNTER: 26 case DEBUG_TOGGLE_SHOW_FPS_COUNTER:
27 case DEBUG_TOGGLE_SHOW_PAINT_RECTS: 27 case DEBUG_TOGGLE_SHOW_PAINT_RECTS:
28 case DEBUG_TOGGLE_WALLPAPER_MODE: 28 case DEBUG_TOGGLE_WALLPAPER_MODE:
29 case FOCUS_SHELF:
30 case LAUNCH_APP_0:
31 case LAUNCH_APP_1:
32 case LAUNCH_APP_2:
33 case LAUNCH_APP_3:
34 case LAUNCH_APP_4:
35 case LAUNCH_APP_5:
36 case LAUNCH_APP_6:
37 case LAUNCH_APP_7:
38 case LAUNCH_LAST_APP:
39 case MAGNIFY_SCREEN_ZOOM_IN: 29 case MAGNIFY_SCREEN_ZOOM_IN:
40 case MAGNIFY_SCREEN_ZOOM_OUT: 30 case MAGNIFY_SCREEN_ZOOM_OUT:
41 case ROTATE_SCREEN: 31 case ROTATE_SCREEN:
42 case ROTATE_WINDOW: 32 case ROTATE_WINDOW:
43 case SCALE_UI_DOWN: 33 case SCALE_UI_DOWN:
44 case SCALE_UI_RESET: 34 case SCALE_UI_RESET:
45 case SCALE_UI_UP: 35 case SCALE_UI_UP:
46 case SHOW_MESSAGE_CENTER_BUBBLE: 36 case SHOW_MESSAGE_CENTER_BUBBLE:
47 case SHOW_SYSTEM_TRAY_BUBBLE: 37 case SHOW_SYSTEM_TRAY_BUBBLE:
48 case TAKE_PARTIAL_SCREENSHOT: 38 case TAKE_PARTIAL_SCREENSHOT:
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 const char* const notification_id, 83 const char* const notification_id,
94 int message_id, 84 int message_id,
95 int old_shortcut_id, 85 int old_shortcut_id,
96 int new_shortcut_id) { 86 int new_shortcut_id) {
97 // TODO: http://crbug.com/630316. 87 // TODO: http://crbug.com/630316.
98 NOTIMPLEMENTED(); 88 NOTIMPLEMENTED();
99 } 89 }
100 90
101 } // namespace mus 91 } // namespace mus
102 } // namespace ash 92 } // namespace ash
OLDNEW
« no previous file with comments | « ash/metrics/user_metrics_recorder.cc ('k') | ash/mus/bridge/wm_shelf_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698