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

Unified Diff: ash/common/wm/window_positioning_utils.cc

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_positioning_utils.cc
diff --git a/ash/common/wm/window_positioning_utils.cc b/ash/common/wm/window_positioning_utils.cc
index 6cce67f3d4cfc7029728fe7edc7c5212ad5316a2..61dbf8f333268eef944b5ee0b02826b846d336a6 100644
--- a/ash/common/wm/window_positioning_utils.cc
+++ b/ash/common/wm/window_positioning_utils.cc
@@ -7,7 +7,7 @@
#include <algorithm>
#include "ash/common/wm/wm_screen_util.h"
-#include "ash/common/wm/wm_window.h"
+#include "ash/common/wm_window.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
@@ -63,14 +63,14 @@ void AdjustBoundsToEnsureMinimumWindowVisibility(const gfx::Rect& visible_area,
kMinimumOnScreenArea, bounds);
}
-gfx::Rect GetDefaultLeftSnappedWindowBoundsInParent(wm::WmWindow* window) {
+gfx::Rect GetDefaultLeftSnappedWindowBoundsInParent(WmWindow* window) {
gfx::Rect work_area_in_parent(GetDisplayWorkAreaBoundsInParent(window));
return gfx::Rect(work_area_in_parent.x(), work_area_in_parent.y(),
GetDefaultSnappedWindowWidth(window),
work_area_in_parent.height());
}
-gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(wm::WmWindow* window) {
+gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(WmWindow* window) {
gfx::Rect work_area_in_parent(GetDisplayWorkAreaBoundsInParent(window));
int width = GetDefaultSnappedWindowWidth(window);
return gfx::Rect(work_area_in_parent.right() - width, work_area_in_parent.y(),

Powered by Google App Engine
This is Rietveld 408576698