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

Unified Diff: Source/web/NavigatorContentUtilsClientImpl.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: Source/web/NavigatorContentUtilsClientImpl.h
diff --git a/Source/web/NavigatorContentUtilsClientImpl.h b/Source/web/NavigatorContentUtilsClientImpl.h
index 5655f3e43ff8ff319fa430185c272f13e6a1a8dd..0ac4b7cfc7e9d20c72bdf34885f12b96259f0f21 100644
--- a/Source/web/NavigatorContentUtilsClientImpl.h
+++ b/Source/web/NavigatorContentUtilsClientImpl.h
@@ -17,9 +17,9 @@ public:
static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*);
virtual ~NavigatorContentUtilsClientImpl() { }
- virtual void registerProtocolHandler(const String& scheme, const blink::KURL& baseURL, const blink::KURL&, const String& title) OVERRIDE;
- virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const blink::KURL& baseURL, const blink::KURL&) OVERRIDE;
- virtual void unregisterProtocolHandler(const String& scheme, const blink::KURL& baseURL, const blink::KURL&) OVERRIDE;
+ virtual void registerProtocolHandler(const String& scheme, const blink::KURL&, const String& title) OVERRIDE;
+ virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const blink::KURL&) OVERRIDE;
+ virtual void unregisterProtocolHandler(const String& scheme, const blink::KURL&) OVERRIDE;
private:
explicit NavigatorContentUtilsClientImpl(WebViewImpl*);

Powered by Google App Engine
This is Rietveld 408576698