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

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

Issue 2042643002: Implement cc::CompositorFrameMetadata StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment Created 4 years, 6 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/compositor_frame.mojom
diff --git a/components/mus/public/interfaces/compositor_frame.mojom b/components/mus/public/interfaces/compositor_frame.mojom
index 5cd939da1c0cc65a6172fa664085be2fa695f7dc..6cc2c6b6de8d7907b1854bede48d0f4bd0742ca4 100644
--- a/components/mus/public/interfaces/compositor_frame.mojom
+++ b/components/mus/public/interfaces/compositor_frame.mojom
@@ -4,6 +4,7 @@
module mus.mojom;
+import "cc/ipc/compositor_frame_metadata.mojom";
import "cc/ipc/returned_resource.mojom";
import "cc/ipc/transferable_resource.mojom";
import "components/mus/public/interfaces/quads.mojom";
@@ -11,14 +12,9 @@ import "ui/gfx/geometry/mojo/geometry.mojom";
import "gpu/ipc/common/mailbox_holder.mojom";
import "gpu/ipc/common/sync_token.mojom";
-// See cc/output/compositor_frame_metadata.h.
-struct CompositorFrameMetadata {
- float device_scale_factor;
-};
-
// See src/cc/output/compositor_frame.h.
struct CompositorFrame {
- CompositorFrameMetadata metadata;
+ cc.mojom.CompositorFrameMetadata metadata;
array<cc.mojom.TransferableResource> resources;
array<Pass> passes;
};
« no previous file with comments | « components/mus/public/cpp/surfaces/tests/surface_unittest.cc ('k') | components/mus/ws/server_window_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698