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