[Qt] Remove Qt 4 specific code paths
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2012 12:06:52 +0000 (12:06 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2012 12:06:52 +0000 (12:06 +0000)
commite07372083db32296f744b622f072968ee1343eea
tree4785a067fc9f51bba9a1e1053b598fb461d97cf1
parentc89b0bf054d5d6faf6cb6d9e06454653233e52f2
[Qt] Remove Qt 4 specific code paths
https://bugs.webkit.org/show_bug.cgi?id=88161

Reviewed by Kenneth Rohde Christiansen.

.:

* Source/api.pri:
* WebKit.pro:

Source/WebCore:

* Target.pri:
* WebCore.pri:
* bridge/qt/qt_class.cpp:
(JSC::Bindings::QtClass::fallbackObject):
* bridge/qt/qt_instance.cpp:
(JSC::Bindings::QtInstance::getPropertyNames):
(JSC::Bindings::QtInstance::stringValue):
(JSC::Bindings::QtField::setValueToInstance):
* bridge/qt/qt_runtime.h:
(QtConnectionObject):
* bridge/qt/qt_runtime_qt4.cpp: Removed.
* editing/qt/SmartReplaceQt.cpp: Removed.
* page/qt/EventHandlerQt.cpp:
(WebCore::EventHandler::tabsToAllFormControls):
* platform/graphics/GraphicsContext3D.h:
* platform/graphics/OpenGLShims.cpp:
(WebCore::getProcAddress):
* platform/graphics/OpenGLShims.h:
* platform/graphics/gstreamer/PlatformVideoWindowPrivate.h:
* platform/graphics/gstreamer/PlatformVideoWindowQt.cpp:
(FullScreenVideoWindow::FullScreenVideoWindow):
(FullScreenVideoWindow::keyPressEvent):
(FullScreenVideoWindow::event):
(FullScreenVideoWindow::showFullScreen):
(PlatformVideoWindow::PlatformVideoWindow):
* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DPrivate::blitMultisampleFramebufferAndRestoreContext):
(WebCore::GraphicsContext3DPrivate::makeCurrentIfNeeded):
* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::releaseWindowsContext):
* platform/graphics/qt/ImageQt.cpp:
(WebCore::BitmapImage::create):
* platform/graphics/qt/SimpleFontDataQt.cpp:
(WebCore::SimpleFontData::platformInit):
* platform/graphics/texmap/TextureMapper.h:
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGLData::SharedGLData::getCurrentGLContext):
* platform/qt/DeviceMotionProviderQt.h:
* platform/qt/DeviceOrientationProviderQt.h:
* platform/qt/KURLQt.cpp:
(WebCore::KURL::operator QUrl):
* platform/qt/PlatformScreenQt.cpp:
(WebCore::screenDepth):
(WebCore::screenDepthPerComponent):
(WebCore::screenIsMonochrome):
(WebCore::screenRect):
(WebCore::screenAvailableRect):
* platform/qt/QWebPageClient.h:
(QWebPageClient):
* platform/qt/RenderThemeQt.cpp:
* platform/text/qt/TextBreakIteratorQt.cpp: Removed.
* plugins/qt/PluginContainerQt.cpp: Removed.
* plugins/qt/PluginContainerQt.h: Removed.
* plugins/qt/PluginPackageQt.cpp:
(WebCore::PluginPackage::isPluginBlacklisted):
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::setFocus):
(WebCore::PluginView::paintUsingXPixmap):
(WebCore::setSharedXEventFields):
(WebCore::PluginView::setNPWindowIfNeeded):
(WebCore::PluginView::setParentVisible):
(WebCore::PluginView::platformGetValue):
(WebCore::PluginView::invalidateRect):
(WebCore::getVisualAndColormap):
(WebCore::PluginView::platformStart):
* plugins/win/PluginViewWin.cpp:
(windowHandleForPageClient):

Source/WebKit:

* WebKit.pri:
* WebKit1.pri:
* WebKit1.pro:

Source/WebKit/qt:

* Api/qgraphicswebview.cpp:
(QGraphicsWebView::sceneEvent):
* Api/qgraphicswebview.h:
* Api/qwebframe.cpp:
* Api/qwebframe.h:
* Api/qwebframe_p.h:
* Api/qwebpage.cpp:
(QWebPage::event):
* Api/qwebpage.h:
* Api/qwebsettings.cpp:
(QWebSettings::enablePersistentStorage):
* Api/qwebview.cpp:
(QWebView::QWebView):
(QWebView::event):
* Api/qwebview.h:
* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::setToolTip):
* WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::createPlugin):
* WebCoreSupport/GeolocationClientQt.cpp:
* WebCoreSupport/GeolocationClientQt.h:
* WebCoreSupport/PageClientQt.cpp:
(createPlatformGraphicsContext3DFromWidget):
(QWebPageClient::ownerWindow):
* WebCoreSupport/WebEventConversion.cpp:
(WebCore::WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
* declarative/declarative.pro:
* declarative/plugin.cpp:
* declarative/public.pri:
* examples/platformplugin/WebPlugin.cpp:
(WebPlugin::createExtension):
* examples/platformplugin/WebPlugin.h:
(WebPlugin):
* examples/platformplugin/platformplugin.pro:
* tests/qobjectbridge/tst_qobjectbridge.cpp:
(tst_QObjectBridge::arrayObjectEnumerable):
(tst_QObjectBridge::ownership):
(tst_QObjectBridge::qObjectWrapperWithSameIdentity):
* tests/tests.pri:
* tests/util.h:

Source/WebKit2:

* UIProcess/API/qt/qquickwebview.cpp:
* UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp:
(gatherAPI):
* WebKit2.pri:

Source/WTF:

* WTF.pri:
* WTF.pro:
* wtf/qt/StringQt.cpp:
(WTF::String::String):
(WTF::String::operator QString):
* wtf/qt/UtilsQt.h: Removed.
* wtf/qt/compat/QGuiApplication: Removed.
* wtf/qt/compat/qguiapplication.h: Removed.
* wtf/text/StringImpl.cpp:
(WTF::StringImpl::~StringImpl):
(WTF):
* wtf/text/StringImpl.h:
(StringImpl):

Tools:

* DumpRenderTree/qt/DumpRenderTree.pro:
* DumpRenderTree/qt/EventSenderQt.cpp:
(EventSender::touchCancel):
(EventSender::sendTouchEvent):
* DumpRenderTree/qt/EventSenderQt.h:
(EventSender):
* DumpRenderTree/qt/ImageDiff.pro:
* DumpRenderTree/qt/main.cpp:
(main):
* QtTestBrowser/QtTestBrowser.pro:
* QtTestBrowser/cookiejar.cpp:
(TestBrowserCookieJar::TestBrowserCookieJar):
* QtTestBrowser/launcherwindow.cpp:
(LauncherWindow::setDiskCache):
* qmake/configure.pri:
* qmake/mkspecs/features/default_post.prf:
* qmake/mkspecs/features/default_pre.prf:
* qmake/mkspecs/features/features.prf:
* qmake/mkspecs/features/functions.prf:
* qmake/mkspecs/features/qtwebkit.prf: Removed.
* qmake/mkspecs/features/unix/default_pre.prf:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@124879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
94 files changed:
ChangeLog
Source/WTF/ChangeLog
Source/WTF/WTF.pri
Source/WTF/WTF.pro
Source/WTF/wtf/qt/StringQt.cpp
Source/WTF/wtf/qt/UtilsQt.h [deleted file]
Source/WTF/wtf/qt/compat/QGuiApplication [deleted file]
Source/WTF/wtf/qt/compat/qguiapplication.h [deleted file]
Source/WTF/wtf/text/StringImpl.cpp
Source/WTF/wtf/text/StringImpl.h
Source/WebCore/ChangeLog
Source/WebCore/Target.pri
Source/WebCore/WebCore.pri
Source/WebCore/bridge/qt/qt_class.cpp
Source/WebCore/bridge/qt/qt_instance.cpp
Source/WebCore/bridge/qt/qt_runtime.h
Source/WebCore/bridge/qt/qt_runtime_qt4.cpp [deleted file]
Source/WebCore/editing/qt/SmartReplaceQt.cpp [deleted file]
Source/WebCore/page/qt/EventHandlerQt.cpp
Source/WebCore/platform/graphics/GraphicsContext3D.h
Source/WebCore/platform/graphics/OpenGLShims.cpp
Source/WebCore/platform/graphics/OpenGLShims.h
Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp
Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp
Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
Source/WebCore/platform/graphics/qt/ImageQt.cpp
Source/WebCore/platform/graphics/qt/SimpleFontDataQt.cpp
Source/WebCore/platform/graphics/texmap/TextureMapper.h
Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp
Source/WebCore/platform/qt/DeviceMotionProviderQt.h
Source/WebCore/platform/qt/DeviceOrientationProviderQt.h
Source/WebCore/platform/qt/KURLQt.cpp
Source/WebCore/platform/qt/PlatformScreenQt.cpp
Source/WebCore/platform/qt/QWebPageClient.h
Source/WebCore/platform/qt/RenderThemeQt.cpp
Source/WebCore/platform/text/qt/TextBreakIteratorQt.cpp [deleted file]
Source/WebCore/plugins/qt/PluginContainerQt.cpp [deleted file]
Source/WebCore/plugins/qt/PluginContainerQt.h [deleted file]
Source/WebCore/plugins/qt/PluginPackageQt.cpp
Source/WebCore/plugins/qt/PluginViewQt.cpp
Source/WebCore/plugins/win/PluginViewWin.cpp
Source/WebKit/ChangeLog
Source/WebKit/WebKit.pri
Source/WebKit/WebKit1.pri
Source/WebKit/WebKit1.pro
Source/WebKit/qt/Api/qgraphicswebview.cpp
Source/WebKit/qt/Api/qgraphicswebview.h
Source/WebKit/qt/Api/qwebframe.cpp
Source/WebKit/qt/Api/qwebframe.h
Source/WebKit/qt/Api/qwebframe_p.h
Source/WebKit/qt/Api/qwebpage.cpp
Source/WebKit/qt/Api/qwebpage.h
Source/WebKit/qt/Api/qwebsettings.cpp
Source/WebKit/qt/Api/qwebview.cpp
Source/WebKit/qt/Api/qwebview.h
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp
Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
Source/WebKit/qt/WebCoreSupport/GeolocationClientQt.cpp
Source/WebKit/qt/WebCoreSupport/GeolocationClientQt.h
Source/WebKit/qt/WebCoreSupport/PageClientQt.cpp
Source/WebKit/qt/WebCoreSupport/WebEventConversion.cpp
Source/WebKit/qt/declarative/declarative.pro
Source/WebKit/qt/declarative/plugin.cpp
Source/WebKit/qt/declarative/public.pri
Source/WebKit/qt/examples/platformplugin/WebPlugin.cpp
Source/WebKit/qt/examples/platformplugin/WebPlugin.h
Source/WebKit/qt/examples/platformplugin/platformplugin.pro
Source/WebKit/qt/tests/qobjectbridge/tst_qobjectbridge.cpp
Source/WebKit/qt/tests/tests.pri
Source/WebKit/qt/tests/util.h
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp
Source/WebKit2/UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp
Source/WebKit2/WebKit2.pri
Source/api.pri
Tools/ChangeLog
Tools/DumpRenderTree/qt/DumpRenderTree.pro
Tools/DumpRenderTree/qt/EventSenderQt.cpp
Tools/DumpRenderTree/qt/EventSenderQt.h
Tools/DumpRenderTree/qt/ImageDiff.pro
Tools/DumpRenderTree/qt/main.cpp
Tools/QtTestBrowser/QtTestBrowser.pro
Tools/QtTestBrowser/cookiejar.cpp
Tools/QtTestBrowser/launcherwindow.cpp
Tools/qmake/configure.pri
Tools/qmake/mkspecs/features/default_post.prf
Tools/qmake/mkspecs/features/default_pre.prf
Tools/qmake/mkspecs/features/features.prf
Tools/qmake/mkspecs/features/functions.prf
Tools/qmake/mkspecs/features/qtwebkit.prf [deleted file]
Tools/qmake/mkspecs/features/unix/default_pre.prf
WebKit.pro