| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/dock/docked_window_resizer.h" | 5 #include "ash/common/wm/dock/docked_window_resizer.h" |
| 6 | 6 |
| 7 #include "ash/aura/wm_window_aura.h" | 7 #include "ash/aura/wm_window_aura.h" |
| 8 #include "ash/common/ash_switches.h" | 8 #include "ash/common/ash_switches.h" |
| 9 #include "ash/common/shelf/shelf.h" |
| 9 #include "ash/common/shelf/shelf_types.h" | 10 #include "ash/common/shelf/shelf_types.h" |
| 11 #include "ash/common/shelf/shelf_widget.h" |
| 10 #include "ash/common/shell_window_ids.h" | 12 #include "ash/common/shell_window_ids.h" |
| 11 #include "ash/common/wm/dock/docked_window_layout_manager.h" | 13 #include "ash/common/wm/dock/docked_window_layout_manager.h" |
| 12 #include "ash/common/wm/panels/panel_layout_manager.h" | 14 #include "ash/common/wm/panels/panel_layout_manager.h" |
| 13 #include "ash/common/wm/window_state.h" | 15 #include "ash/common/wm/window_state.h" |
| 14 #include "ash/common/wm/wm_event.h" | 16 #include "ash/common/wm/wm_event.h" |
| 15 #include "ash/common/wm_shell.h" | 17 #include "ash/common/wm_shell.h" |
| 16 #include "ash/display/window_tree_host_manager.h" | 18 #include "ash/display/window_tree_host_manager.h" |
| 17 #include "ash/root_window_controller.h" | 19 #include "ash/root_window_controller.h" |
| 18 #include "ash/screen_util.h" | 20 #include "ash/screen_util.h" |
| 19 #include "ash/shelf/shelf.h" | |
| 20 #include "ash/shelf/shelf_widget.h" | |
| 21 #include "ash/shell.h" | 21 #include "ash/shell.h" |
| 22 #include "ash/test/ash_test_base.h" | 22 #include "ash/test/ash_test_base.h" |
| 23 #include "ash/test/cursor_manager_test_api.h" | 23 #include "ash/test/cursor_manager_test_api.h" |
| 24 #include "ash/test/test_shelf_delegate.h" | 24 #include "ash/test/test_shelf_delegate.h" |
| 25 #include "ash/wm/drag_window_resizer.h" | 25 #include "ash/wm/drag_window_resizer.h" |
| 26 #include "ash/wm/window_state_aura.h" | 26 #include "ash/wm/window_state_aura.h" |
| 27 #include "ash/wm/window_util.h" | 27 #include "ash/wm/window_util.h" |
| 28 #include "base/command_line.h" | 28 #include "base/command_line.h" |
| 29 #include "ui/aura/client/aura_constants.h" | 29 #include "ui/aura/client/aura_constants.h" |
| 30 #include "ui/aura/client/window_tree_client.h" | 30 #include "ui/aura/client/window_tree_client.h" |
| (...skipping 1540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1571 EXPECT_TRUE(window_state->IsMaximized()); | 1571 EXPECT_TRUE(window_state->IsMaximized()); |
| 1572 } | 1572 } |
| 1573 | 1573 |
| 1574 // Tests run twice - on both panels and normal windows | 1574 // Tests run twice - on both panels and normal windows |
| 1575 INSTANTIATE_TEST_CASE_P(NormalOrPanel, | 1575 INSTANTIATE_TEST_CASE_P(NormalOrPanel, |
| 1576 DockedWindowResizerTest, | 1576 DockedWindowResizerTest, |
| 1577 testing::Values(ui::wm::WINDOW_TYPE_NORMAL, | 1577 testing::Values(ui::wm::WINDOW_TYPE_NORMAL, |
| 1578 ui::wm::WINDOW_TYPE_PANEL)); | 1578 ui::wm::WINDOW_TYPE_PANEL)); |
| 1579 | 1579 |
| 1580 } // namespace ash | 1580 } // namespace ash |
| OLD | NEW |