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

Unified Diff: ash/wm/screen_pinning_controller.h

Issue 2735983006: Renames WmWindowUserData and converts to using aura (Closed)
Patch Set: =null Created 3 years, 9 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/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;

Powered by Google App Engine
This is Rietveld 408576698