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

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

Issue 2652643004: Make PageScaleFactor work for oopif subframes.
Patch Set: Put function prototype in correct place. Created 3 years, 11 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 | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index 63ed2e993648772069c27f5c614c0821fda27796..99c6522a48c770a506bf4690426ca5b6dfd7efaf 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -217,6 +217,11 @@ void FrameLoaderClientImpl::didUpdateCurrentHistoryItem() {
m_webFrame->client()->didUpdateCurrentHistoryItem();
}
+void FrameLoaderClientImpl::didRestorePageScaleFactorOnLoad(float pageScale) {
+ if (m_webFrame->client())
+ m_webFrame->client()->didRestorePageScaleFactorOnLoad(pageScale);
+}
+
bool FrameLoaderClientImpl::allowScript(bool enabledPerSettings) {
if (m_webFrame->contentSettingsClient())
return m_webFrame->contentSettingsClient()->allowScript(enabledPerSettings);
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698