| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module mash.wm.mojom; | 5 module ash.mojom; |
| 6 | 6 |
| 7 import "mash/shelf/public/interfaces/shelf_constants.mojom"; | 7 import "mash/shelf/public/interfaces/shelf_constants.mojom"; |
| 8 | 8 |
| 9 // Used by mojo:ash_sysui to push the current shelf state to its layout manager. | 9 // Used by mojo:ash_sysui to push the current shelf state to its layout manager. |
| 10 interface ShelfLayout { | 10 interface ShelfLayout { |
| 11 // TODO: Update preferred sizes with alignment to avoid flicker during layout. | 11 // TODO: Update preferred sizes with alignment to avoid flicker during layout. |
| 12 SetAlignment(mash.shelf.mojom.Alignment alignment); | 12 SetAlignment(mash.shelf.mojom.Alignment alignment); |
| 13 SetAutoHideBehavior(mash.shelf.mojom.AutoHideBehavior auto_hide); | 13 SetAutoHideBehavior(mash.shelf.mojom.AutoHideBehavior auto_hide); |
| 14 }; | 14 }; |
| OLD | NEW |