| 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..ddf0bd8deec4925b14cfde6a38bc362c1ce952e8 100644
|
| --- a/ui/wm/core/window_modality_controller.h
|
| +++ b/ui/wm/core/window_modality_controller.h
|
| @@ -21,13 +21,24 @@ 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);
|
|
|
| // Returns the modal transient child of |window|, or NULL if |window| does not
|
| -// have any modal transient children.
|
| +// have any modal transient children or if the children do not block the parent
|
| +// window.
|
| WM_EXPORT aura::Window* GetModalTransient(aura::Window* window);
|
|
|
| +// Returns the modal transient of |window| including window modal transients
|
| +// that do not block the parent window.
|
| +WM_EXPORT aura::Window* HasWindowModalTransient(aura::Window * window);
|
| +
|
| // WindowModalityController is an event filter that consumes events sent to
|
| // windows that are the transient parents of window-modal windows. This filter
|
| // must be added to the CompoundEventFilter so that activation works properly.
|
|
|