Chromium Code Reviews| 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.
|
| + |