| Index: public/web/WebViewClient.h
|
| diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
|
| index 10fde1564337acaf9d95f46611914a9d31bc0c09..d708059c753913b6154c8aee4d0975a03a48fad1 100644
|
| --- a/public/web/WebViewClient.h
|
| +++ b/public/web/WebViewClient.h
|
| @@ -288,33 +288,14 @@ public:
|
| virtual void registerProtocolHandler(const WebString& scheme,
|
| const WebURL& baseUrl,
|
| const WebURL& url,
|
| - const WebString& title)
|
| - {
|
| - registerProtocolHandler(scheme, baseUrl.string(), url.string(), title);
|
| - }
|
| + const WebString& title) { }
|
|
|
| // 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());
|
| - }
|
| + virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL& baseUrl, const WebURL& url) { }
|
|
|
| // 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;
|
| }
|
|
|
|
|