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

Unified Diff: cc/ipc/display_compositor.mojom

Issue 2547243002: Set device scale factor in CompositorFrame and scale frame size in WS. (Closed)
Patch Set: Created 4 years 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: cc/ipc/display_compositor.mojom
diff --git a/cc/ipc/display_compositor.mojom b/cc/ipc/display_compositor.mojom
index d8fab7a6763bd5a70fb02084d7af69a7310269b0..13eb5230180cb0e3d78f913f25f237fbd2fe016f 100644
--- a/cc/ipc/display_compositor.mojom
+++ b/cc/ipc/display_compositor.mojom
@@ -48,6 +48,6 @@ interface DisplayCompositorClient {
// Called by the display compositor immediately upon receiving a
// CompositorFrame with a new SurfaceId for the first time.
OnSurfaceCreated(cc.mojom.SurfaceId surface_id,
- gfx.mojom.Size frame_size,
+ gfx.mojom.Size frame_size_in_dip,
kylechar 2016/12/05 14:46:11 This is comes via SurfaceManager like so: Surface
float device_scale_factor);
};

Powered by Google App Engine
This is Rietveld 408576698