Home | History | Annotate | Download | only in extensions

Lines Matching refs:accelerator

14 class Accelerator;
26 // Called when your global shortcut (|accelerator|) is struck.
27 virtual void OnKeyPressed(const ui::Accelerator& accelerator) = 0;
34 // Register an observer for when a certain |accelerator| is struck. Returns
35 // true if register successfully, or false if 1) the specificied |accelerator|
39 // Note that we do not support recognizing that an accelerator has been
42 bool RegisterAccelerator(const ui::Accelerator& accelerator,
45 // Stop listening for the given |accelerator|, does nothing if shortcut
47 void UnregisterAccelerator(const ui::Accelerator& accelerator,
67 void NotifyKeyPressed(const ui::Accelerator& accelerator);
82 virtual bool RegisterAcceleratorImpl(const ui::Accelerator& accelerator) = 0;
84 const ui::Accelerator& accelerator) = 0;
88 typedef std::map<ui::Accelerator, Observer*> AcceleratorMap;