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

Unified Diff: services/ui/ws/window_server.h

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: services/ui/ws/window_server.h
diff --git a/services/ui/ws/window_server.h b/services/ui/ws/window_server.h
index 17e335d73cec56998b98f6cecce606e9db5ae9c9..a2c8112b2895c7bbc05d6a4c3a61fa20ba239477 100644
--- a/services/ui/ws/window_server.h
+++ b/services/ui/ws/window_server.h
@@ -328,7 +328,7 @@ class WindowServer : public ServerWindowDelegate,
// cc::mojom::DisplayCompositorClient:
void OnSurfaceCreated(const cc::SurfaceId& surface_id,
- const gfx::Size& frame_size,
+ const gfx::Size& frame_size_in_dip,
sky 2016/12/03 16:28:30 Why does this function take dips?
kylechar 2016/12/05 14:46:11 +1. This function receives PP values for frame_siz
float device_scale_factor) override;
// UserIdTrackerObserver:

Powered by Google App Engine
This is Rietveld 408576698