Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index 328f5aafc22ebce7b0b6e7654a8a5d17d5be107b..8cd3149246537b66696b76b07c3aa15b9e69edd1 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -41,6 +41,7 @@ |
#include "WebIconURL.h" |
#include "WebNavigationPolicy.h" |
#include "WebNavigationType.h" |
+#include "WebNavigatorContentUtilsClient.h" |
#include "WebSandboxFlags.h" |
#include "WebTextDirection.h" |
#include "public/platform/WebCommon.h" |
@@ -646,6 +647,22 @@ public: |
// App Banners --------------------------------------------------------- |
virtual WebAppBannerClient* appBannerClient() { return 0; } |
+ // Navigator Content Utils -------------------------------------------- |
+ |
+ // Registers a new URL handler for the given protocol. |
+ virtual void registerProtocolHandler(const WebString& scheme, |
+ const WebURL& url, |
+ const WebString& title) { } |
+ |
+ // Unregisters a given URL handler for the given protocol. |
+ virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL& url) { } |
+ |
+ // Check if a given URL handler is registered for the given protocol. |
+ virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url) |
+ { |
+ return WebCustomHandlersNew; |
+ } |
+ |
protected: |
virtual ~WebFrameClient() { } |
}; |