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

Unified Diff: ash/wm/screen_pinning_controller.h

Issue 2904073002: [mus+ash] Removes WmWindow from ash/wm/screen_pinning_controller.h (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/wm/screen_pinning_controller.h (removes unneeded header) 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
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_state.cc ('k') | ash/wm/screen_pinning_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/screen_pinning_controller.h
diff --git a/ash/wm/screen_pinning_controller.h b/ash/wm/screen_pinning_controller.h
index 2bb3699e472440257d81cc465e5ac305e7a433ab..7b10ea3a58e78d5e5416304f1e4c20f33fb42e13 100644
--- a/ash/wm/screen_pinning_controller.h
+++ b/ash/wm/screen_pinning_controller.h
@@ -19,7 +19,6 @@ class Window;
namespace ash {
class WindowDimmer;
-class WmWindow;
template <typename UserData>
class WindowUserData;
@@ -38,34 +37,34 @@ class ASH_EXPORT ScreenPinningController : public WmDisplayObserver {
// Sets a pinned window. It is not allowed to call this when there already
// is a pinned window.
- void SetPinnedWindow(WmWindow* pinned_window);
+ void SetPinnedWindow(aura::Window* pinned_window);
// Returns true if in pinned mode, otherwise false.
bool IsPinned() const;
// Returns the pinned window if in pinned mode, or nullptr.
- WmWindow* pinned_window() const { return pinned_window_; }
+ aura::Window* pinned_window() const { return pinned_window_; }
// Called when a new window is added to the container which has the pinned
// window.
- void OnWindowAddedToPinnedContainer(WmWindow* new_window);
+ void OnWindowAddedToPinnedContainer(aura::Window* new_window);
// Called when a window will be removed from the container which has the
// pinned window.
- void OnWillRemoveWindowFromPinnedContainer(WmWindow* window);
+ void OnWillRemoveWindowFromPinnedContainer(aura::Window* window);
// Called when a window stacking is changed in the container which has the
// pinned window.
- void OnPinnedContainerWindowStackingChanged(WmWindow* window);
+ void OnPinnedContainerWindowStackingChanged(aura::Window* window);
// Called when a new window is added to a system modal container.
- void OnWindowAddedToSystemModalContainer(WmWindow* new_window);
+ void OnWindowAddedToSystemModalContainer(aura::Window* new_window);
// Called when a window will be removed from a system modal container.
- void OnWillRemoveWindowFromSystemModalContainer(WmWindow* window);
+ void OnWillRemoveWindowFromSystemModalContainer(aura::Window* window);
// Called when a window stacking is changed in a system modal container.
- void OnSystemModalContainerWindowStackingChanged(WmWindow* window);
+ void OnSystemModalContainerWindowStackingChanged(aura::Window* window);
private:
class PinnedContainerWindowObserver;
@@ -81,13 +80,13 @@ class ASH_EXPORT ScreenPinningController : public WmDisplayObserver {
// Creates a WindowDimmer for |container| and places it in |window_dimmers_|.
// Returns the window from WindowDimmer.
- WmWindow* CreateWindowDimmer(WmWindow* container);
+ aura::Window* CreateWindowDimmer(aura::Window* container);
// WmDisplayObserver:
void OnDisplayConfigurationChanged() override;
// Pinned window should be on top in the parent window.
- WmWindow* pinned_window_ = nullptr;
+ aura::Window* pinned_window_ = nullptr;
// Owns the WindowDimmers. There is one WindowDimmer for the parent of
// |pinned_window_| and one for each display other than the display
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_window_state.cc ('k') | ash/wm/screen_pinning_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698