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

Unified Diff: ash/wm/workspace_controller.cc

Issue 2890733005: Refactor backdrop that is currently used in the maximized mode. (Closed)
Patch Set: fix memory issue in AshTouchExplorationManager Created 3 years, 7 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/workspace_controller.cc
diff --git a/ash/wm/workspace_controller.cc b/ash/wm/workspace_controller.cc
index 65de23f04633df8dbb245631af3ab83292a82bac..8ca7257d04eb6ea57715e9b5b970d5137ba7b225 100644
--- a/ash/wm/workspace_controller.cc
+++ b/ash/wm/workspace_controller.cc
@@ -14,9 +14,10 @@
#include "ash/wm/window_state.h"
#include "ash/wm/window_state_aura.h"
#include "ash/wm/wm_window_animations.h"
+#include "ash/wm/workspace/backdrop_controller.h"
+#include "ash/wm/workspace/backdrop_delegate.h"
#include "ash/wm/workspace/workspace_event_handler.h"
#include "ash/wm/workspace/workspace_layout_manager.h"
-#include "ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h"
#include "ash/wm_window.h"
#include "ui/aura/window.h"
#include "ui/compositor/layer.h"
@@ -111,9 +112,9 @@ void WorkspaceController::DoInitialAnimation() {
}
}
-void WorkspaceController::SetMaximizeBackdropDelegate(
- std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate> delegate) {
- layout_manager_->SetMaximizeBackdropDelegate(std::move(delegate));
+void WorkspaceController::SetBackdropDelegate(
+ std::unique_ptr<BackdropDelegate> delegate) {
+ layout_manager_->SetBackdropDelegate(std::move(delegate));
}
void WorkspaceController::OnWindowDestroying(aura::Window* window) {
« no previous file with comments | « ash/wm/workspace_controller.h ('k') | chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698