| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 TOGGLE_HIGH_CONTRAST, | 142 TOGGLE_HIGH_CONTRAST, |
| 143 TOGGLE_MIRROR_MODE, | 143 TOGGLE_MIRROR_MODE, |
| 144 TOGGLE_SPOKEN_FEEDBACK, | 144 TOGGLE_SPOKEN_FEEDBACK, |
| 145 TOGGLE_WIFI, | 145 TOGGLE_WIFI, |
| 146 TOUCH_HUD_CLEAR, | 146 TOUCH_HUD_CLEAR, |
| 147 TOUCH_HUD_MODE_CHANGE, | 147 TOUCH_HUD_MODE_CHANGE, |
| 148 TOUCH_HUD_PROJECTION_TOGGLE, | 148 TOUCH_HUD_PROJECTION_TOGGLE, |
| 149 VOLUME_DOWN, | 149 VOLUME_DOWN, |
| 150 VOLUME_MUTE, | 150 VOLUME_MUTE, |
| 151 VOLUME_UP, | 151 VOLUME_UP, |
| 152 #else | |
| 153 DUMMY_FOR_RESERVED, | |
| 154 #endif | 152 #endif |
| 155 }; | 153 }; |
| 156 | 154 |
| 157 struct AcceleratorData { | 155 struct AcceleratorData { |
| 158 bool trigger_on_press; | 156 bool trigger_on_press; |
| 159 ui::KeyboardCode keycode; | 157 ui::KeyboardCode keycode; |
| 160 int modifiers; | 158 int modifiers; |
| 161 AcceleratorAction action; | 159 AcceleratorAction action; |
| 162 }; | 160 }; |
| 163 | 161 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; | 259 ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[]; |
| 262 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; | 260 ASH_EXPORT extern const size_t kActionsNeedingWindowLength; |
| 263 | 261 |
| 264 // Actions that can be performed while keeping the menu open. | 262 // Actions that can be performed while keeping the menu open. |
| 265 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; | 263 ASH_EXPORT extern const AcceleratorAction kActionsKeepingMenuOpen[]; |
| 266 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; | 264 ASH_EXPORT extern const size_t kActionsKeepingMenuOpenLength; |
| 267 | 265 |
| 268 } // namespace ash | 266 } // namespace ash |
| 269 | 267 |
| 270 #endif // ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ | 268 #endif // ASH_COMMON_ACCELERATORS_ACCELERATOR_TABLE_H_ |
| OLD | NEW |