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 #include "ash/accelerators/accelerator_table.h" | 5 #include "ash/accelerators/accelerator_table.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace ash { | 9 namespace ash { |
10 | 10 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 { true, ui::VKEY_O, ui::EF_CONTROL_DOWN, OPEN_FILE_DIALOG }, | 67 { true, ui::VKEY_O, ui::EF_CONTROL_DOWN, OPEN_FILE_DIALOG }, |
68 { true, ui::VKEY_M, ui::EF_SHIFT_DOWN | ui::EF_ALT_DOWN, | 68 { true, ui::VKEY_M, ui::EF_SHIFT_DOWN | ui::EF_ALT_DOWN, |
69 OPEN_FILE_MANAGER }, | 69 OPEN_FILE_MANAGER }, |
70 { true, ui::VKEY_T, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, OPEN_CROSH }, | 70 { true, ui::VKEY_T, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, OPEN_CROSH }, |
71 { true, ui::VKEY_G, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, | 71 { true, ui::VKEY_G, ui::EF_SHIFT_DOWN | ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, |
72 DISABLE_GPU_WATCHDOG }, | 72 DISABLE_GPU_WATCHDOG }, |
73 { true, ui::VKEY_I, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, | 73 { true, ui::VKEY_I, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, |
74 TOUCH_HUD_MODE_CHANGE }, | 74 TOUCH_HUD_MODE_CHANGE }, |
75 { true, ui::VKEY_I, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN | ui::EF_SHIFT_DOWN, | 75 { true, ui::VKEY_I, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN | ui::EF_SHIFT_DOWN, |
76 TOUCH_HUD_CLEAR }, | 76 TOUCH_HUD_CLEAR }, |
77 { true, ui::VKEY_9, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, | 77 { true, ui::VKEY_9, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN, |
78 TOUCH_HUD_PROJECTION_TOGGLE }, | 78 TOUCH_HUD_PROJECTION_TOGGLE }, |
79 // Accessibility: Spoken feedback shortcuts. The first one is to toggle | 79 // Accessibility: Spoken feedback shortcuts. The first one is to toggle |
80 // spoken feedback on or off. The others are only valid when | 80 // spoken feedback on or off. The others are only valid when |
81 // spoken feedback is enabled. | 81 // spoken feedback is enabled. |
82 { true, ui::VKEY_Z, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, | 82 { true, ui::VKEY_Z, ui::EF_CONTROL_DOWN | ui::EF_ALT_DOWN, |
83 TOGGLE_SPOKEN_FEEDBACK }, | 83 TOGGLE_SPOKEN_FEEDBACK }, |
84 { true, ui::VKEY_CONTROL, ui::EF_CONTROL_DOWN, SILENCE_SPOKEN_FEEDBACK}, | 84 { true, ui::VKEY_CONTROL, ui::EF_CONTROL_DOWN, SILENCE_SPOKEN_FEEDBACK}, |
85 #endif // defined(OS_CHROMEOS) | 85 #endif // defined(OS_CHROMEOS) |
86 { true, ui::VKEY_I, ui::EF_SHIFT_DOWN | ui::EF_ALT_DOWN, OPEN_FEEDBACK_PAGE }, | 86 { true, ui::VKEY_I, ui::EF_SHIFT_DOWN | ui::EF_ALT_DOWN, OPEN_FEEDBACK_PAGE }, |
87 #if !defined(OS_WIN) | 87 #if !defined(OS_WIN) |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 ADD_REMOVE_DISPLAY, | 403 ADD_REMOVE_DISPLAY, |
404 DISABLE_GPU_WATCHDOG, | 404 DISABLE_GPU_WATCHDOG, |
405 TOGGLE_MIRROR_MODE, | 405 TOGGLE_MIRROR_MODE, |
406 #endif // defined(OS_CHROMEOS) | 406 #endif // defined(OS_CHROMEOS) |
407 }; | 407 }; |
408 | 408 |
409 const size_t kActionsAllowedInAppModeLength = | 409 const size_t kActionsAllowedInAppModeLength = |
410 arraysize(kActionsAllowedInAppMode); | 410 arraysize(kActionsAllowedInAppMode); |
411 | 411 |
412 } // namespace ash | 412 } // namespace ash |
OLD | NEW |