2010-07-30 Luiz Agostini <luiz.agostini@openbossa.org>
authorcommit-queue <commit-queue@webkit.org>
Sat, 31 Jul 2010 02:46:16 +0000 (02:46 +0000)
committerSimon Hausmann <simon.hausmann@nokia.com>
Wed, 11 Aug 2010 14:49:29 +0000 (16:49 +0200)
commit4395039b9d85191e4d00e41fb4099a0b94817b33
treed9680b62168d2036588b3b9648b778f452b1c428
parent12afa066f9b7d574f701a8c4c8cfc7bd0aee21c6
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 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
21 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/wtf/Platform.h
LayoutTests/ChangeLog
LayoutTests/fast/media/media-feature-wgt-view-mode-expected.txt [deleted file]
LayoutTests/fast/media/media-feature-wgt-view-mode.html [deleted file]
LayoutTests/fast/media/view-mode-media-feature-expected.txt [new file with mode: 0644]
LayoutTests/fast/media/view-mode-media-feature.html [new file with mode: 0644]
LayoutTests/platform/gtk/Skipped
LayoutTests/platform/mac/Skipped
LayoutTests/platform/win/Skipped
WebCore/ChangeLog
WebCore/css/MediaFeatureNames.h
WebCore/css/MediaQueryEvaluator.cpp
WebCore/page/ChromeClient.h
WebCore/page/Page.cpp
WebCore/page/Page.h
WebKit/qt/Api/qwebpage.cpp
WebKit/qt/Api/qwebpage_p.h
WebKit/qt/ChangeLog
WebKit/qt/WebCoreSupport/ChromeClientQt.cpp
WebKit/qt/WebCoreSupport/ChromeClientQt.h