Chromium Code Reviews| Index: ui/aura/test/ui_controls_factory_aurax11.cc |
| diff --git a/ui/aura/test/ui_controls_factory_aurax11.cc b/ui/aura/test/ui_controls_factory_aurax11.cc |
| index 06a94398e5c3b8d97a9cfa927ab35378a656d15f..11047efe8514c1fc230045058afc33dbddcd3813 100644 |
| --- a/ui/aura/test/ui_controls_factory_aurax11.cc |
| +++ b/ui/aura/test/ui_controls_factory_aurax11.cc |
| @@ -77,6 +77,8 @@ class UIControlsX11 : public UIControlsAura { |
| SetKeycodeAndSendThenMask(&xevent, XK_Shift_L, ShiftMask); |
| if (alt) |
| SetKeycodeAndSendThenMask(&xevent, XK_Alt_L, Mod1Mask); |
| + if (command) |
| + SetKeycodeAndSendThenMask(&xevent, XK_Super_L, Mod4Mask); |
| xevent.xkey.keycode = |
| XKeysymToKeycode(gfx::GetXDisplay(), |
| ui::XKeysymForWindowsKeyCode(key, shift)); |
| @@ -91,6 +93,8 @@ class UIControlsX11 : public UIControlsAura { |
| UnmaskAndSetKeycodeThenSend(&xevent, ShiftMask, XK_Shift_L); |
| if (control) |
| UnmaskAndSetKeycodeThenSend(&xevent, ControlMask, XK_Control_L); |
| + if (command) |
| + UnmaskAndSetKeycodeThenSend(&xevent, Mod4Mask, XK_Super_L); |
|
David Tseng
2014/08/19 17:48:38
Was this removed recently? If not, how did ChromeV
dmazzoni
2014/08/19 20:16:53
This is just a test helper. Tests that used this l
|
| DCHECK(!xevent.xkey.state); |
| RunClosureAfterAllPendingUIEvents(closure); |
| return true; |