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

Unified Diff: components/mus/public/interfaces/window_manager.mojom

Issue 1423133003: Routes calls to WM through WS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no braces Created 5 years, 2 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
Index: components/mus/public/interfaces/window_manager.mojom
diff --git a/components/mus/public/interfaces/window_manager.mojom b/components/mus/public/interfaces/window_manager.mojom
index 8453c49e56353cb52795047dc3dbe865e80275cf..b51a384a97b0ecea5812f8cec560c95ce947aa73 100644
--- a/components/mus/public/interfaces/window_manager.mojom
+++ b/components/mus/public/interfaces/window_manager.mojom
@@ -4,37 +4,10 @@
module mus.mojom;
+import "components/mus/public/interfaces/window_manager_constants.mojom";
import "components/mus/public/interfaces/window_tree.mojom";
import "ui/mojo/geometry/geometry.mojom";
-enum WindowManagerErrorCode {
- SUCCESS,
- ERROR_ACCESS_DENIED
-};
-
-enum ShowState {
- RESTORED,
- MINIMIZED,
- MAXIMIZED,
- IMMERSIVE,
- PRESENTATION
-};
-
-enum Rotation {
- VALUE_0,
- VALUE_90,
- VALUE_180,
- VALUE_270,
-};
-
-struct Display {
- int64 id;
- mojo.Rect bounds;
- mojo.Rect work_area;
- float device_pixel_ratio;
- Rotation rotation;
-};
-
// Represents a core interface that should be implemented by any window manager
// built on top of Mus.
// For security reasons, methods that take window_ids can only pass window ids
« no previous file with comments | « components/mus/public/interfaces/BUILD.gn ('k') | components/mus/public/interfaces/window_manager_constants.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698