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

Unified Diff: ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h

Issue 1923983003: Makes WorkspaceLayoutManager use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix always-on-top and remove mus changes 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/workspace/workspace_layout_manager_backdrop_delegate.h
diff --git a/ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h b/ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h
index 1c63eefe38748710ef5c294b3b3123f376ff5e84..f23345294e431873d15d4b5d9db69dcb45d01f3b 100644
--- a/ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h
+++ b/ash/wm/workspace/workspace_layout_manager_backdrop_delegate.h
@@ -8,13 +8,10 @@
#include "ash/ash_export.h"
#include "ash/wm/common/wm_types.h"
-namespace aura {
-class Window;
-}
-
namespace ash {
namespace wm {
class WindowState;
+class WmWindow;
}
// A delegate which can be set to create and control a backdrop which gets
@@ -24,17 +21,17 @@ class ASH_EXPORT WorkspaceLayoutManagerBackdropDelegate {
virtual ~WorkspaceLayoutManagerBackdropDelegate() {}
// A window got added to the layout.
- virtual void OnWindowAddedToLayout(aura::Window* child) = 0;
+ virtual void OnWindowAddedToLayout(wm::WmWindow* child) = 0;
// A window got removed from the layout.
- virtual void OnWindowRemovedFromLayout(aura::Window* child) = 0;
+ virtual void OnWindowRemovedFromLayout(wm::WmWindow* child) = 0;
// The visibility of a window has changed.
- virtual void OnChildWindowVisibilityChanged(aura::Window* child,
+ virtual void OnChildWindowVisibilityChanged(wm::WmWindow* child,
bool visible) = 0;
// The stacking order of a window has changed.
- virtual void OnWindowStackingChanged(aura::Window* window) = 0;
+ virtual void OnWindowStackingChanged(wm::WmWindow* window) = 0;
// A window state type has changed.
virtual void OnPostWindowStateTypeChange(wm::WindowState* window_state,

Powered by Google App Engine
This is Rietveld 408576698