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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/accelerators/accelerator_table.h ('k') | ash/accessibility_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_table.cc
diff --git a/ash/accelerators/accelerator_table.cc b/ash/accelerators/accelerator_table.cc
index b82c4d8853ee9f2ac77a579e07199e9ca30ef2b7..4ffc1ab54a87917e711e95d985ca4c9d3dce322a 100644
--- a/ash/accelerators/accelerator_table.cc
+++ b/ash/accelerators/accelerator_table.cc
@@ -413,4 +413,21 @@ const AcceleratorAction kActionsAllowedInAppMode[] = {
const size_t kActionsAllowedInAppModeLength =
arraysize(kActionsAllowedInAppMode);
+const AcceleratorAction kActionsNeedingWindow[] = {
+ ACCESSIBLE_FOCUS_NEXT,
+ ACCESSIBLE_FOCUS_PREVIOUS,
+ CYCLE_BACKWARD_MRU,
+ CYCLE_FORWARD_MRU,
+ CYCLE_LINEAR,
+ WINDOW_SNAP_LEFT,
+ WINDOW_SNAP_RIGHT,
+ WINDOW_MINIMIZE,
+ TOGGLE_FULLSCREEN,
+ TOGGLE_MAXIMIZED,
+ WINDOW_POSITION_CENTER,
+ ROTATE_WINDOW,
+};
+
+const size_t kActionsNeedingWindowLength = arraysize(kActionsNeedingWindow);
+
} // namespace ash
« 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