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

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

Issue 1926913002: Moves more code to ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_workspace_layout_manager
Patch Set: merge to trunk Created 4 years, 8 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/common/always_on_top_controller.cc ('k') | ash/wm/common/window_positioner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/window_positioner.h
diff --git a/ash/wm/window_positioner.h b/ash/wm/common/window_positioner.h
similarity index 94%
rename from ash/wm/window_positioner.h
rename to ash/wm/common/window_positioner.h
index 6aab609d4a40a324c66502eca2b4f5f64f884754..fb41c5a16c7ff40aa57ccd05704792d22a3fbe2c 100644
--- a/ash/wm/window_positioner.h
+++ b/ash/wm/common/window_positioner.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_WM_WINDOW_POSITIONER_H_
-#define ASH_WM_WINDOW_POSITIONER_H_
+#ifndef ASH_WM_COMMON_WINDOW_POSITIONER_H_
+#define ASH_WM_COMMON_WINDOW_POSITIONER_H_
#include "ash/ash_export.h"
#include "base/macros.h"
@@ -103,8 +103,8 @@ class ASH_EXPORT WindowPositioner {
const gfx::Rect& work_area);
// Align the location to the grid / snap to the right / bottom corner.
- gfx::Rect AlignPopupPosition(const gfx::Rect &pos,
- const gfx::Rect &work_area,
+ gfx::Rect AlignPopupPosition(const gfx::Rect& pos,
+ const gfx::Rect& work_area,
int grid);
// Constant exposed for unittest.
@@ -130,4 +130,4 @@ class ASH_EXPORT WindowPositioner {
} // namespace ash
-#endif // ASH_WM_WINDOW_POSITIONER_H_
+#endif // ASH_WM_COMMON_WINDOW_POSITIONER_H_
« no previous file with comments | « ash/wm/common/always_on_top_controller.cc ('k') | ash/wm/common/window_positioner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698