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

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

Issue 1615023004: Start of display management for mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crash and add back getting constants Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/mus/public/interfaces/display.mojom ('k') | components/mus/ws/connection_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index 010b2a6f108c9b5ecb4198fbe469ae041ffbc638..9b86fa21cc05d5a0fd7aaf063b87c6b3f8a7c293 100644
--- a/components/mus/public/interfaces/window_manager_constants.mojom
+++ b/components/mus/public/interfaces/window_manager_constants.mojom
@@ -31,12 +31,21 @@ const int32 kResizeBehaviorCanResize = 1;
const int32 kResizeBehaviorCanMaximize = 2;
const int32 kResizeBehaviorCanMinimize = 4;
+enum TouchSupport {
+ UNKNOWN,
+ AVAILABLE,
+ UNAVAILABLE,
+};
+
+// TODO(sky): move this to display.mojom
struct Display {
int64 id;
mojo.Rect bounds;
mojo.Rect work_area;
float device_pixel_ratio;
Rotation rotation;
+ TouchSupport touch_support;
+ bool is_primary;
};
enum WindowType {
« no previous file with comments | « components/mus/public/interfaces/display.mojom ('k') | components/mus/ws/connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698