Chromium Code Reviews| Index: public/web/WebViewClient.h |
| diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h |
| index 6b9fa339ba1c6ca2e4b7aebef559e03299cc6166..4a8cd89a0036bcccba5ae03f9f4511416d60f70d 100644 |
| --- a/public/web/WebViewClient.h |
| +++ b/public/web/WebViewClient.h |
| @@ -39,6 +39,7 @@ |
| #include "WebDragOperation.h" |
| #include "WebFileChooserCompletion.h" |
| #include "WebFileChooserParams.h" |
| +#include "WebNavigatorContentUtilsClient.h" |
| #include "WebPageVisibilityState.h" |
| #include "WebPopupType.h" |
| #include "WebTextAffinity.h" |
| @@ -357,6 +358,15 @@ public: |
| const WebString& url, |
| const WebString& title) { } |
| + // Unregisters a given URL handler for the given protocol. |
| + virtual void unregisterProtocolHandler(const WebString& scheme, const WebString& baseUrl, const WebString& url) { } |
|
abarth-chromium
2014/01/16 04:46:45
Why do these use WebString instead of WebURL?
gyuyoung-inactive
2014/01/16 05:12:10
Because registerProtocolHandler() already has used
gyuyoung-inactive
2014/01/16 05:17:41
If there is no objection, I will upload a patch fo
|
| + |
| + // Check if a given URL handler is registered for the given protocol. |
| + virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebString& baseUrl, const WebString& url) |
| + { |
| + return WebCustomHandlersNew; |
| + } |
| + |
| // Visibility ----------------------------------------------------------- |
| // Returns the current visibility of the WebView. |