| 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/wm/maximize_mode/maximize_mode_controller.h" | 5 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "ash/common/ash_switches.h" | 11 #include "ash/common/ash_switches.h" |
| 12 #include "ash/common/system/tray/system_tray_delegate.h" | 12 #include "ash/common/system/tray/system_tray_delegate.h" |
| 13 #include "ash/common/wm/overview/window_selector_controller.h" | 13 #include "ash/common/wm/overview/window_selector_controller.h" |
| 14 #include "ash/common/wm_shell.h" | 14 #include "ash/common/wm_shell.h" |
| 15 #include "ash/display/display_manager.h" | 15 #include "ash/display/display_manager.h" |
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 // accelerometer updates which would normally cause it to exit do not. | 527 // accelerometer updates which would normally cause it to exit do not. |
| 528 TEST_F(MaximizeModeControllerSwitchesTest, IgnoreHingeAngles) { | 528 TEST_F(MaximizeModeControllerSwitchesTest, IgnoreHingeAngles) { |
| 529 maximize_mode_controller()->EnableMaximizeModeWindowManager(true); | 529 maximize_mode_controller()->EnableMaximizeModeWindowManager(true); |
| 530 | 530 |
| 531 // Would normally trigger an exit from maximize mode. | 531 // Would normally trigger an exit from maximize mode. |
| 532 OpenLidToAngle(90.0f); | 532 OpenLidToAngle(90.0f); |
| 533 EXPECT_TRUE(IsMaximizeModeStarted()); | 533 EXPECT_TRUE(IsMaximizeModeStarted()); |
| 534 } | 534 } |
| 535 | 535 |
| 536 } // namespace ash | 536 } // namespace ash |
| OLD | NEW |