| Index: third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
| diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
| index 54f3a197b5ab2b6933a76258f5156d18f65e84d0..190320275bea7830ebe3e131f2a2301253956e83 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
| +++ b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
|
| @@ -174,6 +174,7 @@ public:
|
|
|
| virtual bool allowScript(bool enabledPerSettings) { return enabledPerSettings; }
|
| virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL&) { return enabledPerSettings; }
|
| + virtual bool allowKeygen() { return false; }
|
| virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSettings; }
|
| virtual bool allowImage(bool enabledPerSettings, const KURL&) { return enabledPerSettings; }
|
| virtual bool allowMedia(const KURL&) { return true; }
|
| @@ -186,6 +187,8 @@ public:
|
| // that need to know if JavaScript is enabled but are not necessarily
|
| // preparing to execute script.
|
| virtual void didNotAllowScript() { }
|
| + // This callback is similar, but for keygen.
|
| + virtual void didNotAllowKeygen() { }
|
| // This callback is similar, but for plugins.
|
| virtual void didNotAllowPlugins() { }
|
|
|
|
|