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

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

Issue 2290473004: Rename ash desktop_background to wallpaper. (Closed)
Patch Set: Address comments. 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/display/window_tree_host_manager_unittest.cc ('k') | ash/mus/container_ids.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 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_DESKTOP_BACKGROUND_MODE:
24 case DEBUG_TOGGLE_DEVICE_SCALE_FACTOR: 23 case DEBUG_TOGGLE_DEVICE_SCALE_FACTOR:
25 case DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN: 24 case DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN:
26 case DEBUG_TOGGLE_SHOW_DEBUG_BORDERS: 25 case DEBUG_TOGGLE_SHOW_DEBUG_BORDERS:
27 case DEBUG_TOGGLE_SHOW_FPS_COUNTER: 26 case DEBUG_TOGGLE_SHOW_FPS_COUNTER:
28 case DEBUG_TOGGLE_SHOW_PAINT_RECTS: 27 case DEBUG_TOGGLE_SHOW_PAINT_RECTS:
28 case DEBUG_TOGGLE_WALLPAPER_MODE:
29 case FOCUS_SHELF: 29 case FOCUS_SHELF:
30 case LAUNCH_APP_0: 30 case LAUNCH_APP_0:
31 case LAUNCH_APP_1: 31 case LAUNCH_APP_1:
32 case LAUNCH_APP_2: 32 case LAUNCH_APP_2:
33 case LAUNCH_APP_3: 33 case LAUNCH_APP_3:
34 case LAUNCH_APP_4: 34 case LAUNCH_APP_4:
35 case LAUNCH_APP_5: 35 case LAUNCH_APP_5:
36 case LAUNCH_APP_6: 36 case LAUNCH_APP_6:
37 case LAUNCH_APP_7: 37 case LAUNCH_APP_7:
38 case LAUNCH_LAST_APP: 38 case LAUNCH_LAST_APP:
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 const char* const notification_id, 93 const char* const notification_id,
94 int message_id, 94 int message_id,
95 int old_shortcut_id, 95 int old_shortcut_id,
96 int new_shortcut_id) { 96 int new_shortcut_id) {
97 // TODO: http://crbug.com/630316. 97 // TODO: http://crbug.com/630316.
98 NOTIMPLEMENTED(); 98 NOTIMPLEMENTED();
99 } 99 }
100 100
101 } // namespace mus 101 } // namespace mus
102 } // namespace ash 102 } // namespace ash
OLDNEW
« no previous file with comments | « ash/display/window_tree_host_manager_unittest.cc ('k') | ash/mus/container_ids.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698