| Index: ui/aura/test/ui_controls_factory_ozone.cc
|
| diff --git a/ui/aura/test/ui_controls_factory_ozone.cc b/ui/aura/test/ui_controls_factory_ozone.cc
|
| index 4c5330c6159600651b5f19d356a00523b60cfa10..5179360e6fbe4754ac1ab3f1e6b51f4c3188ce8f 100644
|
| --- a/ui/aura/test/ui_controls_factory_ozone.cc
|
| +++ b/ui/aura/test/ui_controls_factory_ozone.cc
|
| @@ -36,6 +36,8 @@
|
| bool alt,
|
| bool command,
|
| const base::Closure& closure) OVERRIDE {
|
| + DCHECK(!command); // No command key on Aura
|
| +
|
| int flags = button_down_mask_;
|
|
|
| if (control) {
|
| @@ -53,11 +55,6 @@
|
| PostKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_MENU, flags);
|
| }
|
|
|
| - if (command) {
|
| - flags |= ui::EF_COMMAND_DOWN;
|
| - PostKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_LWIN, flags);
|
| - }
|
| -
|
| PostKeyEvent(ui::ET_KEY_PRESSED, key, flags);
|
| PostKeyEvent(ui::ET_KEY_RELEASED, key, flags);
|
|
|
| @@ -74,11 +71,6 @@
|
| if (control) {
|
| flags &= ~ui::EF_CONTROL_DOWN;
|
| PostKeyEvent(ui::ET_KEY_RELEASED, ui::VKEY_CONTROL, flags);
|
| - }
|
| -
|
| - if (command) {
|
| - flags &= ~ui::EF_COMMAND_DOWN;
|
| - PostKeyEvent(ui::ET_KEY_RELEASED, ui::VKEY_LWIN, flags);
|
| }
|
|
|
| RunClosureAfterAllPendingUIEvents(closure);
|
|
|