| 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/maximize_mode/maximize_mode_window_manager.h" | 5 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "ash/common/ash_switches.h" | 9 #include "ash/common/ash_switches.h" |
| 10 #include "ash/common/shelf/wm_shelf.h" | |
| 11 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" | |
| 12 #include "ash/common/wm/mru_window_tracker.h" | |
| 13 #include "ash/common/wm/overview/window_selector_controller.h" | |
| 14 #include "ash/common/wm/switchable_windows.h" | |
| 15 #include "ash/common/wm/window_state.h" | |
| 16 #include "ash/common/wm/window_state_observer.h" | |
| 17 #include "ash/common/wm/wm_event.h" | |
| 18 #include "ash/common/wm_shell.h" | 10 #include "ash/common/wm_shell.h" |
| 19 #include "ash/common/wm_window.h" | 11 #include "ash/common/wm_window.h" |
| 20 #include "ash/root_window_controller.h" | 12 #include "ash/root_window_controller.h" |
| 21 #include "ash/screen_util.h" | 13 #include "ash/screen_util.h" |
| 14 #include "ash/shelf/wm_shelf.h" |
| 22 #include "ash/shell.h" | 15 #include "ash/shell.h" |
| 23 #include "ash/test/ash_test_base.h" | 16 #include "ash/test/ash_test_base.h" |
| 24 #include "ash/test/shell_test_api.h" | 17 #include "ash/test/shell_test_api.h" |
| 18 #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
| 19 #include "ash/wm/mru_window_tracker.h" |
| 20 #include "ash/wm/overview/window_selector_controller.h" |
| 21 #include "ash/wm/switchable_windows.h" |
| 25 #include "ash/wm/window_properties.h" | 22 #include "ash/wm/window_properties.h" |
| 23 #include "ash/wm/window_state.h" |
| 26 #include "ash/wm/window_state_aura.h" | 24 #include "ash/wm/window_state_aura.h" |
| 25 #include "ash/wm/window_state_observer.h" |
| 27 #include "ash/wm/window_util.h" | 26 #include "ash/wm/window_util.h" |
| 27 #include "ash/wm/wm_event.h" |
| 28 #include "base/command_line.h" | 28 #include "base/command_line.h" |
| 29 #include "base/strings/stringprintf.h" | 29 #include "base/strings/stringprintf.h" |
| 30 #include "base/strings/utf_string_conversions.h" | 30 #include "base/strings/utf_string_conversions.h" |
| 31 #include "base/values.h" | 31 #include "base/values.h" |
| 32 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" | 32 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" |
| 33 #include "ui/aura/client/aura_constants.h" | 33 #include "ui/aura/client/aura_constants.h" |
| 34 #include "ui/aura/test/test_window_delegate.h" | 34 #include "ui/aura/test/test_window_delegate.h" |
| 35 #include "ui/aura/test/test_windows.h" | 35 #include "ui/aura/test/test_windows.h" |
| 36 #include "ui/aura/window.h" | 36 #include "ui/aura/window.h" |
| 37 #include "ui/base/hit_test.h" | 37 #include "ui/base/hit_test.h" |
| (...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1718 EXPECT_EQ(1, observer.GetPostCountAndReset()); | 1718 EXPECT_EQ(1, observer.GetPostCountAndReset()); |
| 1719 EXPECT_EQ(wm::WINDOW_STATE_TYPE_MINIMIZED, | 1719 EXPECT_EQ(wm::WINDOW_STATE_TYPE_MINIMIZED, |
| 1720 observer.GetLastOldStateAndReset()); | 1720 observer.GetLastOldStateAndReset()); |
| 1721 | 1721 |
| 1722 window_state->RemoveObserver(&observer); | 1722 window_state->RemoveObserver(&observer); |
| 1723 | 1723 |
| 1724 DestroyMaximizeModeWindowManager(); | 1724 DestroyMaximizeModeWindowManager(); |
| 1725 } | 1725 } |
| 1726 | 1726 |
| 1727 } // namespace ash | 1727 } // namespace ash |
| OLD | NEW |