Home | History | Annotate | Download | only in extensions

Lines Matching refs:accelerator

9 #include "ui/base/accelerators/accelerator.h"
61 ui::Accelerator accelerator(
64 NotifyKeyPressed(accelerator);
68 const ui::Accelerator& accelerator) {
69 DCHECK(hotkey_ids_.find(accelerator) == hotkey_ids_.end());
72 modifiers |= accelerator.IsShiftDown() ? MOD_SHIFT : 0;
73 modifiers |= accelerator.IsCtrlDown() ? MOD_CONTROL : 0;
74 modifiers |= accelerator.IsAltDown() ? MOD_ALT : 0;
80 accelerator.key_code());
87 hotkey_ids_[accelerator] = hotkey_id++;
92 const ui::Accelerator& accelerator) {
93 HotkeyIdMap::iterator it = hotkey_ids_.find(accelerator);