diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/WebPage/WebPage.h')
-rw-r--r-- | Source/WebKit2/WebProcess/WebPage/WebPage.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/WebKit2/WebProcess/WebPage/WebPage.h b/Source/WebKit2/WebProcess/WebPage/WebPage.h index d9d2df72c..d18c401bf 100644 --- a/Source/WebKit2/WebProcess/WebPage/WebPage.h +++ b/Source/WebKit2/WebProcess/WebPage/WebPage.h @@ -52,6 +52,9 @@ #include <WebCore/Editor.h> #include <WebCore/FrameLoaderTypes.h> #include <WebCore/IntRect.h> +#if ENABLE(PAGE_VISIBILITY_API) +#include <WebCore/PageVisibilityState.h> +#endif #include <WebCore/PlatformScreen.h> #include <WebCore/ScrollTypes.h> #include <WebCore/WebCoreKeyboardUIMode.h> @@ -100,6 +103,7 @@ namespace WebCore { class GraphicsContext; class Frame; class FrameView; + class HTMLPlugInElement; class KeyboardEvent; class Page; class PrintContext; @@ -253,7 +257,7 @@ public: WebCore::Frame* mainFrame() const; // May return 0. WebCore::FrameView* mainFrameView() const; // May return 0. - PassRefPtr<Plugin> createPlugin(WebFrame*, const Plugin::Parameters&); + PassRefPtr<Plugin> createPlugin(WebFrame*, WebCore::HTMLPlugInElement*, const Plugin::Parameters&); EditorState editorState() const; @@ -828,6 +832,9 @@ private: #if PLATFORM(QT) HashMap<String, QtNetworkReply*> m_applicationSchemeReplies; #endif +#if ENABLE(PAGE_VISIBILITY_API) + WebCore::PageVisibilityState m_visibilityState; +#endif }; } // namespace WebKit |