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

Unified Diff: Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.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: Done Created 6 years, 3 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: Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h
diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h b/Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h
index a10eaf1dc2cdae7f971a94859e701d7580db863e..9af5349c38e41a147fe66d63b943169e0297ce3b 100644
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h
@@ -36,7 +36,7 @@ class Page;
class NavigatorContentUtilsClient {
public:
virtual ~NavigatorContentUtilsClient() { }
- virtual void registerProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&, const String& title) = 0;
+ virtual void registerProtocolHandler(const String& scheme, const KURL&, const String& title) = 0;
enum CustomHandlersState {
CustomHandlersNew,
@@ -44,8 +44,8 @@ public:
CustomHandlersDeclined
};
- virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL& baseURL, const KURL&) = 0;
- virtual void unregisterProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&) = 0;
+ virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL&) = 0;
+ virtual void unregisterProtocolHandler(const String& scheme, const KURL&) = 0;
};
void provideNavigatorContentUtilsTo(Page&, PassOwnPtr<NavigatorContentUtilsClient>);

Powered by Google App Engine
This is Rietveld 408576698