Lines Matching defs:accelerator
8 #include "ui/base/accelerators/accelerator.h"
16 bool ImeController::HandlePreviousIme(const ui::Accelerator& accelerator) {
19 return manager->GetActiveIMEState()->SwitchToPreviousInputMethod(accelerator);
22 bool ImeController::HandleSwitchIme(const ui::Accelerator& accelerator) {
25 return manager->GetActiveIMEState()->SwitchInputMethod(accelerator);
29 const ui::Accelerator& accelerator) {
30 ui::KeyboardCode key = accelerator.key_code();
31 int modifiers = accelerator.modifiers();
33 // with the shift key. To get the right accelerator from our static table
34 // we modify the received accelerator to match this.
40 // We toggle the shift key to get the correct accelerator from our table.
45 remapped_accelerator.set_type(accelerator.type());