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 #ifndef ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ | 5 #ifndef ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ |
6 #define ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ | 6 #define ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // | 51 // |
52 // Please put if/def sections at the end of the bare section and keep the list | 52 // Please put if/def sections at the end of the bare section and keep the list |
53 // within each section in alphabetical order. | 53 // within each section in alphabetical order. |
54 enum AcceleratorAction { | 54 enum AcceleratorAction { |
55 CYCLE_BACKWARD_MRU, | 55 CYCLE_BACKWARD_MRU, |
56 CYCLE_FORWARD_MRU, | 56 CYCLE_FORWARD_MRU, |
57 DEBUG_PRINT_LAYER_HIERARCHY, | 57 DEBUG_PRINT_LAYER_HIERARCHY, |
58 DEBUG_PRINT_VIEW_HIERARCHY, | 58 DEBUG_PRINT_VIEW_HIERARCHY, |
59 DEBUG_PRINT_WINDOW_HIERARCHY, | 59 DEBUG_PRINT_WINDOW_HIERARCHY, |
60 DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN, | 60 DEBUG_TOGGLE_ROOT_WINDOW_FULL_SCREEN, |
61 DEBUG_TOGGLE_DESKTOP_BACKGROUND_MODE, | |
62 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR, | 61 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR, |
63 DEBUG_TOGGLE_SHOW_DEBUG_BORDERS, | 62 DEBUG_TOGGLE_SHOW_DEBUG_BORDERS, |
64 DEBUG_TOGGLE_SHOW_FPS_COUNTER, | 63 DEBUG_TOGGLE_SHOW_FPS_COUNTER, |
65 DEBUG_TOGGLE_SHOW_PAINT_RECTS, | 64 DEBUG_TOGGLE_SHOW_PAINT_RECTS, |
| 65 DEBUG_TOGGLE_WALLPAPER_MODE, |
66 EXIT, | 66 EXIT, |
67 FOCUS_NEXT_PANE, | 67 FOCUS_NEXT_PANE, |
68 FOCUS_PREVIOUS_PANE, | 68 FOCUS_PREVIOUS_PANE, |
69 FOCUS_SHELF, | 69 FOCUS_SHELF, |
70 LAUNCH_APP_0, | 70 LAUNCH_APP_0, |
71 LAUNCH_APP_1, | 71 LAUNCH_APP_1, |
72 LAUNCH_APP_2, | 72 LAUNCH_APP_2, |
73 LAUNCH_APP_3, | 73 LAUNCH_APP_3, |
74 LAUNCH_APP_4, | 74 LAUNCH_APP_4, |
75 LAUNCH_APP_5, | 75 LAUNCH_APP_5, |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; | 254 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; |
255 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; | 255 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; |
256 | 256 |
257 // Actions that can be performed while keeping the menu open. | 257 // Actions that can be performed while keeping the menu open. |
258 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; | 258 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; |
259 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; | 259 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; |
260 | 260 |
261 } // namespace ash | 261 } // namespace ash |
262 | 262 |
263 #endif // ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ | 263 #endif // ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ |
OLD | NEW |