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

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

Issue 2900423002: [mus+ash] Removes WmWindow from ash/wm/root_window_finder.h (Closed)
Patch Set: Remove WmWindow from ash/wm/root_window_finder.h (tab drag test) 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/root_window_finder.cc ('k') | ash/wm/workspace/phantom_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/phantom_window_controller.h
diff --git a/ash/wm/workspace/phantom_window_controller.h b/ash/wm/workspace/phantom_window_controller.h
index 4a43abad5a934ca19bbc2180d461aa854c390860..de1b4a175683669dc64753386b0dba7ba335f71d 100644
--- a/ash/wm/workspace/phantom_window_controller.h
+++ b/ash/wm/workspace/phantom_window_controller.h
@@ -11,20 +11,22 @@
#include "base/macros.h"
#include "ui/gfx/geometry/rect.h"
+namespace aura {
+class Window;
+}
+
namespace views {
class Widget;
}
namespace ash {
-class WmWindow;
-
// PhantomWindowController is responsible for showing a phantom representation
// of a window. It's used to show a preview of how snapping or docking a window
// will affect the window's bounds.
class ASH_EXPORT PhantomWindowController {
public:
- explicit PhantomWindowController(WmWindow* window);
+ explicit PhantomWindowController(aura::Window* window);
// Hides the phantom window without any animation.
~PhantomWindowController();
@@ -36,11 +38,11 @@ class ASH_EXPORT PhantomWindowController {
// Creates, shows and returns a phantom widget at |bounds|
// with kShellWindowId_ShelfContainer in |root_window| as a parent.
std::unique_ptr<views::Widget> CreatePhantomWidget(
- WmWindow* root_window,
+ aura::Window* root_window,
const gfx::Rect& bounds_in_screen);
// Window that the phantom window is stacked above.
- WmWindow* window_;
+ aura::Window* window_;
// Target bounds (including the shadows if any) of the animation in screen
// coordinates.
« no previous file with comments | « ash/wm/root_window_finder.cc ('k') | ash/wm/workspace/phantom_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698