Index: public/web/WebViewClient.h |
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h |
index 10fde1564337acaf9d95f46611914a9d31bc0c09..66c9cbfccd58624cc7622bc35a83a1e5eb1dee79 100644 |
--- a/public/web/WebViewClient.h |
+++ b/public/web/WebViewClient.h |
@@ -290,32 +290,19 @@ public: |
const WebURL& url, |
const WebString& title) |
{ |
- registerProtocolHandler(scheme, baseUrl.string(), url.string(), title); |
+ registerProtocolHandler(scheme, baseUrl, url, title); |
jochen (gone - plz use gerrit)
2014/04/14 07:01:14
sorry, if I was unclear. I think we can delete thi
gyuyoung-inactive
2014/04/14 07:34:18
No, my bad. Sorry about unneeded function call.
|
} |
// Unregisters a given URL handler for the given protocol. |
virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL& baseUrl, const WebURL& url) |
{ |
- unregisterProtocolHandler(scheme, baseUrl.string(), url.string()); |
+ unregisterProtocolHandler(scheme, baseUrl, url); |
jochen (gone - plz use gerrit)
2014/04/14 07:01:14
and this line
|
} |
// Check if a given URL handler is registered for the given protocol. |
virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& baseUrl, const WebURL& url) |
{ |
- return isProtocolHandlerRegistered(scheme, baseUrl.string(), url.string()); |
- } |
- |
- // These old version APIs need to be removed after synching with chrome side. |
- virtual void registerProtocolHandler(const WebString& scheme, |
- const WebString& baseUrl, |
- const WebString& url, |
- const WebString& title) { } |
- |
- virtual void unregisterProtocolHandler(const WebString& scheme, const WebString& baseUrl, const WebString& url) { } |
- |
- virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebString& baseUrl, const WebString& url) |
- { |
- return WebCustomHandlersNew; |
+ return isProtocolHandlerRegistered(scheme, baseUrl, url; |
jochen (gone - plz use gerrit)
2014/04/14 07:01:14
and make this return WebCustomHandlersNew;
|
} |