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_layout_manager.h" | 5 #include "ash/common/wm/dock/docked_window_layout_manager.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | |
8 #include "ash/aura/wm_window_aura.h" | 7 #include "ash/aura/wm_window_aura.h" |
| 8 #include "ash/common/ash_switches.h" |
9 #include "ash/common/shelf/shelf_model.h" | 9 #include "ash/common/shelf/shelf_model.h" |
10 #include "ash/common/shelf/shelf_types.h" | 10 #include "ash/common/shelf/shelf_types.h" |
11 #include "ash/common/shell_window_ids.h" | 11 #include "ash/common/shell_window_ids.h" |
12 #include "ash/common/wm/panels/panel_layout_manager.h" | 12 #include "ash/common/wm/panels/panel_layout_manager.h" |
13 #include "ash/common/wm/window_resizer.h" | 13 #include "ash/common/wm/window_resizer.h" |
14 #include "ash/common/wm/window_state.h" | 14 #include "ash/common/wm/window_state.h" |
15 #include "ash/display/display_manager.h" | 15 #include "ash/display/display_manager.h" |
16 #include "ash/root_window_controller.h" | 16 #include "ash/root_window_controller.h" |
17 #include "ash/shelf/shelf.h" | 17 #include "ash/shelf/shelf.h" |
18 #include "ash/shelf/shelf_layout_manager.h" | 18 #include "ash/shelf/shelf_layout_manager.h" |
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 EXPECT_EQ(work_area.height(), window->GetBoundsInScreen().height()); | 862 EXPECT_EQ(work_area.height(), window->GetBoundsInScreen().height()); |
863 } | 863 } |
864 | 864 |
865 // Tests run twice - on both panels and normal windows | 865 // Tests run twice - on both panels and normal windows |
866 INSTANTIATE_TEST_CASE_P(NormalOrPanel, | 866 INSTANTIATE_TEST_CASE_P(NormalOrPanel, |
867 DockedWindowLayoutManagerTest, | 867 DockedWindowLayoutManagerTest, |
868 testing::Values(ui::wm::WINDOW_TYPE_NORMAL, | 868 testing::Values(ui::wm::WINDOW_TYPE_NORMAL, |
869 ui::wm::WINDOW_TYPE_PANEL)); | 869 ui::wm::WINDOW_TYPE_PANEL)); |
870 | 870 |
871 } // namespace ash | 871 } // namespace ash |
OLD | NEW |