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

Unified Diff: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync. Created 4 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
Index: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h
diff --git a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h
index 25ec4089902e81e8762ee3326163fc08ae9682e9..2eb42938c88c6f679586b8af06067139eb3cb98d 100644
--- a/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h
+++ b/third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h
@@ -45,6 +45,7 @@ public:
virtual void setViewportSize(const blink::WebSize& unusedDeprecated,
const blink::WebSize& deviceViewportSize);
void setViewportSize(const blink::WebSize&) override;
+ WebSize getViewportSize() const override;
void setDeviceScaleFactor(float) override;
void setBackgroundColor(blink::WebColor) override;
void setHasTransparentBackground(bool) override;

Powered by Google App Engine
This is Rietveld 408576698