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

Unified Diff: content/renderer/gpu/render_widget_compositor.h

Issue 1412663005: Introduce painted-device-scale-factor and use it when --enable-use-zoom-for-dsf is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « content/public/common/content_switches.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.h
diff --git a/content/renderer/gpu/render_widget_compositor.h b/content/renderer/gpu/render_widget_compositor.h
index ee101bb610df5f193a16638a355d28bcda56e73c..c2c3c2c7846dced8d1490d35bd2da3c23786e96a 100644
--- a/content/renderer/gpu/render_widget_compositor.h
+++ b/content/renderer/gpu/render_widget_compositor.h
@@ -81,6 +81,7 @@ class CONTENT_EXPORT RenderWidgetCompositor
void SetSurfaceIdNamespace(uint32_t surface_id_namespace);
cc::ManagedMemoryPolicy GetGpuMemoryPolicy(
const cc::ManagedMemoryPolicy& policy);
+ void SetPaintedDeviceScaleFactor(float device_scale);
// WebLayerTreeView implementation.
void setRootLayer(const blink::WebLayer& layer) override;
@@ -89,9 +90,6 @@ class CONTENT_EXPORT RenderWidgetCompositor
blink::WebCompositorAnimationTimeline* compositor_timeline) override;
void detachCompositorAnimationTimeline(
blink::WebCompositorAnimationTimeline* compositor_timeline) override;
- virtual void setViewportSize(
- const blink::WebSize& unused_deprecated,
- const blink::WebSize& device_viewport_size);
void setViewportSize(const blink::WebSize& device_viewport_size) override;
virtual blink::WebFloatPoint adjustEventPointForPinchZoom(
const blink::WebFloatPoint& point) const;
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698