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

Side by Side Diff: services/ui/public/interfaces/display/display_controller.mojom

Issue 2310133002: Add mojom::DisplayController. (Closed)
Patch Set: Remove acclerator. 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 unified diff | Download patch
OLDNEW
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698