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 4899a6e35b7621d24b543680f2be578ca985b2f7..ae8fe5974cd1ccfeccc061b22f4d9db1ab1cf826 100644 |
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
@@ -222,6 +222,14 @@ bool FrameLoaderClientImpl::allowScriptFromSource(bool enabledPerSettings, const |
return enabledPerSettings; |
} |
+bool FrameLoaderClientImpl::allowKeygen(bool enabledPerSettings) |
+{ |
+ if (m_webFrame->contentSettingsClient()) |
+ return m_webFrame->contentSettingsClient()->allowKeygen(enabledPerSettings); |
+ |
+ return enabledPerSettings; |
+} |
+ |
bool FrameLoaderClientImpl::allowPlugins(bool enabledPerSettings) |
{ |
if (m_webFrame->contentSettingsClient()) |
@@ -268,6 +276,13 @@ void FrameLoaderClientImpl::didNotAllowScript() |
m_webFrame->contentSettingsClient()->didNotAllowScript(); |
} |
+void FrameLoaderClientImpl::didNotAllowKeygen() |
+{ |
+ if (m_webFrame->contentSettingsClient()) |
+ m_webFrame->contentSettingsClient()->didNotAllowKeygen(); |
+ |
+} |
+ |
void FrameLoaderClientImpl::didNotAllowPlugins() |
{ |
if (m_webFrame->contentSettingsClient()) |