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

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

Issue 140123009: kiosk: Disable Ctrl+W and Ctrl+Shift+Q shortcut. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | chrome/browser/ui/views/apps/native_app_window_views.cc » ('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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 const size_t kNonrepeatableActionsLength = 369 const size_t kNonrepeatableActionsLength =
370 arraysize(kNonrepeatableActions); 370 arraysize(kNonrepeatableActions);
371 371
372 const AcceleratorAction kActionsAllowedInAppMode[] = { 372 const AcceleratorAction kActionsAllowedInAppMode[] = {
373 BRIGHTNESS_DOWN, 373 BRIGHTNESS_DOWN,
374 BRIGHTNESS_UP, 374 BRIGHTNESS_UP,
375 CYCLE_BACKWARD_MRU, 375 CYCLE_BACKWARD_MRU,
376 CYCLE_FORWARD_MRU, 376 CYCLE_FORWARD_MRU,
377 CYCLE_LINEAR, 377 CYCLE_LINEAR,
378 DISABLE_CAPS_LOCK, 378 DISABLE_CAPS_LOCK,
379 EXIT,
380 KEYBOARD_BRIGHTNESS_DOWN, 379 KEYBOARD_BRIGHTNESS_DOWN,
381 KEYBOARD_BRIGHTNESS_UP, 380 KEYBOARD_BRIGHTNESS_UP,
382 MAGNIFY_SCREEN_ZOOM_IN, // Control+F7 381 MAGNIFY_SCREEN_ZOOM_IN, // Control+F7
383 MAGNIFY_SCREEN_ZOOM_OUT, // Control+F6 382 MAGNIFY_SCREEN_ZOOM_OUT, // Control+F6
384 MEDIA_NEXT_TRACK, 383 MEDIA_NEXT_TRACK,
385 MEDIA_PLAY_PAUSE, 384 MEDIA_PLAY_PAUSE,
386 MEDIA_PREV_TRACK, 385 MEDIA_PREV_TRACK,
387 NEXT_IME, 386 NEXT_IME,
388 POWER_PRESSED, 387 POWER_PRESSED,
389 POWER_RELEASED, 388 POWER_RELEASED,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 WINDOW_MINIMIZE, 425 WINDOW_MINIMIZE,
427 TOGGLE_FULLSCREEN, 426 TOGGLE_FULLSCREEN,
428 TOGGLE_MAXIMIZED, 427 TOGGLE_MAXIMIZED,
429 WINDOW_POSITION_CENTER, 428 WINDOW_POSITION_CENTER,
430 ROTATE_WINDOW, 429 ROTATE_WINDOW,
431 }; 430 };
432 431
433 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow); 432 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow);
434 433
435 } // namespace ash 434 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/apps/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698