OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module mash.wm.mojom; |
| 6 |
| 7 // These values match ash::ShelfAlignment. |
| 8 enum ShelfAlignment { BOTTOM, LEFT, RIGHT, }; |
| 9 |
| 10 // These values match ash::ShelfAutoHideBehavior. |
| 11 enum ShelfAutoHideBehavior { ALWAYS, NEVER, HIDDEN, }; |
| 12 |
| 13 // Used by mojo:ash_sysui to push the current shelf state to its layout manager. |
| 14 interface ShelfLayout { |
| 15 // TODO: Update preferred sizes with alignment to avoid flicker during layout. |
| 16 SetAlignment(ShelfAlignment alignment); |
| 17 SetAutoHideBehavior(ShelfAutoHideBehavior auto_hide); |
| 18 }; |
OLD | NEW |