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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 1c2e7784d2bde4cddf3a0c06d41c1d99231a2e2a..074a1387027f6b5673c465439c32f28d6b1e7e28 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -605,6 +605,11 @@ void ChromeClientImpl::pageScaleFactorChanged() const
m_webView->pageScaleFactorChanged();
}
+void ChromeClientImpl::mainFrameScrollOffsetChanged() const
+{
+ m_webView->mainFrameScrollOffsetChanged();
+}
+
float ChromeClientImpl::clampPageScaleFactorToLimits(float scale) const
{
return m_webView->clampPageScaleFactorToLimits(scale);

Powered by Google App Engine
This is Rietveld 408576698