2009-03-02 Adam Langley <agl@google.com>
[WebKit-https.git] / WebCore / rendering / RenderThemeChromiumLinux.h
similarity index 89%
rename from WebCore/rendering/RenderThemeChromiumGtk.h
rename to WebCore/rendering/RenderThemeChromiumLinux.h
index 58f385260e002e769f87242ab6c827f0aa96faec..dbe8dcc5b46f39e9bbbb45b5dc85d70fe60f8369 100644 (file)
  *
  */
 
-#ifndef RenderThemeChromiumGtk_h
-#define RenderThemeChromiumGtk_h
+#ifndef RenderThemeChromiumLinux_h
+#define RenderThemeChromiumLinux_h
 
 #include "RenderTheme.h"
 
-#include <gtk/gtk.h>
-
 namespace WebCore {
 
-    class RenderThemeChromiumGtk : public RenderTheme {
+    class RenderThemeChromiumLinux : public RenderTheme {
     public:
-        RenderThemeChromiumGtk();
-        ~RenderThemeChromiumGtk() { }
+        RenderThemeChromiumLinux();
+        ~RenderThemeChromiumLinux() { }
 
         virtual String extraDefaultStyleSheet();
         virtual String extraQuirksStyleSheet();
@@ -117,21 +115,8 @@ namespace WebCore {
         virtual Color inactiveListBoxSelectionBackgroundColor() const;
         virtual Color inactiveListBoxSelectionForegroundColor() const;
 
-    private:
-        // Hold the state
-        GtkWidget* gtkEntry() const;
-        GtkWidget* gtkTreeView() const;
-
-        // Unmapped GdkWindow having a container. This is holding all our fake widgets
-        GtkContainer* gtkContainer() const;
-
     private:
         int menuListInternalPadding(RenderStyle*, int paddingType) const;
-
-        mutable GtkWidget* m_gtkWindow;
-        mutable GtkContainer* m_gtkContainer;
-        mutable GtkWidget* m_gtkEntry;
-        mutable GtkWidget* m_gtkTreeView;
     };
 
 } // namespace WebCore