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

Unified Diff: ash/accelerators/accelerator_controller.h

Issue 10825002: Separate debug shortcuts into another array in ash accelerator table. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 5 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 | « no previous file | ash/accelerators/accelerator_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller.h
diff --git a/ash/accelerators/accelerator_controller.h b/ash/accelerators/accelerator_controller.h
index 883e108b9234b90a5f688bb0d779182faa1e25ec..77769ec4949bd8d4083da7ca5d58032b4c6301b6 100644
--- a/ash/accelerators/accelerator_controller.h
+++ b/ash/accelerators/accelerator_controller.h
@@ -20,6 +20,7 @@ class AcceleratorManager;
namespace ash {
+struct AcceleratorData;
class BrightnessControlDelegate;
class CapsLockDelegate;
class ImeControlDelegate;
@@ -101,6 +102,10 @@ class ASH_EXPORT AcceleratorController : public ui::AcceleratorTarget {
// A negative index switches to the last window in the list.
void SwitchToWindow(int window);
+ // Registers the specified accelerators.
+ void RegisterAccelerators(const AcceleratorData accelerators[],
+ size_t accelerators_length);
+
scoped_ptr<ui::AcceleratorManager> accelerator_manager_;
// TODO(derat): BrightnessControlDelegate is also used by the system tray;
« no previous file with comments | « no previous file | ash/accelerators/accelerator_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698