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

Unified Diff: ash/wm/window_util.h

Issue 1901773002: Removes most of aura dependencies from DefaultState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wm_window_positioner
Patch Set: nit and merge 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/window_state_util.cc ('k') | ash/wm/window_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_util.h
diff --git a/ash/wm/window_util.h b/ash/wm/window_util.h
index 78091598b503c7f40de322e3932936e7c2b2dd6c..a43f4a006aea1749ea94e181316e24a9cd4593f2 100644
--- a/ash/wm/window_util.h
+++ b/ash/wm/window_util.h
@@ -51,39 +51,11 @@ ASH_EXPORT bool IsWindowUserPositionable(aura::Window* window);
// Moves the window to the center of the display.
ASH_EXPORT void CenterWindow(aura::Window* window);
-ASH_EXPORT gfx::Rect GetDefaultLeftSnappedWindowBoundsInParent(
- wm::WmWindow* window);
-ASH_EXPORT gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(
- wm::WmWindow* window);
-
-// Returns the bounds of a left snapped window with default width in parent
-// coordinates.
-ASH_EXPORT gfx::Rect GetDefaultLeftSnappedWindowBoundsInParent(
- aura::Window* window);
-
-// Returns the bounds of a right snapped window with default width in parent
-// coordinates.
-ASH_EXPORT gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(
- aura::Window* window);
-
// Moves |window| to the root window where the |event| occured if it is not
// already in the same root window. Returns true if |window| was moved.
ASH_EXPORT bool MoveWindowToEventRoot(aura::Window* window,
const ui::Event& event);
-// Changes the parent of a |child| and all its transient children that are
-// themselves children of |old_parent| to |new_parent|.
-void ReparentChildWithTransientChildren(aura::Window* child,
- aura::Window* old_parent,
- aura::Window* new_parent);
-
-// Changes the parent of all transient children of a |child| to |new_parent|.
-// Does not change parent of the transient children that are not themselves
-// children of |old_parent|.
-void ReparentTransientChildrenOfChild(aura::Window* child,
- aura::Window* old_parent,
- aura::Window* new_parent);
-
// Snap the window's layer to physical pixel boundary.
void SnapWindowToPixelBoundary(aura::Window* window);
« no previous file with comments | « ash/wm/window_state_util.cc ('k') | ash/wm/window_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698