| Index: third_party/WebKit/public/web/WebContentSettingsClient.h
|
| diff --git a/third_party/WebKit/public/web/WebContentSettingsClient.h b/third_party/WebKit/public/web/WebContentSettingsClient.h
|
| index dc957e1f5e4cde1cf2e9410ca3ec9c45f9033698..882aa79a1c7bf522f877aafcf41673039043e085 100644
|
| --- a/third_party/WebKit/public/web/WebContentSettingsClient.h
|
| +++ b/third_party/WebKit/public/web/WebContentSettingsClient.h
|
| @@ -33,6 +33,9 @@ public:
|
| // Controls whether HTML5 media elements (<audio>, <video>) are allowed for this frame.
|
| virtual bool allowMedia(const WebURL& videoURL) { return true; }
|
|
|
| + // Controls whether keygen is allowed for this frame.
|
| + virtual bool allowKeygen(bool enabledPerSettings) { return enabledPerSettings; }
|
| +
|
| // Controls whether plugins are allowed for this frame.
|
| virtual bool allowPlugins(bool enabledPerSettings) { return enabledPerSettings; }
|
|
|
| @@ -78,6 +81,9 @@ public:
|
| // but it's been named for consistency with the rest of the interface.
|
| virtual bool allowMutationEvents(bool defaultValue) { return defaultValue; }
|
|
|
| + // Notifies the client that the frame would have instantiated a keygen if keygen was enabled.
|
| + virtual void didNotAllowKeygen() { }
|
| +
|
| // Notifies the client that the frame would have instantiated a plugin if plugins were enabled.
|
| virtual void didNotAllowPlugins() { }
|
|
|
|
|