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

Unified Diff: cc/ipc/surface_info.mojom

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 12 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 | « cc/ipc/display_compositor.mojom ('k') | cc/ipc/surface_info.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/surface_info.mojom
diff --git a/cc/ipc/surface_info.mojom b/cc/ipc/surface_info.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..490009ad08473d54fc31a7456b01ef25014e6145
--- /dev/null
+++ b/cc/ipc/surface_info.mojom
@@ -0,0 +1,17 @@
+// Copyright 2017 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 cc.mojom;
+
+import "cc/ipc/surface_id.mojom";
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+// Holds information about an embeddable surface. This data can be passed
+// across clients to embed the associated surface in another client.
+struct SurfaceInfo {
+ SurfaceId surface_id;
+ float device_scale_factor;
+ gfx.mojom.Size size_in_pixels;
+};
+
« no previous file with comments | « cc/ipc/display_compositor.mojom ('k') | cc/ipc/surface_info.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698