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

Unified Diff: components/mus/public/interfaces/window_manager_constants.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_constants.mojom
diff --git a/components/mus/public/interfaces/window_manager_constants.mojom b/components/mus/public/interfaces/window_manager_constants.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..47d0b4d788902c064f0d4acc8fba4b09d7ee7f03
--- /dev/null
+++ b/components/mus/public/interfaces/window_manager_constants.mojom
@@ -0,0 +1,35 @@
+// Copyright 2015 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 mus.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;
+};
« no previous file with comments | « components/mus/public/interfaces/window_manager.mojom ('k') | components/mus/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698