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

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

Issue 77453013: Add an accessibility alert for incorrect use of some accelerators. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits Created 7 years, 1 month 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 | « ash/accelerators/accelerator_table.h ('k') | ash/accessibility_delegate.h » ('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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 TOGGLE_SPOKEN_FEEDBACK, 406 TOGGLE_SPOKEN_FEEDBACK,
407 ADD_REMOVE_DISPLAY, 407 ADD_REMOVE_DISPLAY,
408 DISABLE_GPU_WATCHDOG, 408 DISABLE_GPU_WATCHDOG,
409 TOGGLE_MIRROR_MODE, 409 TOGGLE_MIRROR_MODE,
410 #endif // defined(OS_CHROMEOS) 410 #endif // defined(OS_CHROMEOS)
411 }; 411 };
412 412
413 const size_t kActionsAllowedInAppModeLength = 413 const size_t kActionsAllowedInAppModeLength =
414 arraysize(kActionsAllowedInAppMode); 414 arraysize(kActionsAllowedInAppMode);
415 415
416 const AcceleratorAction kActionsNeedingWindow[] = {
417 ACCESSIBLE_FOCUS_NEXT,
418 ACCESSIBLE_FOCUS_PREVIOUS,
419 CYCLE_BACKWARD_MRU,
420 CYCLE_FORWARD_MRU,
421 CYCLE_LINEAR,
422 WINDOW_SNAP_LEFT,
423 WINDOW_SNAP_RIGHT,
424 WINDOW_MINIMIZE,
425 TOGGLE_FULLSCREEN,
426 TOGGLE_MAXIMIZED,
427 WINDOW_POSITION_CENTER,
428 ROTATE_WINDOW,
429 };
430
431 const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow);
432
416 } // namespace ash 433 } // namespace ash
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_table.h ('k') | ash/accessibility_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698