diff options
| author | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-15 16:08:57 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-15 16:08:57 +0200 |
| commit | 5466563f4b5b6b86523e3f89bb7f77e5b5270c78 (patch) | |
| tree | 8caccf7cd03a15207cde3ba282c88bf132482a91 /Source/WebCore/html/HTMLPlugInElement.h | |
| parent | 33b26980cb24288b5a9f2590ccf32a949281bb79 (diff) | |
| download | qtwebkit-5466563f4b5b6b86523e3f89bb7f77e5b5270c78.tar.gz | |
Imported WebKit commit 0dc6cd75e1d4836eaffbb520be96fac4847cc9d2 (http://svn.webkit.org/repository/webkit/trunk@131300)
WebKit update which introduces the QtWebKitWidgets module that contains the WK1
widgets based API. (In fact it renames QtWebKit to QtWebKitWidgets while we're
working on completing the entire split as part of
https://bugs.webkit.org/show_bug.cgi?id=99314
Diffstat (limited to 'Source/WebCore/html/HTMLPlugInElement.h')
| -rw-r--r-- | Source/WebCore/html/HTMLPlugInElement.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLPlugInElement.h b/Source/WebCore/html/HTMLPlugInElement.h index eeec60cb5..d7bcb166e 100644 --- a/Source/WebCore/html/HTMLPlugInElement.h +++ b/Source/WebCore/html/HTMLPlugInElement.h @@ -1,7 +1,7 @@ /* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) - * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. + * Copyright (C) 2004, 2006, 2007, 2008, 2009, 2012 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -24,6 +24,7 @@ #define HTMLPlugInElement_h #include "HTMLFrameOwnerElement.h" +#include "Image.h" #include "ImageLoaderClient.h" #include "ScriptInstance.h" @@ -37,7 +38,7 @@ class RenderEmbeddedObject; class RenderWidget; class Widget; -class HTMLPlugInElement : public HTMLFrameOwnerElement, public ImageLoaderClientBase<HTMLPlugInElement> { +class HTMLPlugInElement : public HTMLFrameOwnerElement { public: virtual ~HTMLPlugInElement(); @@ -47,6 +48,15 @@ public: Widget* pluginWidget() const; + enum DisplayState { + WaitingForSnapshot, + DisplayingSnapshot, + Playing + }; + DisplayState displayState() const { return m_displayState; } + void setDisplayState(DisplayState state) { m_displayState = state; } + virtual void updateSnapshot(PassRefPtr<Image>) { } + #if ENABLE(NETSCAPE_PLUGIN_API) NPObject* getNPObject(); #endif @@ -84,6 +94,8 @@ private: NPObject* m_NPObject; #endif bool m_isCapturingMouseEvents; + + DisplayState m_displayState; }; } // namespace WebCore |
