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

Unified Diff: ui/wm/core/window_modality_controller.h

Issue 2172363002: Created min size for print preview dialog and modified to allow the Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Track independent bounds as native window property not member of widget class Created 4 years, 4 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: ui/wm/core/window_modality_controller.h
diff --git a/ui/wm/core/window_modality_controller.h b/ui/wm/core/window_modality_controller.h
index 106db131be96645f01f04602b4665aaf314e9c45..283bd750e3fcf698b1cebe82fd7bdeb752db3fbc 100644
--- a/ui/wm/core/window_modality_controller.h
+++ b/ui/wm/core/window_modality_controller.h
@@ -20,9 +20,13 @@ class LocatedEvent;
}
namespace wm {
+//extern const char kHasIndependentBoundsKey[];
// Sets the modal parent for the child.
-WM_EXPORT void SetModalParent(aura::Window* child, aura::Window* parent);
+//
+WM_EXPORT void SetModalParent(aura::Window* child, aura::Window* parent,
+ bool* independent,
+ const char * kHasIndependentBounds);
// Returns the modal transient child of |window|, or NULL if |window| does not
// have any modal transient children.

Powered by Google App Engine
This is Rietveld 408576698