WebCore/plugins/PluginView.h
changeset 2 303757a437d3
parent 0 4f2f89ce4247
equal deleted inserted replaced
0:4f2f89ce4247 2:303757a437d3
    52 typedef PlatformWidget PlatformPluginWidget;
    52 typedef PlatformWidget PlatformPluginWidget;
    53 #if defined(XP_MACOSX) && PLATFORM(QT)
    53 #if defined(XP_MACOSX) && PLATFORM(QT)
    54 #include <QPixmap>
    54 #include <QPixmap>
    55 #endif
    55 #endif
    56 #endif
    56 #endif
       
    57 #if PLATFORM(QT) && defined(MOZ_PLATFORM_MAEMO) && (MOZ_PLATFORM_MAEMO == 5)
       
    58 #include <QImage>
       
    59 class QPainter;
       
    60 #endif
    57 
    61 
    58 #if USE(JSC)
    62 #if USE(JSC)
    59 namespace JSC {
    63 namespace JSC {
    60     namespace Bindings {
    64     namespace Bindings {
    61         class Instance;
    65         class Instance;
   372         Display* m_pluginDisplay;
   376         Display* m_pluginDisplay;
   373 
   377 
   374         void initXEvent(XEvent* event);
   378         void initXEvent(XEvent* event);
   375 #endif
   379 #endif
   376 
   380 
       
   381 #if PLATFORM(QT) && defined(MOZ_PLATFORM_MAEMO) && (MOZ_PLATFORM_MAEMO == 5)
       
   382         QImage m_image;
       
   383         bool m_renderToImage;
       
   384         void paintUsingImageSurfaceExtension(QPainter* painter, const IntRect& exposedRect);
       
   385 #endif
       
   386 
   377         IntRect m_clipRect; // The clip rect to apply to a windowed plug-in
   387         IntRect m_clipRect; // The clip rect to apply to a windowed plug-in
   378         IntRect m_windowRect; // Our window rect.
   388         IntRect m_windowRect; // Our window rect.
   379 
   389 
   380         bool m_loadManually;
   390         bool m_loadManually;
   381         RefPtr<PluginStream> m_manualStream;
   391         RefPtr<PluginStream> m_manualStream;