-
commit-queue@webkit.org authored
Reviewed by Simon Fraser. Enabling view modes to all platforms https://bugs.webkit.org/show_bug.cgi?id=37505 Removing ENABLE_WIDGETS_10_SUPPORT flag. As view mode media feature is not part of widget 1.0 specification any more the ENABLE_WIDGETS_10_SUPPORT flag may be removed. The only use of this flag was related to view mode media feature implementation in Qt. * wtf/Platform.h: 2010-07-30 Luiz Agostini <luiz.agostini@openbossa.org> Reviewed by Simon Fraser. Enabling view modes to all platforms https://bugs.webkit.org/show_bug.cgi?id=37505 Removing 'widget' reference from the layout tests because the view mode media feature is not part of widget 1.0 specification any more. The layout tests are stil skipped for all platforms except Qt because of the lack of support of LayoutTestController in those platforms. * fast/media/view-mode-media-feature-expected.txt: Renamed from LayoutTests/fast/media/media-feature-wgt-view-mode-expected.txt. * fast/media/view-mode-media-feature.html: Renamed from LayoutTests/fast/media/media-feature-wgt-view-mode.html. * platform/gtk/Skipped: * platform/mac/Skipped: * platform/win/Skipped: 2010-07-30 Luiz Agostini <luiz.agostini@openbossa.org> Reviewed by Simon Fraser. Enabling view modes to all platforms https://bugs.webkit.org/show_bug.cgi?id=37505 View mode media feature implementation as specified in http://www.w3.org/TR/view-mode. The view mode media feature layout tests are stil skipped for all platforms except Qt because of the lack of support of LayoutTestController in those platforms. Test: fast/media/view-mode-media-feature.html * css/MediaFeatureNames.h: * css/MediaQueryEvaluator.cpp: (WebCore::view_modeMediaFeatureEval): * page/ChromeClient.h: * page/Page.cpp: (WebCore::Page::Page): (WebCore::createViewModesSet): (WebCore::Page::setViewMode): * page/Page.h: (WebCore::Page::viewMode): 2010-07-30 Luiz Agostini <luiz.agostini@openbossa.org> Reviewed by Simon Fraser. Enabling view modes to all platforms https://bugs.webkit.org/show_bug.cgi?id=37505 As view mode media feature is now supported by WebCore there is no need to keep its implementation here. QtWebKit now uses WebCore's view mode media feature implementation. * Api/qwebpage.cpp: (QWebPagePrivate::dynamicPropertyChangeEvent): * Api/qwebpage_p.h: * WebCoreSupport/ChromeClientQt.cpp: * WebCoreSupport/ChromeClientQt.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64401 268f45cc-cd09-0410-ab3c-d52691b4dbfc
dd10dbe8