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

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

Issue 1325703002: Mandoline: Fix OOPIF high DPI sizing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hopefully fixed on Windows Created 5 years, 4 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/view_manager/connection_manager.cc ('k') | mojo/converters/surfaces/custom_surface_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « components/view_manager/connection_manager.cc ('k') | mojo/converters/surfaces/custom_surface_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698