| 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/workspace/workspace_manager.h" | 5 #include "ash/wm/workspace/workspace_manager.h" |
| 6 | 6 |
| 7 #include "ash/wm/activation_controller.h" | 7 #include "ash/wm/activation_controller.h" |
| 8 #include "ash/wm/workspace/workspace.h" |
| 9 #include "ash/wm/workspace/workspace_observer.h" |
| 8 #include "ui/aura/client/aura_constants.h" | 10 #include "ui/aura/client/aura_constants.h" |
| 9 #include "ui/aura/root_window.h" | 11 #include "ui/aura/root_window.h" |
| 10 #include "ui/aura/screen_aura.h" | 12 #include "ui/aura/screen_aura.h" |
| 11 #include "ui/aura/test/aura_test_base.h" | 13 #include "ui/aura/test/aura_test_base.h" |
| 12 #include "ui/aura/window.h" | 14 #include "ui/aura/window.h" |
| 13 #include "ui/aura_shell/shell_window_ids.h" | 15 #include "ui/aura_shell/shell_window_ids.h" |
| 14 #include "ui/aura_shell/workspace/workspace.h" | |
| 15 #include "ui/aura_shell/workspace/workspace_observer.h" | |
| 16 #include "ui/base/ui_base_types.h" | 16 #include "ui/base/ui_base_types.h" |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 using aura_shell::internal::Workspace; | 19 using aura_shell::internal::Workspace; |
| 20 using aura_shell::internal::WorkspaceManager; | 20 using aura_shell::internal::WorkspaceManager; |
| 21 using aura::Window; | 21 using aura::Window; |
| 22 | 22 |
| 23 class TestWorkspaceObserver : public aura_shell::internal::WorkspaceObserver { | 23 class TestWorkspaceObserver : public aura_shell::internal::WorkspaceObserver { |
| 24 public: | 24 public: |
| 25 explicit TestWorkspaceObserver(WorkspaceManager* manager) | 25 explicit TestWorkspaceObserver(WorkspaceManager* manager) |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 | 558 |
| 559 w2->SetIntProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); | 559 w2->SetIntProperty(aura::client::kShowStateKey, ui::SHOW_STATE_FULLSCREEN); |
| 560 EXPECT_TRUE(ws->ContainsFullscreenWindow()); | 560 EXPECT_TRUE(ws->ContainsFullscreenWindow()); |
| 561 | 561 |
| 562 w2->Hide(); | 562 w2->Hide(); |
| 563 EXPECT_FALSE(ws->ContainsFullscreenWindow()); | 563 EXPECT_FALSE(ws->ContainsFullscreenWindow()); |
| 564 } | 564 } |
| 565 | 565 |
| 566 } // namespace internal | 566 } // namespace internal |
| 567 } // namespace aura_shell | 567 } // namespace aura_shell |
| OLD | NEW |