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 28 matching lines...) Expand all Loading... |
39 SELECT_WIN_6, | 39 SELECT_WIN_6, |
40 SELECT_WIN_7, | 40 SELECT_WIN_7, |
41 SHOW_OAK, | 41 SHOW_OAK, |
42 SWITCH_IME, // Switch to another IME depending on the accelerator. | 42 SWITCH_IME, // Switch to another IME depending on the accelerator. |
43 TAKE_PARTIAL_SCREENSHOT, | 43 TAKE_PARTIAL_SCREENSHOT, |
44 TAKE_SCREENSHOT, | 44 TAKE_SCREENSHOT, |
45 TOGGLE_CAPS_LOCK, | 45 TOGGLE_CAPS_LOCK, |
46 VOLUME_DOWN, | 46 VOLUME_DOWN, |
47 VOLUME_MUTE, | 47 VOLUME_MUTE, |
48 VOLUME_UP, | 48 VOLUME_UP, |
| 49 WINDOW_MAXIMIZE_RESTORE, |
| 50 WINDOW_MINIMIZE, |
| 51 WINDOW_POSITION_CENTER, |
| 52 WINDOW_SNAP_LEFT, |
| 53 WINDOW_SNAP_RIGHT, |
49 #if defined(OS_CHROMEOS) | 54 #if defined(OS_CHROMEOS) |
50 LOCK_SCREEN, | 55 LOCK_SCREEN, |
51 OPEN_CROSH, | 56 OPEN_CROSH, |
52 OPEN_FILE_MANAGER, | 57 OPEN_FILE_MANAGER, |
53 #endif | 58 #endif |
54 #if !defined(NDEBUG) | 59 #if !defined(NDEBUG) |
55 ADD_REMOVE_MONITOR, | 60 ADD_REMOVE_MONITOR, |
56 CYCLE_MONITOR, | 61 CYCLE_MONITOR, |
57 PRINT_LAYER_HIERARCHY, | 62 PRINT_LAYER_HIERARCHY, |
58 PRINT_WINDOW_HIERARCHY, | 63 PRINT_WINDOW_HIERARCHY, |
(...skipping 20 matching lines...) Expand all Loading... |
79 | 84 |
80 // Actions allowed while user is not signed in or screen is locked. | 85 // Actions allowed while user is not signed in or screen is locked. |
81 extern const AcceleratorAction kActionsAllowedAtLoginScreen[]; | 86 extern const AcceleratorAction kActionsAllowedAtLoginScreen[]; |
82 | 87 |
83 // The number of elements in kActionsAllowedAtLoginScreen. | 88 // The number of elements in kActionsAllowedAtLoginScreen. |
84 extern const size_t kActionsAllowedAtLoginScreenLength; | 89 extern const size_t kActionsAllowedAtLoginScreenLength; |
85 | 90 |
86 } // namespace ash | 91 } // namespace ash |
87 | 92 |
88 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 93 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
OLD | NEW |