diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/WebPageProxy.h')
-rw-r--r-- | Source/WebKit2/UIProcess/WebPageProxy.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/WebKit2/UIProcess/WebPageProxy.h b/Source/WebKit2/UIProcess/WebPageProxy.h index a404e8664..6b39475e2 100644 --- a/Source/WebKit2/UIProcess/WebPageProxy.h +++ b/Source/WebKit2/UIProcess/WebPageProxy.h @@ -209,6 +209,7 @@ class WebFullScreenManagerProxy; class WebNavigationState; class WebVideoFullscreenManagerProxy; class WebKeyboardEvent; +class WebURLSchemeHandler; class WebMouseEvent; class WebOpenPanelResultListenerProxy; class WebPageGroup; @@ -546,9 +547,6 @@ public: void commitPageTransitionViewport(); #endif #if PLATFORM(QT) - void registerApplicationScheme(const String& scheme); - void resolveApplicationSchemeRequest(QtNetworkRequestData); - void sendApplicationSchemeReply(const QQuickNetworkReply*); void authenticationRequiredRequest(const String& hostname, const String& realm, const String& prefilledUsername, String& username, String& password); void certificateVerificationRequest(const String& hostname, bool& ignoreErrors); void proxyAuthenticationRequiredRequest(const String& hostname, uint16_t port, const String& prefilledUsername, String& username, String& password); @@ -1121,6 +1119,9 @@ public: void didRestoreScrollPosition(); + void setURLSchemeHandlerForScheme(Ref<WebURLSchemeHandler>&&, const String& scheme); + WebURLSchemeHandler* urlSchemeHandlerForScheme(const String& scheme); + private: WebPageProxy(PageClient&, WebProcessProxy&, uint64_t pageID, Ref<API::PageConfiguration>&&); void platformInitialize(); @@ -1516,6 +1517,9 @@ private: #endif #endif + void startURLSchemeHandlerTask(uint64_t handlerIdentifier, uint64_t resourceIdentifier, const WebCore::ResourceRequest&); + void stopURLSchemeHandlerTask(uint64_t handlerIdentifier, uint64_t resourceIdentifier); + void handleAutoFillButtonClick(const UserData&); void finishInitializingWebPageAfterProcessLaunch(); @@ -1846,6 +1850,9 @@ private: bool m_hasDeferredStartAssistingNode { false }; std::unique_ptr<NodeAssistanceArguments> m_deferredNodeAssistanceArguments; #endif + + HashMap<String, RefPtr<WebURLSchemeHandler>> m_urlSchemeHandlersByScheme; + HashMap<uint64_t, RefPtr<WebURLSchemeHandler>> m_urlSchemeHandlersByIdentifier; }; } // namespace WebKit |