summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/WebPluginContainerImpl.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-05-07 11:21:11 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-05-07 11:21:11 +0200
commit2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (patch)
tree988e8c5b116dd0466244ae2fe5af8ee9be926d76 /Source/WebKit/chromium/src/WebPluginContainerImpl.h
parentdd91e772430dc294e3bf478c119ef8d43c0a3358 (diff)
downloadqtwebkit-2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47.tar.gz
Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286)
Diffstat (limited to 'Source/WebKit/chromium/src/WebPluginContainerImpl.h')
-rw-r--r--Source/WebKit/chromium/src/WebPluginContainerImpl.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/WebKit/chromium/src/WebPluginContainerImpl.h b/Source/WebKit/chromium/src/WebPluginContainerImpl.h
index 9d970f2f8..04878455c 100644
--- a/Source/WebKit/chromium/src/WebPluginContainerImpl.h
+++ b/Source/WebKit/chromium/src/WebPluginContainerImpl.h
@@ -35,6 +35,8 @@
#include "WebPluginContainer.h"
#include "Widget.h"
+#include <public/WebExternalTextureLayer.h>
+#include <public/WebIOSurfaceLayer.h>
#include <wtf/OwnPtr.h>
#include <wtf/PassRefPtr.h>
#include <wtf/Vector.h>
@@ -48,7 +50,6 @@ class IntRect;
class KeyboardEvent;
class LayerChromium;
class MouseEvent;
-class PluginLayerChromium;
class ResourceError;
class ResourceResponse;
class WheelEvent;
@@ -173,7 +174,13 @@ private:
Vector<WebPluginLoadObserver*> m_pluginLoadObservers;
#if USE(ACCELERATED_COMPOSITING)
- RefPtr<WebCore::PluginLayerChromium> m_platformLayer;
+ // A composited plugin will either have no composited layer, a texture layer, or an IOSurface layer.
+ // It will never have both a texture and IOSurface output.
+ unsigned m_textureId;
+ WebExternalTextureLayer m_textureLayer;
+
+ unsigned m_ioSurfaceId;
+ WebIOSurfaceLayer m_ioSurfaceLayer;
#endif
// The associated scrollbar group object, created lazily. Used for Pepper