| 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/ash_switches.h" | 7 #include "ash/common/ash_switches.h" |
| 8 #include "ash/common/shelf/shelf_types.h" | 8 #include "ash/common/shelf/shelf_types.h" |
| 9 #include "ash/common/wm_shell.h" | 9 #include "ash/common/wm_shell.h" |
| 10 #include "ash/display/display_manager.h" | 10 #include "ash/display/display_manager.h" |
| 11 #include "ash/root_window_controller.h" | 11 #include "ash/root_window_controller.h" |
| 12 #include "ash/rotator/screen_rotation_animator.h" | 12 #include "ash/rotator/screen_rotation_animator.h" |
| 13 #include "ash/shelf/shelf_widget.h" | 13 #include "ash/shelf/shelf_widget.h" |
| 14 #include "ash/shell.h" | 14 #include "ash/shell.h" |
| 15 #include "ash/system/status_area_widget.h" | 15 #include "ash/system/status_area_widget.h" |
| 16 #include "ash/system/user/login_status.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" |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 ->maximize_mode_controller() | 272 ->maximize_mode_controller() |
| 273 ->EnableMaximizeModeWindowManager(true); | 273 ->EnableMaximizeModeWindowManager(true); |
| 274 EXPECT_TRUE(GetTray()->visible()); | 274 EXPECT_TRUE(GetTray()->visible()); |
| 275 Shell::GetInstance() | 275 Shell::GetInstance() |
| 276 ->maximize_mode_controller() | 276 ->maximize_mode_controller() |
| 277 ->EnableMaximizeModeWindowManager(false); | 277 ->EnableMaximizeModeWindowManager(false); |
| 278 EXPECT_FALSE(GetTray()->visible()); | 278 EXPECT_FALSE(GetTray()->visible()); |
| 279 } | 279 } |
| 280 | 280 |
| 281 } // namespace ash | 281 } // namespace ash |
| OLD | NEW |