Chromium Code Reviews| Index: components/mus/public/interfaces/window_tree.mojom |
| diff --git a/components/mus/public/interfaces/window_tree.mojom b/components/mus/public/interfaces/window_tree.mojom |
| index 5114297483828adedb1588f28466c90ea90faf2e..4948e13bfc62bf73bfb64222aaada0f791ab9080 100644 |
| --- a/components/mus/public/interfaces/window_tree.mojom |
| +++ b/components/mus/public/interfaces/window_tree.mojom |
| @@ -179,6 +179,13 @@ interface WindowTree { |
| // This does not change transient window's position in the window hierarchy. |
| RemoveTransientWindowFromParent(uint32 change_id, uint32 transient_window_id); |
| + // Sets |window_id| to be modal to its transient parent. |
| + // This fails if |window_id| does not identify a valid window. |
| + // TODO(mohsen): If |window_id| does not have a transient parent, this will |
| + // have no effect. Plan is to make a window modal to system if it does not |
| + // have a transient parent. |
| + SetAsModal(uint32 change_id, uint32 window_id); |
|
sky
2016/03/09 16:33:56
SetModal here too.
mohsen
2016/03/09 18:32:51
Done.
|
| + |
| // Reorders a window in its parent, relative to |relative_window_id| according |
| // to |direction|. Only the connection that created the window's parent can |
| // reorder its children. |