2010-03-30 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Maemo5 theme - QtMaemoWebPopup class
https://bugs.webkit.org/show_bug.cgi?id=36790
Moving maemo5 theme related code from WebCore.pri to WebCore.pro and adding
new maemo menu lists popup class source and header to the project.
The code was in .pri file because of a theme css that was conditionally included.
As the css file is been included unconditionally there is no need to this
code to be kept in webcore.pri.
* WebCore.pri:
* WebCore.pro:
2010-03-30 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Maemo5 theme - QtMaemoWebPopup class
https://bugs.webkit.org/show_bug.cgi?id=36790
A new QtAbstractWebPopup descendant class to be used for maemo menu lists.
This is the first step. The next step will be the dialogs implementation that
will come in bug 36789 and finally to use QtMaemoWebPopup instead of QtFallbackWebPopup
that will come in bug 36368.
* WebCoreSupport/QtMaemoWebPopup.cpp: Added.
(WebCore::QtMaemoWebPopup::QtMaemoWebPopup):
(WebCore::QtMaemoWebPopup::~QtMaemoWebPopup):
(WebCore::QtMaemoWebPopup::createSingleSelectionPopup):
(WebCore::QtMaemoWebPopup::createMultipleSelectionPopup):
(WebCore::QtMaemoWebPopup::createPopup):
(WebCore::QtMaemoWebPopup::show):
(WebCore::QtMaemoWebPopup::hide):
(WebCore::QtMaemoWebPopup::popupClosed):
(WebCore::QtMaemoWebPopup::itemClicked):
* WebCoreSupport/QtMaemoWebPopup.h: Added.
(WebCore::Maemo5Popup::Maemo5Popup):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/WebCore.pro b/WebCore/WebCore.pro
index f15e9c7..5035ff9 100644
--- a/WebCore/WebCore.pro
+++ b/WebCore/WebCore.pro
@@ -134,6 +134,10 @@
DEFINES += ENABLE_FAST_MOBILE_SCROLLING=1
}
+maemo5 {
+ DEFINES += ENABLE_NO_LISTBOX_RENDERING=1
+}
+
include($$PWD/../JavaScriptCore/JavaScriptCore.pri)
addJavaScriptCoreLib(../JavaScriptCore)
@@ -2116,6 +2120,12 @@
../WebKit/qt/Api/qwebkitversion.cpp
+maemo5 {
+ HEADERS += ../WebKit/qt/WebCoreSupport/QtMaemoWebPopup.h
+ SOURCES += ../WebKit/qt/WebCoreSupport/QtMaemoWebPopup.cpp
+}
+
+
win32-*|wince*: SOURCES += platform/win/SystemTimeWin.cpp \
platform/graphics/win/TransformationMatrixWin.cpp