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

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: Merge ConstrainedWebDialog functions Created 4 years 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 | « components/web_modal/single_web_contents_dialog_manager.h ('k') | ui/wm/core/window_modality_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ff82716e9bad9987d242ccdb4cc7e4cf96f66e2c 100644
--- a/ui/wm/core/window_modality_controller.h
+++ b/ui/wm/core/window_modality_controller.h
@@ -21,6 +21,12 @@ class LocatedEvent;
namespace wm {
+// Key for native window proprety that indicates if the window (should be
+// ui::MODAL_TYPE_WINDOW) is top level with a transient parent and allows
+// events to be sent to the transient parent. Otherwise, window modal
+// transients will absorb all events sent to the transient parent.
+WM_EXPORT extern const char kAllowTransientParentEventsKey[];
+
// Sets the modal parent for the child.
WM_EXPORT void SetModalParent(aura::Window* child, aura::Window* parent);
« no previous file with comments | « components/web_modal/single_web_contents_dialog_manager.h ('k') | ui/wm/core/window_modality_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698