Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(939)

Unified Diff: public/web/WebViewClient.h

Issue 392993005: Custom handlers should throw SecurityError exception if the URL's origin differs from the document'… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: moved navigatorcontentutils to http/tests Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: public/web/WebViewClient.h
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
index 748a9d3dcfa4027d29bf788bf677378f03322b07..7061e2ff9449091076068c6c9d8588a3bb3eb9d6 100644
--- a/public/web/WebViewClient.h
+++ b/public/web/WebViewClient.h
@@ -261,15 +261,14 @@ public:
// Registers a new URL handler for the given protocol.
virtual void registerProtocolHandler(const WebString& scheme,
- const WebURL& baseUrl,
const WebURL& url,
const WebString& title) { }
// Unregisters a given URL handler for the given protocol.
- virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL& baseUrl, const WebURL& url) { }
+ 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& baseUrl, const WebURL& url)
+ virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url)
{
return WebCustomHandlersNew;
}
abarth-chromium 2014/08/20 18:15:10 Is Chromium prepared to handle this API change or
pals 2014/08/21 14:02:56 I am not sure what is the best way to land this ch

Powered by Google App Engine
This is Rietveld 408576698