[Qt] Remove unused code path in PluginView
[WebKit-https.git] / Source / WebCore / plugins / PluginView.h
index a81bd0ad49e200a0ce2418cb36c998480019797f..39c0aa2ff055e9db0aa68e4a7a2723782179db57 100644 (file)
@@ -63,11 +63,6 @@ QT_BEGIN_NAMESPACE
 class QPainter;
 QT_END_NAMESPACE
 #endif
-#if PLATFORM(QT) && USE(ACCELERATED_COMPOSITING) && ENABLE(NETSCAPE_PLUGIN_API) && defined(XP_UNIX)
-#ifndef WTF_USE_ACCELERATED_COMPOSITING_PLUGIN_LAYER
-#define WTF_USE_ACCELERATED_COMPOSITING_PLUGIN_LAYER 1
-#endif
-#endif
 #if PLATFORM(GTK)
 typedef struct _GtkSocket GtkSocket;
 #endif
@@ -249,15 +244,6 @@ namespace WebCore {
 #endif
         void keepAlive();
 
-#if USE(ACCELERATED_COMPOSITING)
-#if USE(ACCELERATED_COMPOSITING_PLUGIN_LAYER)
-        virtual PlatformLayer* platformLayer() const;
-        bool shouldUseAcceleratedCompositing() const;
-#else
-        virtual PlatformLayer* platformLayer() const { return 0; }
-#endif
-#endif
-
 #if PLATFORM(QT) && ENABLE(NETSCAPE_PLUGIN_API) && defined(XP_UNIX)
         // PluginViewQt (X11) needs a few workarounds when running under DRT
         static void setIsRunningUnderDRT(bool flag) { s_isRunningUnderDRT = flag; }
@@ -424,10 +410,6 @@ private:
         void paintUsingXPixmap(QPainter* painter, const QRect &exposedRect);
         QWebPageClient* platformPageClient() const;
 #endif
-#if USE(ACCELERATED_COMPOSITING_PLUGIN_LAYER)
-        OwnPtr<PlatformLayer> m_platformLayer;
-        friend class PluginGraphicsLayerQt;
-#endif // USE(ACCELERATED_COMPOSITING_PLUGIN_LAYER)
 #endif // PLATFORM(QT)
 
 #if PLATFORM(GTK)