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

Unified Diff: ash/wm/workspace_controller.h

Issue 1888153002: WorkspaceLayoutManagerDelegate -> WorkspaceLayoutManagerBackdropDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: =default and merge Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager_unittest.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace_controller.h
diff --git a/ash/wm/workspace_controller.h b/ash/wm/workspace_controller.h
index c5c318c4ccf655df1530003643dc725b6b1cb5af..e34e111dc72d01db86409b11ed70b11e977cc314 100644
--- a/ash/wm/workspace_controller.h
+++ b/ash/wm/workspace_controller.h
@@ -20,13 +20,19 @@ class ShelfLayoutManager;
class WorkspaceControllerTestHelper;
class WorkspaceEventHandler;
class WorkspaceLayoutManager;
+class WorkspaceLayoutManagerBackdropDelegate;
+
+namespace wm {
class WorkspaceLayoutManagerDelegate;
+}
// WorkspaceController acts as a central place that ties together all the
// various workspace pieces.
class ASH_EXPORT WorkspaceController {
public:
- explicit WorkspaceController(aura::Window* viewport);
+ WorkspaceController(
+ aura::Window* viewport,
+ std::unique_ptr<wm::WorkspaceLayoutManagerDelegate> delegate);
virtual ~WorkspaceController();
// Returns the current window state.
@@ -40,7 +46,7 @@ class ASH_EXPORT WorkspaceController {
// Add a delegate which adds a backdrop behind the top window of the default
// workspace.
void SetMaximizeBackdropDelegate(
- std::unique_ptr<WorkspaceLayoutManagerDelegate> delegate);
+ std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate> delegate);
WorkspaceLayoutManager* layout_manager() { return layout_manager_; }
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager_unittest.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698