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

Unified Diff: third_party/WebKit/public/web/WebView.h

Issue 1400213002: Update telemetry tests that rely on window.innerWidth/Height. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Worked on review comments 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
Index: third_party/WebKit/public/web/WebView.h
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
index 1bce1b29c1c406d455ed3a94ebe57392d755d3cd..ccd46ce923ab392a5ec3aa6c8e7f44ebcbcfe5de 100644
--- a/third_party/WebKit/public/web/WebView.h
+++ b/third_party/WebKit/public/web/WebView.h
@@ -253,6 +253,9 @@ public:
// side callers are renamed.
virtual WebFloatPoint pinchViewportOffset() const = 0;
+ // Get the visual viewport's size in CSS pixels.
+ virtual WebFloatSize visualViewportSize() const = 0;
+
// Sets the default minimum, and maximum page scale. These will be overridden
// by the page or by the overrides below if they are set.
virtual void setDefaultPageScaleLimits(
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | tools/telemetry/telemetry/internal/actions/gesture_common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698