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

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

Issue 10414064: Handle more browser commands in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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 #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"
11 11
12 namespace ash { 12 namespace ash {
13 13
14 // Please put if/def sections at the end of the bare section and keep the list 14 // Please put if/def sections at the end of the bare section and keep the list
15 // within each section in alphabetical order. 15 // within each section in alphabetical order.
16 enum AcceleratorAction { 16 enum AcceleratorAction {
17 BRIGHTNESS_DOWN, 17 BRIGHTNESS_DOWN,
18 BRIGHTNESS_UP, 18 BRIGHTNESS_UP,
19 CYCLE_BACKWARD_LINEAR, 19 CYCLE_BACKWARD_LINEAR,
20 CYCLE_BACKWARD_MRU, 20 CYCLE_BACKWARD_MRU,
21 CYCLE_FORWARD_LINEAR, 21 CYCLE_FORWARD_LINEAR,
22 CYCLE_FORWARD_MRU, 22 CYCLE_FORWARD_MRU,
23 EXIT, 23 EXIT,
24 FOCUS_LAUNCHER, 24 FOCUS_LAUNCHER,
25 FOCUS_TRAY, 25 FOCUS_TRAY,
26 NEW_INCOGNITO_WINDOW, 26 NEW_INCOGNITO_WINDOW,
27 NEW_TAB,
27 NEW_WINDOW, 28 NEW_WINDOW,
28 NEXT_IME, 29 NEXT_IME,
30 OPEN_BOOKMARK_MANAGER,
31 OPEN_CLEAR_BROWSING_DATA,
32 OPEN_DOWNLOADS,
33 OPEN_HELP_PAGE,
34 OPEN_HISTORY,
35 OPEN_HOME,
29 PREVIOUS_IME, 36 PREVIOUS_IME,
37 RESTORE_TAB,
30 ROTATE_WINDOWS, 38 ROTATE_WINDOWS,
31 SEARCH_KEY, 39 SEARCH_KEY,
32 SELECT_LAST_WIN, 40 SELECT_LAST_WIN,
33 SELECT_WIN_0, 41 SELECT_WIN_0,
34 SELECT_WIN_1, 42 SELECT_WIN_1,
35 SELECT_WIN_2, 43 SELECT_WIN_2,
36 SELECT_WIN_3, 44 SELECT_WIN_3,
37 SELECT_WIN_4, 45 SELECT_WIN_4,
38 SELECT_WIN_5, 46 SELECT_WIN_5,
39 SELECT_WIN_6, 47 SELECT_WIN_6,
40 SELECT_WIN_7, 48 SELECT_WIN_7,
41 SHOW_KEYBOARD_OVERLAY, 49 SHOW_KEYBOARD_OVERLAY,
42 SHOW_OAK, 50 SHOW_OAK,
51 SHOW_TASK_MANAGER,
43 SWITCH_IME, // Switch to another IME depending on the accelerator. 52 SWITCH_IME, // Switch to another IME depending on the accelerator.
44 TAKE_PARTIAL_SCREENSHOT, 53 TAKE_PARTIAL_SCREENSHOT,
45 TAKE_SCREENSHOT, 54 TAKE_SCREENSHOT,
46 TOGGLE_APP_LIST, 55 TOGGLE_APP_LIST,
47 TOGGLE_CAPS_LOCK, 56 TOGGLE_CAPS_LOCK,
48 TOGGLE_SPOKEN_FEEDBACK, 57 TOGGLE_SPOKEN_FEEDBACK,
49 VOLUME_DOWN, 58 VOLUME_DOWN,
50 VOLUME_MUTE, 59 VOLUME_MUTE,
51 VOLUME_UP, 60 VOLUME_UP,
52 WINDOW_MAXIMIZE_RESTORE, 61 WINDOW_MAXIMIZE_RESTORE,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 95
87 // Actions allowed while user is not signed in or screen is locked. 96 // Actions allowed while user is not signed in or screen is locked.
88 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLoginScreen[]; 97 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLoginScreen[];
89 98
90 // The number of elements in kActionsAllowedAtLoginScreen. 99 // The number of elements in kActionsAllowedAtLoginScreen.
91 ASH_EXPORT extern const size_t kActionsAllowedAtLoginScreenLength; 100 ASH_EXPORT extern const size_t kActionsAllowedAtLoginScreenLength;
92 101
93 } // namespace ash 102 } // namespace ash
94 103
95 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ 104 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698