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

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

Issue 10987034: Need some keyboard shortcut for fullscreen: Shift-F4 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 const size_t kDebugAcceleratorDataLength = arraysize(kDebugAcceleratorData); 171 const size_t kDebugAcceleratorDataLength = arraysize(kDebugAcceleratorData);
172 172
173 const AcceleratorAction kReservedActions[] = { 173 const AcceleratorAction kReservedActions[] = {
174 // Window cycling accelerators. 174 // Window cycling accelerators.
175 CYCLE_BACKWARD_MRU, // Shift+Alt+Tab 175 CYCLE_BACKWARD_MRU, // Shift+Alt+Tab
176 CYCLE_FORWARD_MRU, // Alt+Tab 176 CYCLE_FORWARD_MRU, // Alt+Tab
177 177
178 #if defined(OS_CHROMEOS) 178 #if defined(OS_CHROMEOS)
179 POWER_PRESSED, 179 POWER_PRESSED,
180 POWER_RELEASED, 180 POWER_RELEASED,
181 TOGGLE_MAXIMIZED,
Yusuke Sato 2012/09/25 19:41:42 I removed TOGGLE_MAXIMIZED for crbug.com/152060. c
sschmitz 2012/09/25 20:52:44 Without it, F4 toggles fullscreen (i.e. the Chrome
181 #endif 182 #endif
182 }; 183 };
183 184
184 const size_t kReservedActionsLength = arraysize(kReservedActions); 185 const size_t kReservedActionsLength = arraysize(kReservedActions);
185 186
186 const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[] = { 187 const AcceleratorAction kActionsAllowedAtLoginOrLockScreen[] = {
187 BRIGHTNESS_DOWN, 188 BRIGHTNESS_DOWN,
188 BRIGHTNESS_UP, 189 BRIGHTNESS_UP,
189 #if defined(OS_CHROMEOS) 190 #if defined(OS_CHROMEOS)
190 CYCLE_DISPLAY_MODE, 191 CYCLE_DISPLAY_MODE,
(...skipping 27 matching lines...) Expand all
218 arraysize(kActionsAllowedAtLoginOrLockScreen); 219 arraysize(kActionsAllowedAtLoginOrLockScreen);
219 220
220 const AcceleratorAction kActionsAllowedAtLockScreen[] = { 221 const AcceleratorAction kActionsAllowedAtLockScreen[] = {
221 EXIT, 222 EXIT,
222 }; 223 };
223 224
224 const size_t kActionsAllowedAtLockScreenLength = 225 const size_t kActionsAllowedAtLockScreenLength =
225 arraysize(kActionsAllowedAtLockScreen); 226 arraysize(kActionsAllowedAtLockScreen);
226 227
227 } // namespace ash 228 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698