| Index: services/ui/public/interfaces/display/display_controller.mojom
|
| diff --git a/services/ui/public/interfaces/display/display_controller.mojom b/services/ui/public/interfaces/display/display_controller.mojom
|
| index b9ae186dca3708d4c6225153a71e8f28155f42a4..c4e126d824ea64e82ef841089fe7ccfc44e2d51d 100644
|
| --- a/services/ui/public/interfaces/display/display_controller.mojom
|
| +++ b/services/ui/public/interfaces/display/display_controller.mojom
|
| @@ -4,13 +4,20 @@
|
|
|
| module display.mojom;
|
|
|
| +import "ui/gfx/geometry/mojo/geometry.mojom";
|
| +
|
| // An interface for clients that are allowed to make changes to the display
|
| // state.
|
| interface DisplayController {
|
| - // Toggles adding or removing a virtual display. If there is only one display
|
| - // a second display is added. If there is more than one display then the last
|
| - // display is removed.
|
| - ToggleVirtualDisplay();
|
| +
|
| + // Swap the primary display and the next display.
|
| + SwapPrimaryDisplay();
|
| +
|
| + // Sets the display work area with the provided insets. The display size is
|
| + // included to ensure that the insets are for the current display size.
|
| + SetDisplayWorkArea(int64 display_id,
|
| + gfx.mojom.Size size,
|
| + gfx.mojom.Insets insets);
|
|
|
| // TODO(kylechar): This interface will need to be expanded to provide
|
| // additional functionality for the display settings page and other ash
|
|
|