Lines Matching defs:accelerator
12 #include "ui/base/accelerators/accelerator.h"
29 const std::string& accelerator,
36 // Parse a string as an accelerator. If the accelerator is unparsable then
38 static ui::Accelerator StringToAccelerator(const std::string& accelerator,
41 // Returns the string representation of an accelerator without localizing the
42 // shortcut text (like accelerator::GetShortcutText() does).
43 static std::string AcceleratorToString(const ui::Accelerator& accelerator);
45 // Return true if the specified accelerator is one of the following multimedia
48 static bool IsMediaKey(const ui::Accelerator& accelerator);
63 const ui::Accelerator& accelerator() const { return accelerator_; }
68 void set_accelerator(ui::Accelerator accelerator) {
69 accelerator_ = accelerator;