Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / ash / wm / window_util.h
index f371fbd..aafb7f3 100644 (file)
@@ -14,6 +14,7 @@ class Window;
 }
 
 namespace gfx {
+class Point;
 class Rect;
 class Size;
 }
@@ -96,6 +97,17 @@ 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);
+
+// Mark the container window so that InstallSnapLayoutManagerToContainers
+// installs the SnapToPixelLayoutManager.
+ASH_EXPORT void SetSnapsChildrenToPhysicalPixelBoundary(
+    aura::Window* container);
+
+// Traverse the |container| tree and installs SnapToPixelLayoutManager.
+void InstallSnapLayoutManagerToContainers(aura::Window* container);
+
 }  // namespace wm
 }  // namespace ash