Home | History | Annotate | Download | only in accelerators

Lines Matching refs:accelerator

13 #include "ui/base/accelerators/accelerator.h"
30 // Register a keyboard accelerator for the specified target. If multiple
31 // targets are registered for an accelerator, a target registered later has
33 // |accelerator| is the accelerator to register.
40 // accelerator is pressed.
47 void Register(const Accelerator& accelerator,
51 // Unregister the specified keyboard accelerator for the specified target.
52 void Unregister(const Accelerator& accelerator, AcceleratorTarget* target);
54 // Unregister all keyboard accelerator for the specified target.
57 // Activate the target associated with the specified accelerator.
62 // Returns true if an accelerator was activated.
63 bool Process(const Accelerator& accelerator);
66 // keyboard accelerator, or NULL if no view is registered for that keyboard
67 // accelerator.
68 AcceleratorTarget* GetCurrentTarget(const Accelerator& accelertor) const;
70 // Whether the given |accelerator| has a priority handler associated with it.
71 bool HasPriorityHandler(const Accelerator& accelerator) const;
79 typedef std::map<Accelerator, AcceleratorTargets> AcceleratorMap;