Chromium Code Reviews| 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..895c541d9442606be212e4276b65211cd0b1e0dc 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(bool enabledPerSettings) { return enabledPerSettings; } |
|
Bernhard Bauer
2015/11/05 11:12:13
What is |enabledPerSettings| for? It seems you onl
svaldez
2015/11/05 16:35:20
Removed, I was trying to match the other allow met
|
| 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() { } |