| 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[] = { | 257 const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[] = { |
| 258 DEBUG_PRINT_LAYER_HIERARCHY, | 258 DEBUG_PRINT_LAYER_HIERARCHY, |
| 259 DEBUG_PRINT_VIEW_HIERARCHY, | 259 DEBUG_PRINT_VIEW_HIERARCHY, |
| 260 DEBUG_PRINT_WINDOW_HIERARCHY, | 260 DEBUG_PRINT_WINDOW_HIERARCHY, |
| 261 MAGNIFY_SCREEN_ZOOM_IN, // Control+F7 | 261 MAGNIFY_SCREEN_ZOOM_IN, // Control+F7 |
| 262 MAGNIFY_SCREEN_ZOOM_OUT, // Control+F6 | 262 MAGNIFY_SCREEN_ZOOM_OUT, // Control+F6 |
| 263 NEXT_IME, | 263 NEXT_IME, |
| 264 PREVIOUS_IME, | 264 PREVIOUS_IME, |
| 265 PRINT_UI_HIERARCHIES, | 265 PRINT_UI_HIERARCHIES, |
| 266 ROTATE_WINDOW, | 266 ROTATE_SCREEN, |
| 267 SCALE_UI_UP, |
| 268 SCALE_UI_DOWN, |
| 269 SCALE_UI_RESET, |
| 267 SHOW_SYSTEM_TRAY_BUBBLE, | 270 SHOW_SYSTEM_TRAY_BUBBLE, |
| 268 SWITCH_IME, // Switch to another IME depending on the accelerator. | 271 SWITCH_IME, // Switch to another IME depending on the accelerator. |
| 269 TAKE_PARTIAL_SCREENSHOT, | 272 TAKE_PARTIAL_SCREENSHOT, |
| 270 TAKE_SCREENSHOT, | 273 TAKE_SCREENSHOT, |
| 271 #if defined(OS_CHROMEOS) | 274 #if defined(OS_CHROMEOS) |
| 272 BRIGHTNESS_DOWN, | 275 BRIGHTNESS_DOWN, |
| 273 BRIGHTNESS_UP, | 276 BRIGHTNESS_UP, |
| 274 DEBUG_ADD_REMOVE_DISPLAY, | 277 DEBUG_ADD_REMOVE_DISPLAY, |
| 275 DISABLE_CAPS_LOCK, | 278 DISABLE_CAPS_LOCK, |
| 276 DISABLE_GPU_WATCHDOG, | 279 DISABLE_GPU_WATCHDOG, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 WINDOW_MINIMIZE, | 424 WINDOW_MINIMIZE, |
| 422 TOGGLE_FULLSCREEN, | 425 TOGGLE_FULLSCREEN, |
| 423 TOGGLE_MAXIMIZED, | 426 TOGGLE_MAXIMIZED, |
| 424 WINDOW_POSITION_CENTER, | 427 WINDOW_POSITION_CENTER, |
| 425 ROTATE_WINDOW, | 428 ROTATE_WINDOW, |
| 426 }; | 429 }; |
| 427 | 430 |
| 428 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow); | 431 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow); |
| 429 | 432 |
| 430 } // namespace ash | 433 } // namespace ash |
| OLD | NEW |