Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Side by Side Diff: ash/wm/workspace/workspace_manager_unittest.cc

Issue 9035001: Move some more WM functionality down into ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/workspace/workspace_manager.cc ('k') | ash/wm/workspace/workspace_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_manager.cc ('k') | ash/wm/workspace/workspace_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698