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

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

Issue 2537643008: Add IPCs for ash display shortcuts. (Closed)
Patch Set: Rebase. Created 4 years 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/display/screen_manager_ozone.cc ('k') | no next file » | 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
index c4e126d824ea64e82ef841089fe7ccfc44e2d51d..0d991ae29d2d585fdf01b35a07bab4fe080de7dc 100644
--- a/services/ui/public/interfaces/display/display_controller.mojom
+++ b/services/ui/public/interfaces/display/display_controller.mojom
@@ -10,9 +10,29 @@ import "ui/gfx/geometry/mojo/geometry.mojom";
// state.
interface DisplayController {
+ // =========================== Keyboard Shortcuts ===========================
+
+ // Increase zoom on internal display.
+ IncreaseInternalDisplayZoom();
+
+ // Decrease zoom on internal display.
+ DecreaseInternalDisplayZoom();
+
+ // Reset zoom on internal display to default level.
+ ResetInternalDisplayZoom();
+
+ // Rotate the current display by 90° CW. The current display is the display
+ // closest to the mouse cursor.
+ RotateCurrentDisplayCW();
+
// Swap the primary display and the next display.
SwapPrimaryDisplay();
+ // Toggles between mirroring and extended mode.
+ ToggleMirrorMode();
+
+ // ========================= Configuration Changes ==========================
+
// 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,
« no previous file with comments | « services/ui/display/screen_manager_ozone.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698