| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/system/overview/overview_button_tray.h" | 5 #include "ash/system/overview/overview_button_tray.h" |
| 6 | 6 |
| 7 #include "ash/common/ash_switches.h" | 7 #include "ash/common/ash_switches.h" |
| 8 #include "ash/common/login_status.h" |
| 8 #include "ash/common/shelf/shelf_types.h" | 9 #include "ash/common/shelf/shelf_types.h" |
| 9 #include "ash/common/wm/overview/window_selector_controller.h" | 10 #include "ash/common/wm/overview/window_selector_controller.h" |
| 10 #include "ash/common/wm_shell.h" | 11 #include "ash/common/wm_shell.h" |
| 11 #include "ash/display/display_manager.h" | 12 #include "ash/display/display_manager.h" |
| 12 #include "ash/root_window_controller.h" | 13 #include "ash/root_window_controller.h" |
| 13 #include "ash/rotator/screen_rotation_animator.h" | 14 #include "ash/rotator/screen_rotation_animator.h" |
| 14 #include "ash/shell.h" | 15 #include "ash/shell.h" |
| 15 #include "ash/system/status_area_widget.h" | 16 #include "ash/system/status_area_widget.h" |
| 16 #include "ash/system/user/login_status.h" | |
| 17 #include "ash/test/ash_test_base.h" | 17 #include "ash/test/ash_test_base.h" |
| 18 #include "ash/test/ash_test_helper.h" | 18 #include "ash/test/ash_test_helper.h" |
| 19 #include "ash/test/status_area_widget_test_helper.h" | 19 #include "ash/test/status_area_widget_test_helper.h" |
| 20 #include "ash/test/test_session_state_delegate.h" | 20 #include "ash/test/test_session_state_delegate.h" |
| 21 #include "ash/wm/maximize_mode/maximize_mode_controller.h" | 21 #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
| 22 #include "base/command_line.h" | 22 #include "base/command_line.h" |
| 23 #include "base/test/user_action_tester.h" | 23 #include "base/test/user_action_tester.h" |
| 24 #include "base/time/time.h" | 24 #include "base/time/time.h" |
| 25 #include "ui/aura/client/aura_constants.h" | 25 #include "ui/aura/client/aura_constants.h" |
| 26 #include "ui/aura/window.h" | 26 #include "ui/aura/window.h" |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 ->maximize_mode_controller() | 262 ->maximize_mode_controller() |
| 263 ->EnableMaximizeModeWindowManager(true); | 263 ->EnableMaximizeModeWindowManager(true); |
| 264 EXPECT_TRUE(GetTray()->visible()); | 264 EXPECT_TRUE(GetTray()->visible()); |
| 265 Shell::GetInstance() | 265 Shell::GetInstance() |
| 266 ->maximize_mode_controller() | 266 ->maximize_mode_controller() |
| 267 ->EnableMaximizeModeWindowManager(false); | 267 ->EnableMaximizeModeWindowManager(false); |
| 268 EXPECT_FALSE(GetTray()->visible()); | 268 EXPECT_FALSE(GetTray()->visible()); |
| 269 } | 269 } |
| 270 | 270 |
| 271 } // namespace ash | 271 } // namespace ash |
| OLD | NEW |