| OLD | NEW |
| 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_table.h" | 5 #include "ash/accelerators/accelerator_table.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 | 8 |
| 9 namespace ash { | 9 namespace ash { |
| 10 | 10 |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 206 |
| 207 const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[] = { | 207 const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[] = { |
| 208 BRIGHTNESS_DOWN, | 208 BRIGHTNESS_DOWN, |
| 209 BRIGHTNESS_UP, | 209 BRIGHTNESS_UP, |
| 210 #if defined(OS_CHROMEOS) | 210 #if defined(OS_CHROMEOS) |
| 211 CYCLE_DISPLAY_MODE, | 211 CYCLE_DISPLAY_MODE, |
| 212 #endif // defined(OS_CHROMEOS) | 212 #endif // defined(OS_CHROMEOS) |
| 213 DISABLE_CAPS_LOCK, | 213 DISABLE_CAPS_LOCK, |
| 214 KEYBOARD_BRIGHTNESS_DOWN, | 214 KEYBOARD_BRIGHTNESS_DOWN, |
| 215 KEYBOARD_BRIGHTNESS_UP, | 215 KEYBOARD_BRIGHTNESS_UP, |
| 216 MAGNIFY_SCREEN_ZOOM_IN, // Control+F7 |
| 217 MAGNIFY_SCREEN_ZOOM_OUT, // Control+F6 |
| 216 NEXT_IME, | 218 NEXT_IME, |
| 217 PREVIOUS_IME, | 219 PREVIOUS_IME, |
| 218 SWITCH_IME, // Switch to another IME depending on the accelerator. | 220 SWITCH_IME, // Switch to another IME depending on the accelerator. |
| 219 TAKE_SCREENSHOT, | 221 TAKE_SCREENSHOT, |
| 220 TAKE_PARTIAL_SCREENSHOT, | 222 TAKE_PARTIAL_SCREENSHOT, |
| 221 TOGGLE_CAPS_LOCK, | 223 TOGGLE_CAPS_LOCK, |
| 222 TOGGLE_SPOKEN_FEEDBACK, | 224 TOGGLE_SPOKEN_FEEDBACK, |
| 223 TOGGLE_WIFI, | 225 TOGGLE_WIFI, |
| 224 VOLUME_DOWN, | 226 VOLUME_DOWN, |
| 225 VOLUME_MUTE, | 227 VOLUME_MUTE, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 237 arraysize(kActionsAllowedAtLoginOrLockScreen); | 239 arraysize(kActionsAllowedAtLoginOrLockScreen); |
| 238 | 240 |
| 239 const AcceleratorAction kActionsAllowedAtLockScreen[] = { | 241 const AcceleratorAction kActionsAllowedAtLockScreen[] = { |
| 240 EXIT, | 242 EXIT, |
| 241 }; | 243 }; |
| 242 | 244 |
| 243 const size_t kActionsAllowedAtLockScreenLength = | 245 const size_t kActionsAllowedAtLockScreenLength = |
| 244 arraysize(kActionsAllowedAtLockScreen); | 246 arraysize(kActionsAllowedAtLockScreen); |
| 245 | 247 |
| 246 } // namespace ash | 248 } // namespace ash |
| OLD | NEW |