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

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
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..15e2dcef3329a39c495a7cbaa4d1564abf813def
--- /dev/null
+++ b/ash/public/interfaces/window_pin_type.mojom
@@ -0,0 +1,20 @@
+// 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";
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698