Index: ash/wm/screen_pinning_controller.h |
diff --git a/ash/wm/screen_pinning_controller.h b/ash/wm/screen_pinning_controller.h |
index 3245c60977d3230ec72eb13a33b39b4c18c81b53..90e56a327110db8c2b45fa718776256ab1395301 100644 |
--- a/ash/wm/screen_pinning_controller.h |
+++ b/ash/wm/screen_pinning_controller.h |
@@ -11,6 +11,10 @@ |
#include "ash/display/window_tree_host_manager.h" |
#include "base/macros.h" |
+namespace aura { |
+class Window; |
+} |
+ |
namespace ash { |
class WindowDimmer; |
@@ -18,7 +22,7 @@ class WindowTreeHostManager; |
class WmWindow; |
template <typename UserData> |
-class WmWindowUserData; |
+class WindowUserData; |
// Handles pinned state. |
class ScreenPinningController : public WindowTreeHostManager::Observer { |
@@ -68,7 +72,7 @@ class ScreenPinningController : public WindowTreeHostManager::Observer { |
void KeepPinnedWindowOnTop(); |
// Keeps the dim window at bottom of the container. |
- void KeepDimWindowAtBottom(WmWindow* container); |
+ void KeepDimWindowAtBottom(aura::Window* container); |
// Creates a WindowDimmer for |container| and places it in |window_dimmers_|. |
// Returns the window from WindowDimmer. |
@@ -83,7 +87,7 @@ class ScreenPinningController : public WindowTreeHostManager::Observer { |
// Owns the WindowDimmers. There is one WindowDimmer for the parent of |
// |pinned_window_| and one for each display other than the display |
// |pinned_window_| is on. |
- std::unique_ptr<WmWindowUserData<WindowDimmer>> window_dimmers_; |
+ std::unique_ptr<WindowUserData<WindowDimmer>> window_dimmers_; |
// Set true only when restacking done by this controller. |
bool in_restacking_ = false; |