summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/public/WebPermissionClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/public/WebPermissionClient.h')
-rw-r--r--Source/WebKit/chromium/public/WebPermissionClient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/public/WebPermissionClient.h b/Source/WebKit/chromium/public/WebPermissionClient.h
index 5d059ef5d..0b6414b4e 100644
--- a/Source/WebKit/chromium/public/WebPermissionClient.h
+++ b/Source/WebKit/chromium/public/WebPermissionClient.h
@@ -101,6 +101,9 @@ public:
// but it's been named for consistency with the rest of the interface.
virtual bool allowMutationEvents(const WebDocument&, bool defaultValue) { return defaultValue; }
+ // Controls whether pushState and related History APIs are enabled for this frame.
+ virtual bool allowPushState(const WebDocument&) { return true; }
+
// Notifies the client that the frame would have instantiated a plug-in if plug-ins were enabled.
virtual void didNotAllowPlugins(WebFrame*) { }