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

Side by Side Diff: ash/wm/workspace_controller.h

Issue 2234033002: mash: Remove WorkspaceLayoutManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove WmRootWindowControllerObserver::OnFullscreenStateChanged; use ShellObserver. Created 4 years, 4 months 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
« no previous file with comments | « ash/wm/always_on_top_controller_unittest.cc ('k') | ash/wm/workspace_controller.cc » ('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) 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 #ifndef ASH_WM_WORKSPACE_CONTROLLER_H_ 5 #ifndef ASH_WM_WORKSPACE_CONTROLLER_H_
6 #define ASH_WM_WORKSPACE_CONTROLLER_H_ 6 #define ASH_WM_WORKSPACE_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/common/wm/workspace/workspace_types.h" 11 #include "ash/common/wm/workspace/workspace_types.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 13
14 namespace aura { 14 namespace aura {
15 class Window; 15 class Window;
16 } 16 }
17 17
18 namespace ash { 18 namespace ash {
19 class ShelfLayoutManager; 19 class ShelfLayoutManager;
20 class WorkspaceControllerTestHelper; 20 class WorkspaceControllerTestHelper;
21 class WorkspaceEventHandler; 21 class WorkspaceEventHandler;
22 class WorkspaceLayoutManager; 22 class WorkspaceLayoutManager;
23 class WorkspaceLayoutManagerBackdropDelegate; 23 class WorkspaceLayoutManagerBackdropDelegate;
24 24
25 namespace wm {
26 class WorkspaceLayoutManagerDelegate;
27 }
28
29 // WorkspaceController acts as a central place that ties together all the 25 // WorkspaceController acts as a central place that ties together all the
30 // various workspace pieces. 26 // various workspace pieces.
31 class ASH_EXPORT WorkspaceController { 27 class ASH_EXPORT WorkspaceController {
32 public: 28 public:
33 WorkspaceController( 29 explicit WorkspaceController(aura::Window* viewport);
34 aura::Window* viewport,
35 std::unique_ptr<wm::WorkspaceLayoutManagerDelegate> delegate);
36 virtual ~WorkspaceController(); 30 virtual ~WorkspaceController();
37 31
38 // Returns the current window state. 32 // Returns the current window state.
39 wm::WorkspaceWindowState GetWindowState() const; 33 wm::WorkspaceWindowState GetWindowState() const;
40 34
41 void SetShelf(ShelfLayoutManager* shelf); 35 void SetShelf(ShelfLayoutManager* shelf);
42 36
43 // Starts the animation that occurs on first login. 37 // Starts the animation that occurs on first login.
44 void DoInitialAnimation(); 38 void DoInitialAnimation();
45 39
(...skipping 14 matching lines...) Expand all
60 54
61 // Owned by |viewport_|. 55 // Owned by |viewport_|.
62 WorkspaceLayoutManager* layout_manager_; 56 WorkspaceLayoutManager* layout_manager_;
63 57
64 DISALLOW_COPY_AND_ASSIGN(WorkspaceController); 58 DISALLOW_COPY_AND_ASSIGN(WorkspaceController);
65 }; 59 };
66 60
67 } // namespace ash 61 } // namespace ash
68 62
69 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_ 63 #endif // ASH_WM_WORKSPACE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/wm/always_on_top_controller_unittest.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698