Chromium Code Reviews| OLD | NEW |
|---|---|
| 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: | 23 case DEBUG_TOGGLE_WALLPAPER_MODE: |
|
James Cook
2016/08/30 05:18:19
nit: alphabetize
msw
2016/08/30 16:07:59
Done.
| |
| 24 case DEBUG_TOGGLE_DEVICE_SCALE_FACTOR: | 24 case DEBUG_TOGGLE_DEVICE_SCALE_FACTOR: |
| 25 case DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN: | 25 case DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN: |
| 26 case DEBUG_TOGGLE_SHOW_DEBUG_BORDERS: | 26 case DEBUG_TOGGLE_SHOW_DEBUG_BORDERS: |
| 27 case DEBUG_TOGGLE_SHOW_FPS_COUNTER: | 27 case DEBUG_TOGGLE_SHOW_FPS_COUNTER: |
| 28 case DEBUG_TOGGLE_SHOW_PAINT_RECTS: | 28 case DEBUG_TOGGLE_SHOW_PAINT_RECTS: |
| 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: |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 |
| OLD | NEW |