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

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

Issue 9860005: Disables ctrl-shift-q on login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nicer diff Created 8 years, 9 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 | « no previous file | no next file » | 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 #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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 { ui::ET_TRANSLATED_KEY_PRESS, ui::VKEY_F4, true, true, false, 112 { ui::ET_TRANSLATED_KEY_PRESS, ui::VKEY_F4, true, true, false,
113 CYCLE_MONITOR }, 113 CYCLE_MONITOR },
114 #endif 114 #endif
115 }; 115 };
116 116
117 const size_t kAcceleratorDataLength = arraysize(kAcceleratorData); 117 const size_t kAcceleratorDataLength = arraysize(kAcceleratorData);
118 118
119 const AcceleratorAction kActionsAllowedAtLoginScreen[] = { 119 const AcceleratorAction kActionsAllowedAtLoginScreen[] = {
120 BRIGHTNESS_DOWN, 120 BRIGHTNESS_DOWN,
121 BRIGHTNESS_UP, 121 BRIGHTNESS_UP,
122 EXIT,
123 NEXT_IME, 122 NEXT_IME,
124 PREVIOUS_IME, 123 PREVIOUS_IME,
125 SWITCH_IME, // Switch to another IME depending on the accelerator. 124 SWITCH_IME, // Switch to another IME depending on the accelerator.
126 TAKE_SCREENSHOT, 125 TAKE_SCREENSHOT,
127 TAKE_PARTIAL_SCREENSHOT, 126 TAKE_PARTIAL_SCREENSHOT,
128 VOLUME_DOWN, 127 VOLUME_DOWN,
129 VOLUME_MUTE, 128 VOLUME_MUTE,
130 VOLUME_UP, 129 VOLUME_UP,
131 ROTATE_WINDOWS, 130 ROTATE_WINDOWS,
132 #if !defined(NDEBUG) 131 #if !defined(NDEBUG)
133 PRINT_LAYER_HIERARCHY, 132 PRINT_LAYER_HIERARCHY,
134 PRINT_WINDOW_HIERARCHY, 133 PRINT_WINDOW_HIERARCHY,
135 ROTATE_SCREEN, 134 ROTATE_SCREEN,
136 #endif 135 #endif
137 }; 136 };
138 137
139 const size_t kActionsAllowedAtLoginScreenLength = 138 const size_t kActionsAllowedAtLoginScreenLength =
140 arraysize(kActionsAllowedAtLoginScreen); 139 arraysize(kActionsAllowedAtLoginScreen);
141 140
142 } // namespace ash 141 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698