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

Side by Side Diff: mash/wm/public/interfaces/shelf_layout.mojom

Issue 1835403002: Support additional mash shelf alignments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 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 unified diff | Download patch
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698