2010-08-06 Gavin Barraclough Rubber stamped by Sam Weinig Bug 43594 - Add string forwards to Forward.h This allows us to remove forward declarations for these classes from WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). * WebCoreSupport/FrameLoaderClientQt.h: * WebCoreSupport/InspectorClientQt.h: 2010-08-08 Ariya Hidayat Reviewed by Antonio Gomes. Inconsistent Qt version checks https://bugs.webkit.org/show_bug.cgi?id=43695 Use QT_VERSION_CHECK macro instead of encoded hex. * Api/qgraphicswebview.cpp: (QGraphicsWebView::QGraphicsWebView): (QGraphicsWebViewPrivate::detachCurrentPage): * Api/qwebframe.cpp: (QWebFrame::load): * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): (QWebPagePrivate::inputMethodEvent): (QWebPage::inputMethodQuery): (QWebPage::view): * Api/qwebview.cpp: (QWebViewPrivate::detachCurrentPage): * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::setInputMethodState): * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::createPlugin): * WebCoreSupport/PageClientQt.cpp: * WebCoreSupport/PageClientQt.h: 2010-08-06 Jessie Berlin Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build. Unreviewed. * WebCoreSupport/FrameLoaderClientQt.h: * WebCoreSupport/InspectorClientQt.h: 2010-08-06 Luiz Agostini Reviewed by Kenneth Rohde Christiansen. [Qt] Move Qt's popup menu implementation from WebCore to WebKit layer https://bugs.webkit.org/show_bug.cgi?id=43427 After PopupMenu changes in bug 42592 class QtAbstractWebPopup became unecessary and there is no need to keep any Qt specific code for popup menus in WebCore/platform/qt. PopupMenuQt has been moved from WebCore/platform/qt to WebKit/qt/WebCoreSupport and assumed the responsibilities of QtAbstractWebPopup. SearchPopupMenuQt has been moved to WebKit/qt/WebCoreSupport as well. All classes that previously inherited from QtAbstractWebPopup now inherit from QWebSelectMethod and QtPlatformPlugin's method createSelectInputMethod now returns an instance of class QWebSelectMethod instead of QtAbstractWebPopup. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createSelectPopup): (WebCore::ChromeClientQt::createPopupMenu): (WebCore::ChromeClientQt::createSearchPopupMenu): * WebCoreSupport/ChromeClientQt.h: * WebCoreSupport/PopupMenuQt.cpp: Added. (SelectData::SelectData): (SelectData::itemText): (SelectData::itemToolTip): (SelectData::itemIsEnabled): (SelectData::itemCount): (SelectData::itemIsSelected): (SelectData::multiple): (SelectData::itemType): (WebCore::PopupMenuQt::PopupMenuQt): (WebCore::PopupMenuQt::~PopupMenuQt): (WebCore::PopupMenuQt::disconnectClient): (WebCore::PopupMenuQt::show): (WebCore::PopupMenuQt::didHide): (WebCore::PopupMenuQt::hide): (WebCore::PopupMenuQt::updateFromElement): (WebCore::PopupMenuQt::selectItem): * WebCoreSupport/PopupMenuQt.h: Added. * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopupCombo::hidePopup): (WebCore::QtFallbackWebPopup::QtFallbackWebPopup): (WebCore::QtFallbackWebPopup::show): (WebCore::QtFallbackWebPopup::populate): (WebCore::QtFallbackWebPopup::activeChanged): (WebCore::QtFallbackWebPopup::pageClient): * WebCoreSupport/QtFallbackWebPopup.h: (WebCore::QtFallbackWebPopup::setGeometry): (WebCore::QtFallbackWebPopup::geometry): (WebCore::QtFallbackWebPopup::setFont): (WebCore::QtFallbackWebPopup::font): * WebCoreSupport/QtMaemoWebPopup.cpp: (WebCore::Maemo5Popup::populateList): (WebCore::QtMaemoWebPopup::QtMaemoWebPopup): (WebCore::QtMaemoWebPopup::createSingleSelectionPopup): (WebCore::QtMaemoWebPopup::createMultipleSelectionPopup): (WebCore::QtMaemoWebPopup::createPopup): (WebCore::QtMaemoWebPopup::show): (WebCore::QtMaemoWebPopup::popupClosed): (WebCore::QtMaemoWebPopup::itemClicked): (WebCore::Maemo5SingleSelectionPopup::Maemo5SingleSelectionPopup): (WebCore::Maemo5MultipleSelectionPopup::Maemo5MultipleSelectionPopup): * WebCoreSupport/QtMaemoWebPopup.h: (WebCore::Maemo5Popup::Maemo5Popup): * WebCoreSupport/QtPlatformPlugin.cpp: (WebCore::QtPlatformPlugin::createSelectInputMethod): * WebCoreSupport/QtPlatformPlugin.h: * WebCoreSupport/SearchPopupMenuQt.cpp: Added. (WebCore::SearchPopupMenuQt::SearchPopupMenuQt): (WebCore::SearchPopupMenuQt::popupMenu): (WebCore::SearchPopupMenuQt::saveRecentSearches): (WebCore::SearchPopupMenuQt::loadRecentSearches): (WebCore::SearchPopupMenuQt::enabled): * WebCoreSupport/SearchPopupMenuQt.h: Added. 2010-08-06 Kenneth Rohde Christiansen Reviewed by Antonio Gomes. [Qt] Add support for the Android viewport meta tag extensions. http://webkit.org/b/43567 * Api/qwebpage.h: * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::didReceiveViewportArguments): 2010-08-05 Gavin Barraclough Rubber stamped by Sam Weinig Bug 43594 - Add string forwards to Forward.h This allows us to remove forward declarations for these classes from WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). * WebCoreSupport/FrameLoaderClientQt.h: * WebCoreSupport/InspectorClientQt.h: 2010-08-05 Simon Hausmann Reviewed by Tor Arne Vestbø. [Qt] Clean up the input method handling https://bugs.webkit.org/show_bug.cgi?id=43545 Replace the way of individually setting input method hints by many calls to QWidget::setInputMethodHints with one single call. This is more efficient by requiring less updates in the input method hint. * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::setInputMethodState): * WebCoreSupport/PageClientQt.cpp: (WebCore::PageClientQWidget::setInputMethodHints): (WebCore::PageClientQGraphicsWidget::setInputMethodHints): * WebCoreSupport/PageClientQt.h: 2010-08-05 David Leong Reviewed by Simon Hausmann. [Qt] Input mode states are not reset after entering a password field https://bugs.webkit.org/show_bug.cgi?id=43530 Input mode hints are not reset if clicking on password elements then clicking on