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

Unified Diff: ash/wm/window_util.h

Issue 2904273002: [mus+ash] Removes WmWindow from RootWindowcontroller implementation (Closed)
Patch Set: [mus+ash] Removes WmWindow from RootWindowcontroller implementation (rebased) Created 3 years, 7 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_properties.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 1697eebc694595a1acb9002bec14566a40ab1245..d3fcf3d5ba078d0fca0b54c1c9f8e39a3a0b479f 100644
--- a/ash/wm/window_util.h
+++ b/ash/wm/window_util.h
@@ -77,6 +77,11 @@ ASH_EXPORT void SetSnapsChildrenToPhysicalPixelBoundary(
ASH_EXPORT int GetNonClientComponent(aura::Window* window,
const gfx::Point& location);
+// When set, the child windows should get a slightly larger hit region to make
+// resizing easier.
+ASH_EXPORT void SetChildrenUseExtendedHitRegionForWindow(aura::Window* window);
+ASH_EXPORT bool ShouldUseExtendedHitRegionForWindow(const aura::Window* window);
+
// Requests the |window| to close and destroy itself. This is intended to
// forward to an associated widget.
ASH_EXPORT void CloseWidgetForWindow(aura::Window* window);
« no previous file with comments | « ash/wm/window_properties.cc ('k') | ash/wm/window_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698