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

Unified Diff: ash/common/wm/window_resizer.h

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests Created 4 years, 6 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/common/wm/window_resizer.h
diff --git a/ash/common/wm/window_resizer.h b/ash/common/wm/window_resizer.h
index 888384e20a36acd0a3d7ac6dcce84b433528f91f..1caf93380273c406205ab6ced0465b1ea0d6422f 100644
--- a/ash/common/wm/window_resizer.h
+++ b/ash/common/wm/window_resizer.h
@@ -18,9 +18,8 @@ class Rect;
}
namespace ash {
-namespace wm {
+
class WmWindow;
-}
// WindowResizer is used by ToplevelWindowEventFilter to handle dragging, moving
// or resizing a window. All coordinates passed to this are in the parent
@@ -58,7 +57,7 @@ class ASH_EXPORT WindowResizer {
virtual void RevertDrag() = 0;
// Returns the target window the resizer was created for.
- wm::WmWindow* GetTarget() const {
+ WmWindow* GetTarget() const {
return window_state_ ? window_state_->window() : nullptr;
}
// See comment for |DragDetails::initial_location_in_parent|.
@@ -101,7 +100,7 @@ class ASH_EXPORT WindowResizer {
// Creates a WindowResizer for |window|. Returns a unique_ptr with null if
// |window| should not be resized nor dragged.
ASH_EXPORT std::unique_ptr<WindowResizer> CreateWindowResizer(
- wm::WmWindow* window,
+ WmWindow* window,
const gfx::Point& point_in_parent,
int window_component,
aura::client::WindowMoveSource source);

Powered by Google App Engine
This is Rietveld 408576698