| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8b71a5d094f5df82e1388a38217346b7442a6628
|
| --- /dev/null
|
| +++ b/services/ui/public/interfaces/display/display_controller.mojom
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +module display.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() => (bool success);
|
| +
|
| + // TODO(kylechar): This interface will need to be expanded to provide
|
| + // additional functionality for the display settings page and other ash
|
| + // keyboard accelerators.
|
| +};
|
|
|