OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/workspace/workspace_manager.h" | 5 #include "ash/wm/workspace/workspace_manager.h" |
6 | 6 |
7 #include "ash/screen_ash.h" | 7 #include "ash/screen_ash.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "ash/shell_window_ids.h" | 9 #include "ash/shell_window_ids.h" |
10 #include "ash/test/ash_test_base.h" | 10 #include "ash/test/ash_test_base.h" |
11 #include "ash/wm/activation_controller.h" | 11 #include "ash/wm/activation_controller.h" |
12 #include "ash/wm/property_util.h" | 12 #include "ash/wm/property_util.h" |
13 #include "ash/wm/shelf_layout_manager.h" | 13 #include "ash/wm/shelf_layout_manager.h" |
14 #include "ash/wm/window_util.h" | 14 #include "ash/wm/window_util.h" |
15 #include "ash/wm/workspace_controller.h" | |
16 #include "ash/wm/workspace/workspace.h" | 15 #include "ash/wm/workspace/workspace.h" |
17 #include "ash/wm/workspace/workspace_layout_manager.h" | 16 #include "ash/wm/workspace/workspace_layout_manager.h" |
| 17 #include "ash/wm/workspace_controller.h" |
18 #include "ui/aura/client/aura_constants.h" | 18 #include "ui/aura/client/aura_constants.h" |
19 #include "ui/aura/root_window.h" | 19 #include "ui/aura/root_window.h" |
20 #include "ui/aura/test/event_generator.h" | 20 #include "ui/aura/test/event_generator.h" |
21 #include "ui/aura/window.h" | 21 #include "ui/aura/window.h" |
22 #include "ui/base/ui_base_types.h" | 22 #include "ui/base/ui_base_types.h" |
23 #include "ui/gfx/compositor/layer.h" | 23 #include "ui/compositor/layer.h" |
24 #include "ui/gfx/screen.h" | 24 #include "ui/gfx/screen.h" |
25 | 25 |
26 using aura::Window; | 26 using aura::Window; |
27 | 27 |
28 namespace ash { | 28 namespace ash { |
29 namespace internal { | 29 namespace internal { |
30 | 30 |
31 class WorkspaceManagerTest : public test::AshTestBase { | 31 class WorkspaceManagerTest : public test::AshTestBase { |
32 public: | 32 public: |
33 WorkspaceManagerTest() {} | 33 WorkspaceManagerTest() {} |
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 w1->Show(); | 664 w1->Show(); |
665 w1->SetProperty(aura::client::kAnimationsDisabledKey, true); | 665 w1->SetProperty(aura::client::kAnimationsDisabledKey, true); |
666 | 666 |
667 w2->Show(); | 667 w2->Show(); |
668 w2->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED); | 668 w2->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MAXIMIZED); |
669 EXPECT_TRUE(w1->GetProperty(aura::client::kAnimationsDisabledKey)); | 669 EXPECT_TRUE(w1->GetProperty(aura::client::kAnimationsDisabledKey)); |
670 } | 670 } |
671 | 671 |
672 } // namespace internal | 672 } // namespace internal |
673 } // namespace ash | 673 } // namespace ash |
OLD | NEW |