Lines Matching refs:modifiers
60 int modifiers = ui::EF_NONE;
64 modifiers |= ui::EF_CONTROL_DOWN;
71 modifiers |= ui::EF_COMMAND_DOWN;
78 modifiers |= ui::EF_COMMAND_DOWN;
86 modifiers |= ui::EF_ALT_DOWN;
88 modifiers |= ui::EF_SHIFT_DOWN;
154 bool command = (modifiers & ui::EF_COMMAND_DOWN) != 0;
155 bool ctrl = (modifiers & ui::EF_CONTROL_DOWN) != 0;
156 bool alt = (modifiers & ui::EF_ALT_DOWN) != 0;
157 bool shift = (modifiers & ui::EF_SHIFT_DOWN) != 0;
175 return ui::Accelerator(key, modifiers);