Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Unified Diff: services/ui/public/interfaces/display/display_controller.mojom

Issue 2310133002: Add mojom::DisplayController. (Closed)
Patch Set: Add missing dep. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/public/interfaces/display/BUILD.gn ('k') | services/ui/ws/display_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
+};
« no previous file with comments | « services/ui/public/interfaces/display/BUILD.gn ('k') | services/ui/ws/display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698