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

Unified Diff: ui/base/mojo/ui_base_types.mojom

Issue 2710023007: Make WindowTree::SetModal() take the type. (Closed)
Patch Set: address feedback. Created 3 years, 9 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 | « ui/base/mojo/typemaps.gni ('k') | ui/base/mojo/ui_base_types.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/mojo/ui_base_types.mojom
diff --git a/ui/base/mojo/ui_base_types.mojom b/ui/base/mojo/ui_base_types.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..e2b12c0016454727ebab2605c6a6569146045007
--- /dev/null
+++ b/ui/base/mojo/ui_base_types.mojom
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module ui.mojom;
+
+// Specifies the type of modality applied to a window. Different modal
+// treatments may be handled differently by the window manager.
+enum ModalType {
+ // Window is not modal.
+ NONE,
+
+ // Window is modal to its transient parent.
+ WINDOW,
+
+ // Window is modal to a child of its transient parent.
+ CHILD,
+
+ // Window is modal to all other windows.
+ SYSTEM
+};
« no previous file with comments | « ui/base/mojo/typemaps.gni ('k') | ui/base/mojo/ui_base_types.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698