Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: ash/accelerators/accelerator_table.h

Issue 14674002: Support Shift+Search+Arrows to navigate and Control to silence speech everywhere (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed non-ash ChromeShellDelegate Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/base/events/event_constants.h" 10 #include "ui/base/events/event_constants.h"
11 #include "ui/base/keycodes/keyboard_codes.h" 11 #include "ui/base/keycodes/keyboard_codes.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 // Please put if/def sections at the end of the bare section and keep the list 15 // Please put if/def sections at the end of the bare section and keep the list
16 // within each section in alphabetical order. 16 // within each section in alphabetical order.
17 enum AcceleratorAction { 17 enum AcceleratorAction {
18 ACCESSIBLE_FOCUS_NEXT,
19 ACCESSIBLE_FOCUS_PREVIOUS,
18 BRIGHTNESS_DOWN, 20 BRIGHTNESS_DOWN,
19 BRIGHTNESS_UP, 21 BRIGHTNESS_UP,
20 CYCLE_BACKWARD_LINEAR, 22 CYCLE_BACKWARD_LINEAR,
21 CYCLE_BACKWARD_MRU, 23 CYCLE_BACKWARD_MRU,
22 CYCLE_FORWARD_LINEAR, 24 CYCLE_FORWARD_LINEAR,
23 CYCLE_FORWARD_MRU, 25 CYCLE_FORWARD_MRU,
24 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR, 26 DEBUG_TOGGLE_DEVICE_SCALE_FACTOR,
25 DEBUG_TOGGLE_SHOW_DEBUG_BORDERS, 27 DEBUG_TOGGLE_SHOW_DEBUG_BORDERS,
26 DEBUG_TOGGLE_SHOW_FPS_COUNTER, 28 DEBUG_TOGGLE_SHOW_FPS_COUNTER,
27 DEBUG_TOGGLE_SHOW_PAINT_RECTS, 29 DEBUG_TOGGLE_SHOW_PAINT_RECTS,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 SELECT_WIN_3, 66 SELECT_WIN_3,
65 SELECT_WIN_4, 67 SELECT_WIN_4,
66 SELECT_WIN_5, 68 SELECT_WIN_5,
67 SELECT_WIN_6, 69 SELECT_WIN_6,
68 SELECT_WIN_7, 70 SELECT_WIN_7,
69 SHOW_KEYBOARD_OVERLAY, 71 SHOW_KEYBOARD_OVERLAY,
70 SHOW_MESSAGE_CENTER_BUBBLE, 72 SHOW_MESSAGE_CENTER_BUBBLE,
71 SHOW_OAK, 73 SHOW_OAK,
72 SHOW_SYSTEM_TRAY_BUBBLE, 74 SHOW_SYSTEM_TRAY_BUBBLE,
73 SHOW_TASK_MANAGER, 75 SHOW_TASK_MANAGER,
76 SILENCE_SPOKEN_FEEDBACK,
74 SWAP_PRIMARY_DISPLAY, 77 SWAP_PRIMARY_DISPLAY,
75 SWITCH_IME, // Switch to another IME depending on the accelerator. 78 SWITCH_IME, // Switch to another IME depending on the accelerator.
76 TAKE_PARTIAL_SCREENSHOT, 79 TAKE_PARTIAL_SCREENSHOT,
77 TAKE_SCREENSHOT, 80 TAKE_SCREENSHOT,
78 TOGGLE_APP_LIST, 81 TOGGLE_APP_LIST,
79 TOGGLE_CAPS_LOCK, 82 TOGGLE_CAPS_LOCK,
80 TOGGLE_CAPS_LOCK_BY_ALT_LWIN, 83 TOGGLE_CAPS_LOCK_BY_ALT_LWIN,
81 TOGGLE_DESKTOP_BACKGROUND_MODE, 84 TOGGLE_DESKTOP_BACKGROUND_MODE,
82 TOGGLE_FULLSCREEN, 85 TOGGLE_FULLSCREEN,
83 TOGGLE_MAXIMIZED, 86 TOGGLE_MAXIMIZED,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 168
166 // Actions allowed in app mode. 169 // Actions allowed in app mode.
167 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[]; 170 ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[];
168 171
169 // The number of elements in kActionsAllowedInAppMode. 172 // The number of elements in kActionsAllowedInAppMode.
170 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength; 173 ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength;
171 174
172 } // namespace ash 175 } // namespace ash
173 176
174 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 177 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698