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