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

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: baseURL is not required anymore Created 6 years, 5 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/06 18:34:56 Is Chromium prepared for this change or will this
pals 2014/08/06 18:46:47 This is the chromium side CL https://codereview.ch
pals 2014/08/07 14:06:06 Done.
« Source/core/frame/Settings.in ('K') | « Source/web/NavigatorContentUtilsClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698