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

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

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address Dmitry's comments + sync. Created 4 years, 3 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
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 2bed4bfb9989683bde1321e2ee72855714595301..58f8bc0235ea4b9801480da65469c012df71073b 100644
--- a/content/renderer/gpu/render_widget_compositor.h
+++ b/content/renderer/gpu/render_widget_compositor.h
@@ -109,6 +109,7 @@ class CONTENT_EXPORT RenderWidgetCompositor
void detachCompositorAnimationTimeline(
cc::AnimationTimeline* compositor_timeline) override;
void setViewportSize(const blink::WebSize& device_viewport_size) override;
+ blink::WebSize getViewportSize() const override;
virtual blink::WebFloatPoint adjustEventPointForPinchZoom(
const blink::WebFloatPoint& point) const;
void setDeviceScaleFactor(float device_scale) override;

Powered by Google App Engine
This is Rietveld 408576698