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

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: 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/web/NavigatorContentUtilsClientImpl.h
diff --git a/Source/web/NavigatorContentUtilsClientImpl.h b/Source/web/NavigatorContentUtilsClientImpl.h
index 032815e97f43940de5821700089fbc7863fe254b..6a706409e24c35b0a733a5b5af8fbe7a578be5c6 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 KURL& baseURL, const KURL&, const String& title) OVERRIDE;
- virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL& baseURL, const KURL&) OVERRIDE;
- virtual void unregisterProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&) OVERRIDE;
+ virtual void registerProtocolHandler(const String& scheme, const KURL&, const String& title) OVERRIDE;
+ virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL&) OVERRIDE;
+ virtual void unregisterProtocolHandler(const String& scheme, const KURL&) OVERRIDE;
private:
explicit NavigatorContentUtilsClientImpl(WebViewImpl*);

Powered by Google App Engine
This is Rietveld 408576698