| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 TOGGLE_OVERVIEW, | 137 TOGGLE_OVERVIEW, |
| 138 TOGGLE_SPOKEN_FEEDBACK, | 138 TOGGLE_SPOKEN_FEEDBACK, |
| 139 TOGGLE_WIFI, | 139 TOGGLE_WIFI, |
| 140 TOUCH_HUD_CLEAR, | 140 TOUCH_HUD_CLEAR, |
| 141 TOUCH_HUD_MODE_CHANGE, | 141 TOUCH_HUD_MODE_CHANGE, |
| 142 TOUCH_HUD_PROJECTION_TOGGLE, | 142 TOUCH_HUD_PROJECTION_TOGGLE, |
| 143 UNPIN, | 143 UNPIN, |
| 144 VOLUME_DOWN, | 144 VOLUME_DOWN, |
| 145 VOLUME_MUTE, | 145 VOLUME_MUTE, |
| 146 VOLUME_UP, | 146 VOLUME_UP, |
| 147 WINDOW_CYCLE_SNAP_DOCK_LEFT, | 147 WINDOW_CYCLE_SNAP_LEFT, |
| 148 WINDOW_CYCLE_SNAP_DOCK_RIGHT, | 148 WINDOW_CYCLE_SNAP_RIGHT, |
| 149 WINDOW_MINIMIZE, | 149 WINDOW_MINIMIZE, |
| 150 WINDOW_POSITION_CENTER, | 150 WINDOW_POSITION_CENTER, |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 struct AcceleratorData { | 153 struct AcceleratorData { |
| 154 bool trigger_on_press; | 154 bool trigger_on_press; |
| 155 ui::KeyboardCode keycode; | 155 ui::KeyboardCode keycode; |
| 156 int modifiers; | 156 int modifiers; |
| 157 AcceleratorAction action; | 157 AcceleratorAction action; |
| 158 }; | 158 }; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; | 255 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; |
| 256 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; | 256 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; |
| 257 | 257 |
| 258 // Actions that can be performed while keeping the menu open. | 258 // Actions that can be performed while keeping the menu open. |
| 259 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; | 259 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; |
| 260 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; | 260 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; |
| 261 | 261 |
| 262 } // namespace ash | 262 } // namespace ash |
| 263 | 263 |
| 264 #endif // ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ | 264 #endif // ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ |
| OLD | NEW |