Home | History | Annotate | Download | only in ash

Lines Matching refs:accelerator

8 #include "ui/base/accelerators/accelerator.h"
16 bool ImeController::HandlePreviousIme(const ui::Accelerator& accelerator) {
19 return manager->SwitchToPreviousInputMethod(accelerator);
22 bool ImeController::HandleSwitchIme(const ui::Accelerator& accelerator) {
25 return manager->SwitchInputMethod(accelerator);
28 ui::Accelerator ImeController::RemapAccelerator(
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.
44 ui::Accelerator remapped_accelerator(key, modifiers);
45 remapped_accelerator.set_type(accelerator.type());