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

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

Issue 2648433006: Get frecon working with mustash. (Closed)
Patch Set: Rebase and change manifests. Created 3 years, 11 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
« no previous file with comments | « services/ui/manifest.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module display.mojom; 5 module display.mojom;
6 6
7 import "ui/gfx/geometry/mojo/geometry.mojom"; 7 import "ui/gfx/geometry/mojo/geometry.mojom";
8 8
9 // An interface for clients that are allowed to make changes to the display 9 // An interface for clients that are allowed to make changes to the display
10 // state. 10 // state.
(...skipping 13 matching lines...) Expand all
24 // Rotate the current display by 90° CW. The current display is the display 24 // Rotate the current display by 90° CW. The current display is the display
25 // closest to the mouse cursor. 25 // closest to the mouse cursor.
26 RotateCurrentDisplayCW(); 26 RotateCurrentDisplayCW();
27 27
28 // Swap the primary display and the next display. 28 // Swap the primary display and the next display.
29 SwapPrimaryDisplay(); 29 SwapPrimaryDisplay();
30 30
31 // Toggles between mirroring and extended mode. 31 // Toggles between mirroring and extended mode.
32 ToggleMirrorMode(); 32 ToggleMirrorMode();
33 33
34 // ============================ Virtual Terminal ============================
35
36 // Take control of all display output. This is called when switching from the
37 // virtual terminal back to Chrome in response to a dbus message.
38 TakeDisplayControl() => (bool status);
39
40 // Relinquish control of all display output. This is called when switching
41 // from Chrome to the virtual terminal in response to a dbus message.
42 RelinquishDisplayControl() => (bool status);
43
34 // ========================= Configuration Changes ========================== 44 // ========================= Configuration Changes ==========================
35 45
36 // Sets the display work area with the provided insets. The display size is 46 // Sets the display work area with the provided insets. The display size is
37 // included to ensure that the insets are for the current display size. 47 // included to ensure that the insets are for the current display size.
38 SetDisplayWorkArea(int64 display_id, 48 SetDisplayWorkArea(int64 display_id,
39 gfx.mojom.Size size, 49 gfx.mojom.Size size,
40 gfx.mojom.Insets insets); 50 gfx.mojom.Insets insets);
41 51
42 // TODO(kylechar): This interface will need to be expanded to provide 52 // TODO(kylechar): This interface will need to be expanded to provide
43 // additional functionality for the display settings page and other ash 53 // additional functionality for the display settings page and other ash
44 // keyboard accelerators. 54 // keyboard accelerators.
45 }; 55 };
OLDNEW
« no previous file with comments | « services/ui/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698