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 display.mojom; |
| 6 |
| 7 // An interface for privileged clients that are allowed to make changes to the |
| 8 // display state. |
| 9 interface DisplayController { |
| 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 |
| 12 // display is removed. |
| 13 ToggleVirtualDisplay() => (bool success); |
| 14 |
| 15 // Increase the resolution of the specified display. |
| 16 IncreaseResolution(int64 display_id); |
| 17 |
| 18 // Decreases the resolution of the specified display. |
| 19 DecreaseResolution(int64 display_id); |
| 20 |
| 21 // Resets specified display to default resolution. |
| 22 UseDefaultResolution(int64 display_id); |
| 23 |
| 24 // TODO(kylechar): This interface will need to be expanded to provide |
| 25 // additional functionality for the display settings page. |
| 26 }; |
OLD | NEW |