| 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 383d0734049e3773f959490fe08c6dd073ea7f37..06a94398e5c3b8d97a9cfa927ab35378a656d15f 100644
|
| --- a/ui/aura/test/ui_controls_factory_aurax11.cc
|
| +++ b/ui/aura/test/ui_controls_factory_aurax11.cc
|
| @@ -56,6 +56,7 @@
|
| bool shift,
|
| bool alt,
|
| bool command) OVERRIDE {
|
| + DCHECK(!command); // No command key on Aura
|
| return SendKeyPressNotifyWhenDone(
|
| window, key, control, shift, alt, command, base::Closure());
|
| }
|
| @@ -67,6 +68,7 @@
|
| bool alt,
|
| bool command,
|
| const base::Closure& closure) OVERRIDE {
|
| + DCHECK(!command); // No command key on Aura
|
| XEvent xevent = {0};
|
| xevent.xkey.type = KeyPress;
|
| if (control)
|
| @@ -75,8 +77,6 @@
|
| 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,8 +91,6 @@
|
| UnmaskAndSetKeycodeThenSend(&xevent, ShiftMask, XK_Shift_L);
|
| if (control)
|
| UnmaskAndSetKeycodeThenSend(&xevent, ControlMask, XK_Control_L);
|
| - if (command)
|
| - UnmaskAndSetKeycodeThenSend(&xevent, Mod4Mask, XK_Super_L);
|
| DCHECK(!xevent.xkey.state);
|
| RunClosureAfterAllPendingUIEvents(closure);
|
| return true;
|
|
|