diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebKit2/WebProcess/WebPage/WebPageGroupProxy.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebKit2/WebProcess/WebPage/WebPageGroupProxy.h')
-rw-r--r-- | Source/WebKit2/WebProcess/WebPage/WebPageGroupProxy.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/Source/WebKit2/WebProcess/WebPage/WebPageGroupProxy.h b/Source/WebKit2/WebProcess/WebPage/WebPageGroupProxy.h index 5e7d50b85..c98b8ae3d 100644 --- a/Source/WebKit2/WebProcess/WebPage/WebPageGroupProxy.h +++ b/Source/WebKit2/WebProcess/WebPage/WebPageGroupProxy.h @@ -30,41 +30,33 @@ #include "WebPageGroupData.h" #include <wtf/PassRefPtr.h> -namespace IPC { -class Connection; -class MessageDecoder; -} - namespace WebCore { class PageGroup; } namespace WebKit { +class WebUserContentController; + class WebPageGroupProxy : public API::ObjectImpl<API::Object::Type::BundlePageGroup> { public: static PassRefPtr<WebPageGroupProxy> create(const WebPageGroupData&); virtual ~WebPageGroupProxy(); - const String& identifier() const { return m_data.identifer; } + const String& identifier() const { return m_data.identifier; } uint64_t pageGroupID() const { return m_data.pageGroupID; } bool isVisibleToInjectedBundle() const { return m_data.visibleToInjectedBundle; } bool isVisibleToHistoryClient() const { return m_data.visibleToHistoryClient; } WebCore::PageGroup* corePageGroup() const { return m_pageGroup; } - void didReceiveMessage(IPC::Connection*, IPC::MessageDecoder&); + WebUserContentController& userContentController(); private: WebPageGroupProxy(const WebPageGroupData&); - void addUserStyleSheet(const WebCore::UserStyleSheet&); - void addUserScript(const WebCore::UserScript&); - void removeAllUserStyleSheets(); - void removeAllUserScripts(); - void removeAllUserContent(); - WebPageGroupData m_data; WebCore::PageGroup* m_pageGroup; + Ref<WebUserContentController> m_userContentController; }; } // namespace WebKit |