diff options
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 |