2010-01-08 Luiz Agostini <luiz.agostini@openbossa.org>
[WebKit-https.git] / WebKit / qt / WebCoreSupport / QtFallbackWebPopup.h
similarity index 90%
rename from WebCore/platform/qt/QtFallbackWebPopup.h
rename to WebKit/qt/WebCoreSupport/QtFallbackWebPopup.h
index 039270c..5affe0a 100644 (file)
@@ -28,10 +28,12 @@ namespace WebCore {
 class QtFallbackWebPopup : private QComboBox, public QtAbstractWebPopup {
     Q_OBJECT
 public:
-    QtFallbackWebPopup(PopupMenuClient* client);
+    QtFallbackWebPopup();
 
     virtual void show(const QRect& geometry, int selectedIndex);
     virtual void hide() { hidePopup(); }
+    virtual void populate(const QFont& font, const QList<Item>& items);
+    virtual void setParent(QWidget* parent);
 
 private slots:
     void activeChanged(int);
@@ -39,7 +41,6 @@ private slots:
 private:
     bool m_popupVisible;
 
-    void populate();
 
     virtual void showPopup();
     virtual void hidePopup();