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, }; | |
msw
2016/04/12 00:14:00
These enums already exist (in mash/shelf/public/in
sky
2016/04/13 23:44:11
The ash directory is likely to morph into the sysu
msw
2016/04/15 17:25:06
Added mash/shelf/.../shelf_constants.mojom, lmk if
| |
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 |