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

Unified Diff: ash/common/accelerators/debug_commands.h

Issue 2323863002: Separate debugging and developer accelerators (Closed)
Patch Set: Oshima's comments AND Rebase Created 4 years, 3 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
Index: ash/common/accelerators/debug_commands.h
diff --git a/ash/common/accelerators/debug_commands.h b/ash/common/accelerators/debug_commands.h
index b9938a24f5b3548c90b57f6044b1d16012d4e256..3ef73ae409eb006a199ab2379498d5a0f3f97bd8 100644
--- a/ash/common/accelerators/debug_commands.h
+++ b/ash/common/accelerators/debug_commands.h
@@ -23,6 +23,9 @@ ASH_EXPORT void PrintUIHierarchies();
// Returns true if debug accelerators are enabled.
ASH_EXPORT bool DebugAcceleratorsEnabled();
+// Returns true if developer accelerators are enabled.
+ASH_EXPORT bool DeveloperAcceleratorsEnabled();
+
// Performs |action| if |action| belongs to a debug-only accelerator and debug
// accelerators are enabled.
ASH_EXPORT void PerformDebugActionIfEnabled(AcceleratorAction action);

Powered by Google App Engine
This is Rietveld 408576698