Index: components/view_manager/public/interfaces/compositor_frame.mojom |
diff --git a/components/view_manager/public/interfaces/compositor_frame.mojom b/components/view_manager/public/interfaces/compositor_frame.mojom |
index d206af7e7fee6630b01a256cd23575095bdf3bb4..2be979a682a710fbd14f9ec60c3f2bbe7bd96bc5 100644 |
--- a/components/view_manager/public/interfaces/compositor_frame.mojom |
+++ b/components/view_manager/public/interfaces/compositor_frame.mojom |
@@ -53,8 +53,14 @@ struct TransferableResource { |
bool is_software; |
}; |
+// See cc/output/compositor_frame_metadata.h. |
+struct CompositorFrameMetadata { |
+ float device_scale_factor; |
+}; |
+ |
// See src/cc/output/compositor_frame.h. |
struct CompositorFrame { |
+ CompositorFrameMetadata metadata; |
array<TransferableResource> resources; |
array<Pass> passes; |
}; |