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 display.mojom; | 5 module display.mojom; |
6 | 6 |
7 // An interface for clients that are allowed to make changes to the display | 7 // An interface for clients that are allowed to make changes to the display |
8 // state. | 8 // state. |
9 interface DisplayController { | 9 interface DisplayController { |
10 // Toggles adding or removing a virtual display. If there is only one display | 10 // Toggles adding or removing a virtual display. If there is only one display |
11 // a second display is added. If there is more than one display then the last | 11 // a second display is added. If there is more than one display then the last |
12 // display is removed. | 12 // display is removed. |
13 ToggleVirtualDisplay() => (bool success); | 13 ToggleVirtualDisplay(); |
14 | 14 |
15 // TODO(kylechar): This interface will need to be expanded to provide | 15 // TODO(kylechar): This interface will need to be expanded to provide |
16 // additional functionality for the display settings page and other ash | 16 // additional functionality for the display settings page and other ash |
17 // keyboard accelerators. | 17 // keyboard accelerators. |
18 }; | 18 }; |
OLD | NEW |