OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/aura_shell/default_container_layout_manager.h" | 5 #include "ui/aura_shell/default_container_layout_manager.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
10 #include "ui/aura/client/aura_constants.h" | 10 #include "ui/aura/client/aura_constants.h" |
11 #include "ui/aura/desktop.h" | 11 #include "ui/aura/desktop.h" |
12 #include "ui/aura/screen_aura.h" | 12 #include "ui/aura/screen_aura.h" |
13 #include "ui/aura/test/aura_test_base.h" | 13 #include "ui/aura/test/aura_test_base.h" |
14 #include "ui/aura/window.h" | 14 #include "ui/aura/window.h" |
15 #include "ui/aura_shell/workspace_controller.h" | |
16 #include "ui/aura_shell/workspace/workspace.h" | 15 #include "ui/aura_shell/workspace/workspace.h" |
17 #include "ui/aura_shell/workspace/workspace_manager.h" | 16 #include "ui/aura_shell/workspace/workspace_manager.h" |
| 17 #include "ui/aura_shell/workspace_controller.h" |
18 #include "ui/base/ui_base_types.h" | 18 #include "ui/base/ui_base_types.h" |
19 #include "views/widget/native_widget_aura.h" | 19 #include "ui/views/widget/native_widget_aura.h" |
20 | 20 |
21 namespace aura_shell { | 21 namespace aura_shell { |
22 namespace test { | 22 namespace test { |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 using views::Widget; | 26 using views::Widget; |
27 using aura_shell::internal::DefaultContainerLayoutManager; | 27 using aura_shell::internal::DefaultContainerLayoutManager; |
28 | 28 |
29 class DefaultContainerLayoutManagerTest : public aura::test::AuraTestBase { | 29 class DefaultContainerLayoutManagerTest : public aura::test::AuraTestBase { |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 | 331 |
332 Restore(w1.get()); | 332 Restore(w1.get()); |
333 // The following test does not pass due to crbug.com/102413. | 333 // The following test does not pass due to crbug.com/102413. |
334 // TODO(oshima): Re-enable this once the bug is fixed. | 334 // TODO(oshima): Re-enable this once the bug is fixed. |
335 // EXPECT_EQ(window_bounds.size().ToString(), | 335 // EXPECT_EQ(window_bounds.size().ToString(), |
336 // w1->GetTargetBounds().size().ToString()); | 336 // w1->GetTargetBounds().size().ToString()); |
337 } | 337 } |
338 | 338 |
339 } // namespace test | 339 } // namespace test |
340 } // namespace aura_shell | 340 } // namespace aura_shell |
OLD | NEW |