| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/accelerators/accelerator_controller.h" | 5 #include "ash/accelerators/accelerator_controller.h" |
| 6 | 6 |
| 7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/shell_observer.h" | 8 #include "ash/shell_observer.h" |
| 9 #include "ash/system/network/network_observer.h" | 9 #include "ash/system/network/network_observer.h" |
| 10 #include "ash/system/tray/system_tray_delegate.h" | 10 #include "ash/system/tray/system_tray_delegate.h" |
| 11 #include "ash/system/tray/system_tray_notifier.h" | 11 #include "ash/system/tray/system_tray_notifier.h" |
| 12 #include "ash/test/ash_interactive_ui_test_base.h" | 12 #include "ash/test/ash_interactive_ui_test_base.h" |
| 13 #include "ash/test/test_screenshot_delegate.h" | 13 #include "ash/test/test_screenshot_delegate.h" |
| 14 #include "ash/wm/window_state.h" | 14 #include "ash/wm/window_state.h" |
| 15 #include "ash/wm/window_state_aura.h" | 15 #include "ash/wm/window_state_aura.h" |
| 16 #include "ash/wm/window_util.h" | 16 #include "ash/wm/window_util.h" |
| 17 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
| 18 #include "base/test/user_action_tester.cc" | 18 #include "base/test/user_action_tester.h" |
| 19 #include "chromeos/network/network_handler.h" | 19 #include "chromeos/network/network_handler.h" |
| 20 #include "ui/app_list/presenter/app_list.h" | 20 #include "ui/app_list/presenter/app_list.h" |
| 21 #include "ui/app_list/presenter/test/test_app_list_presenter.h" | 21 #include "ui/app_list/presenter/test/test_app_list_presenter.h" |
| 22 #include "ui/base/test/ui_controls.h" | 22 #include "ui/base/test/ui_controls.h" |
| 23 | 23 |
| 24 namespace ash { | 24 namespace ash { |
| 25 namespace test { | 25 namespace test { |
| 26 | 26 |
| 27 namespace { | 27 namespace { |
| 28 | 28 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 SendKeyPressSync(ui::VKEY_LWIN, false, false, false); | 204 SendKeyPressSync(ui::VKEY_LWIN, false, false, false); |
| 205 RunAllPendingInMessageLoop(); | 205 RunAllPendingInMessageLoop(); |
| 206 EXPECT_EQ(1u, test_app_list_presenter.toggle_count()); | 206 EXPECT_EQ(1u, test_app_list_presenter.toggle_count()); |
| 207 SendKeyPressSync(ui::VKEY_LWIN, false, false, false); | 207 SendKeyPressSync(ui::VKEY_LWIN, false, false, false); |
| 208 RunAllPendingInMessageLoop(); | 208 RunAllPendingInMessageLoop(); |
| 209 EXPECT_EQ(2u, test_app_list_presenter.toggle_count()); | 209 EXPECT_EQ(2u, test_app_list_presenter.toggle_count()); |
| 210 } | 210 } |
| 211 | 211 |
| 212 } // namespace test | 212 } // namespace test |
| 213 } // namespace ash | 213 } // namespace ash |
| OLD | NEW |