WebCore/plugins/PluginView.h
changeset 2 303757a437d3
parent 0 4f2f89ce4247
--- a/WebCore/plugins/PluginView.h	Fri Sep 17 09:02:29 2010 +0300
+++ b/WebCore/plugins/PluginView.h	Mon Oct 04 01:32:07 2010 +0300
@@ -54,6 +54,10 @@
 #include <QPixmap>
 #endif
 #endif
+#if PLATFORM(QT) && defined(MOZ_PLATFORM_MAEMO) && (MOZ_PLATFORM_MAEMO == 5)
+#include <QImage>
+class QPainter;
+#endif
 
 #if USE(JSC)
 namespace JSC {
@@ -374,6 +378,12 @@
         void initXEvent(XEvent* event);
 #endif
 
+#if PLATFORM(QT) && defined(MOZ_PLATFORM_MAEMO) && (MOZ_PLATFORM_MAEMO == 5)
+        QImage m_image;
+        bool m_renderToImage;
+        void paintUsingImageSurfaceExtension(QPainter* painter, const IntRect& exposedRect);
+#endif
+
         IntRect m_clipRect; // The clip rect to apply to a windowed plug-in
         IntRect m_windowRect; // Our window rect.