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_ACCELERATORS_ACCELERATOR_TABLE_H_ | 5 #ifndef ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
6 #define ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 6 #define ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
10 #include "ui/aura/event.h" | 10 #include "ui/aura/event.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 OPEN_FILE_MANAGER_DIALOG, | 65 OPEN_FILE_MANAGER_DIALOG, |
66 OPEN_FILE_MANAGER_TAB, | 66 OPEN_FILE_MANAGER_TAB, |
67 #endif | 67 #endif |
68 MONITOR_ADD_REMOVE, | 68 MONITOR_ADD_REMOVE, |
69 MONITOR_CYCLE, | 69 MONITOR_CYCLE, |
70 MONITOR_TOGGLE_SCALE, | 70 MONITOR_TOGGLE_SCALE, |
71 ROTATE_SCREEN, | 71 ROTATE_SCREEN, |
72 TOGGLE_DESKTOP_BACKGROUND_MODE, | 72 TOGGLE_DESKTOP_BACKGROUND_MODE, |
73 TOGGLE_ROOT_WINDOW_FULL_SCREEN, | 73 TOGGLE_ROOT_WINDOW_FULL_SCREEN, |
74 #if !defined(NDEBUG) | 74 #if !defined(NDEBUG) |
| 75 MAGNIFY_SCREEN_ZOOM_IN, |
| 76 MAGNIFY_SCREEN_ZOOM_OUT, |
75 PRINT_LAYER_HIERARCHY, | 77 PRINT_LAYER_HIERARCHY, |
76 PRINT_WINDOW_HIERARCHY, | 78 PRINT_WINDOW_HIERARCHY, |
77 #endif | 79 #endif |
78 }; | 80 }; |
79 | 81 |
80 struct AcceleratorData { | 82 struct AcceleratorData { |
81 bool trigger_on_press; | 83 bool trigger_on_press; |
82 ui::KeyboardCode keycode; | 84 ui::KeyboardCode keycode; |
83 int modifiers; | 85 int modifiers; |
84 AcceleratorAction action; | 86 AcceleratorAction action; |
(...skipping 21 matching lines...) Expand all Loading... |
106 // Actions allowed while screen is locked (in addition to | 108 // Actions allowed while screen is locked (in addition to |
107 // kActionsAllowedAtLoginOrLockScreen). | 109 // kActionsAllowedAtLoginOrLockScreen). |
108 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; | 110 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; |
109 | 111 |
110 // The number of elements in kActionsAllowedAtLockScreen. | 112 // The number of elements in kActionsAllowedAtLockScreen. |
111 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; | 113 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; |
112 | 114 |
113 } // namespace ash | 115 } // namespace ash |
114 | 116 |
115 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 117 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
OLD | NEW |