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

Unified Diff: ash/public/interfaces/window_pin_type.mojom

Issue 2778733004: Add WindowPinType property on arua::Window (Closed)
Patch Set: Address review issues. Created 3 years, 8 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: ash/public/interfaces/window_pin_type.mojom
diff --git a/ash/public/interfaces/window_pin_type.mojom b/ash/public/interfaces/window_pin_type.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..041aea96c361b6396102a2948a4c741f51cf4130
--- /dev/null
+++ b/ash/public/interfaces/window_pin_type.mojom
@@ -0,0 +1,22 @@
+// 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 ash.mojom;
+
+// The window's pin type enum.
+enum WindowPinType {
+ NONE,
+
+ // The window is pinned on top of other windows.
+ PINNED,
+
+ // The window is pinned on top of other windows. It is similar to
+ // PINNED but does not allow user to exit the mode by shortcut key.
+ TRUSTED_PINNED,
+};
+
+// The window's pin type. Maps to ash::aura::kWindowPinTypeKey.
+const string kWindowPinType_Property = "ash:window-pin-type";
+
sky 2017/04/04 17:04:57 remove extra lines.
Peng 2017/04/04 17:38:00 Done.
+

Powered by Google App Engine
This is Rietveld 408576698