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

Unified Diff: Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h

Issue 133273030: Change a WebString type of url parameter with WebURL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp ('k') | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h
diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h b/Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h
index ba632e5545a280988387be296fe7a3031bc25072..64626a99adf1c069a1ead4bf10dfdc885f5b1d97 100644
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h
@@ -26,6 +26,7 @@
#ifndef NavigatorContentUtilsClient_h
#define NavigatorContentUtilsClient_h
+#include "platform/weborigin/KURL.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
@@ -35,7 +36,7 @@ class Page;
class NavigatorContentUtilsClient {
public:
virtual ~NavigatorContentUtilsClient() { }
- virtual void registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title) = 0;
+ virtual void registerProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&, const String& title) = 0;
enum CustomHandlersState {
CustomHandlersNew,
@@ -43,8 +44,8 @@ public:
CustomHandlersDeclined
};
- virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& url) = 0;
- virtual void unregisterProtocolHandler(const String& scheme, const String& baseURL, const String& url) = 0;
+ virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const KURL& baseURL, const KURL&) = 0;
+ virtual void unregisterProtocolHandler(const String& scheme, const KURL& baseURL, const KURL&) = 0;
};
void provideNavigatorContentUtilsTo(Page*, NavigatorContentUtilsClient*);
« no previous file with comments | « Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp ('k') | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698