| 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/common/wm/window_state.h" | 5 #include "ash/wm/window_state.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "ash/common/wm/window_state.h" | |
| 10 #include "ash/common/wm/window_state_util.h" | |
| 11 #include "ash/common/wm/wm_event.h" | |
| 12 #include "ash/test/ash_test_base.h" | 9 #include "ash/test/ash_test_base.h" |
| 10 #include "ash/wm/window_state.h" |
| 13 #include "ash/wm/window_state_aura.h" | 11 #include "ash/wm/window_state_aura.h" |
| 12 #include "ash/wm/window_state_util.h" |
| 14 #include "ash/wm/window_util.h" | 13 #include "ash/wm/window_util.h" |
| 14 #include "ash/wm/wm_event.h" |
| 15 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" | 15 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" |
| 16 #include "ui/aura/client/aura_constants.h" | 16 #include "ui/aura/client/aura_constants.h" |
| 17 #include "ui/aura/test/test_window_delegate.h" | 17 #include "ui/aura/test/test_window_delegate.h" |
| 18 #include "ui/aura/window.h" | 18 #include "ui/aura/window.h" |
| 19 #include "ui/display/manager/display_manager.h" | 19 #include "ui/display/manager/display_manager.h" |
| 20 #include "ui/display/screen.h" | 20 #include "ui/display/screen.h" |
| 21 | 21 |
| 22 namespace ash { | 22 namespace ash { |
| 23 namespace wm { | 23 namespace wm { |
| 24 namespace { | 24 namespace { |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 // return to the state before minimizing and fullscreen. | 457 // return to the state before minimizing and fullscreen. |
| 458 ash::wm::ToggleFullScreen(window_state, nullptr); | 458 ash::wm::ToggleFullScreen(window_state, nullptr); |
| 459 ASSERT_TRUE(window_state->IsMaximized()); | 459 ASSERT_TRUE(window_state->IsMaximized()); |
| 460 } | 460 } |
| 461 | 461 |
| 462 // TODO(skuhne): Add more unit test to verify the correctness for the restore | 462 // TODO(skuhne): Add more unit test to verify the correctness for the restore |
| 463 // operation. | 463 // operation. |
| 464 | 464 |
| 465 } // namespace wm | 465 } // namespace wm |
| 466 } // namespace ash | 466 } // namespace ash |
| OLD | NEW |