| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 WINDOW_SNAP_LEFT, | 59 WINDOW_SNAP_LEFT, |
| 60 WINDOW_SNAP_RIGHT, | 60 WINDOW_SNAP_RIGHT, |
| 61 #if defined(OS_CHROMEOS) | 61 #if defined(OS_CHROMEOS) |
| 62 CYCLE_DISPLAY_MODE, | 62 CYCLE_DISPLAY_MODE, |
| 63 LOCK_SCREEN, | 63 LOCK_SCREEN, |
| 64 OPEN_CROSH, | 64 OPEN_CROSH, |
| 65 OPEN_FILE_MANAGER_DIALOG, | 65 OPEN_FILE_MANAGER_DIALOG, |
| 66 OPEN_FILE_MANAGER_TAB, | 66 OPEN_FILE_MANAGER_TAB, |
| 67 #endif | 67 #endif |
| 68 #if !defined(NDEBUG) | 68 #if !defined(NDEBUG) |
| 69 MAGNIFY_SCREEN_ZOOM_IN, |
| 70 MAGNIFY_SCREEN_ZOOM_OUT, |
| 69 MONITOR_ADD_REMOVE, | 71 MONITOR_ADD_REMOVE, |
| 70 MONITOR_CYCLE, | 72 MONITOR_CYCLE, |
| 71 MONITOR_TOGGLE_SCALE, | 73 MONITOR_TOGGLE_SCALE, |
| 72 PRINT_LAYER_HIERARCHY, | 74 PRINT_LAYER_HIERARCHY, |
| 73 PRINT_WINDOW_HIERARCHY, | 75 PRINT_WINDOW_HIERARCHY, |
| 74 ROTATE_SCREEN, | 76 ROTATE_SCREEN, |
| 75 TOGGLE_DESKTOP_BACKGROUND_MODE, | 77 TOGGLE_DESKTOP_BACKGROUND_MODE, |
| 76 TOGGLE_ROOT_WINDOW_FULL_SCREEN, | 78 TOGGLE_ROOT_WINDOW_FULL_SCREEN, |
| 77 #endif | 79 #endif |
| 78 }; | 80 }; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 99 // Actions allowed while screen is locked (in addition to | 101 // Actions allowed while screen is locked (in addition to |
| 100 // kActionsAllowedAtLoginOrLockScreen). | 102 // kActionsAllowedAtLoginOrLockScreen). |
| 101 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; | 103 ASH_EXPORT extern const AcceleratorAction kActionsAllowedAtLockScreen[]; |
| 102 | 104 |
| 103 // The number of elements in kActionsAllowedAtLockScreen. | 105 // The number of elements in kActionsAllowedAtLockScreen. |
| 104 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; | 106 ASH_EXPORT extern const size_t kActionsAllowedAtLockScreenLength; |
| 105 | 107 |
| 106 } // namespace ash | 108 } // namespace ash |
| 107 | 109 |
| 108 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ | 110 #endif // ASH_ACCELERATORS_ACCELERATOR_TABLE_H_ |
| OLD | NEW |