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

Unified Diff: ash/wm/always_on_top_controller.cc

Issue 1888153002: WorkspaceLayoutManagerDelegate -> WorkspaceLayoutManagerBackdropDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ash/wm/always_on_top_controller.cc
diff --git a/ash/wm/always_on_top_controller.cc b/ash/wm/always_on_top_controller.cc
index e968e3591fddb16fc31950b13167e85a8dcde60d..beda3c4aa0c98e61db8b58a3bb6b75281d9efc86 100644
--- a/ash/wm/always_on_top_controller.cc
+++ b/ash/wm/always_on_top_controller.cc
@@ -6,6 +6,7 @@
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
+#include "ash/wm/common/workspace/workspace_layout_manager_delegate.h"
#include "ash/wm/workspace/workspace_layout_manager.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
@@ -15,7 +16,7 @@ namespace ash {
AlwaysOnTopController::AlwaysOnTopController(aura::Window* viewport)
: always_on_top_container_(viewport) {
always_on_top_container_->SetLayoutManager(
- new WorkspaceLayoutManager(viewport));
+ new WorkspaceLayoutManager(viewport, nullptr));
// Container should be empty.
DCHECK(always_on_top_container_->children().empty());
always_on_top_container_->AddObserver(this);

Powered by Google App Engine
This is Rietveld 408576698