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

Unified Diff: ash/accelerators/accelerator_table.h

Issue 2072853002: Implement "pinned" mode in ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_table.h
diff --git a/ash/accelerators/accelerator_table.h b/ash/accelerators/accelerator_table.h
index 1fcba5ae5460343873a93551dff6b19e97387a17..5608f6dd86a413cb20d297dd5004a8700bcc40c7 100644
--- a/ash/accelerators/accelerator_table.h
+++ b/ash/accelerators/accelerator_table.h
@@ -235,9 +235,16 @@ ASH_EXPORT extern const size_t kActionsAllowedAtModalWindowLength;
ASH_EXPORT extern const AcceleratorAction kNonrepeatableActions[];
ASH_EXPORT extern const size_t kNonrepeatableActionsLength;
-// Actions allowed in app mode.
-ASH_EXPORT extern const AcceleratorAction kActionsAllowedInAppMode[];
-ASH_EXPORT extern const size_t kActionsAllowedInAppModeLength;
+// Actions allowed in app mode or pinned mode.
+ASH_EXPORT extern const AcceleratorAction
+ kActionsAllowedInAppModeOrPinnedMode[];
+ASH_EXPORT extern const size_t kActionsAllowedInAppModeOrPinnedModeLength;
+
+// Actions that can be performed in pinned mode.
+// In pinned mode, the action listed this or "in app mode or pinned mode" table
+// can be performed.
+ASH_EXPORT extern const AcceleratorAction kActionsAllowedInPinnedMode[];
+ASH_EXPORT extern const size_t kActionsAllowedInPinnedModeLength;
// Actions that require at least 1 window.
ASH_EXPORT extern const AcceleratorAction kActionsNeedingWindow[];
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/accelerators/accelerator_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698