Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Aug 2017 00:53:57 +0000 (00:53 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Aug 2017 00:53:57 +0000 (00:53 +0000)
commit812e841bba876d3800f9db4f310d36ae86698746
treeb744c5007258e3953d3896cfa43fc938b073ed0c
parentc18def70e45d1cdd88cc94a4c371be0de5dbfc05
Remove ENABLE_VIEW_MODE_CSS_MEDIA and related code
https://bugs.webkit.org/show_bug.cgi?id=175557

Reviewed by Jon Lee.
.:

No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.

* Source/cmake/OptionsMac.cmake:
* Source/cmake/OptionsWPE.cmake:
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/tools/vsprops/FeatureDefines.props:
* Source/cmake/tools/vsprops/FeatureDefinesCairo.props:

Source/JavaScriptCore:

No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.

* Configurations/FeatureDefines.xcconfig:
* css/CSSValueKeywords.in:
* css/MediaFeatureNames.h:
* css/MediaQueryEvaluator.cpp:
(WebCore::viewModeEvaluate): Deleted.
* css/MediaQueryExpression.cpp:
(WebCore::featureWithValidIdent):
(WebCore::isFeatureValidWithoutValue):
* page/Page.cpp:
(WebCore::Page::stringToViewMode): Deleted.
(WebCore::Page::setViewMode): Deleted.
* page/Page.h:
(WebCore::Page::viewMode const): Deleted.

Source/WebCore/PAL:

No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.

* Configurations/FeatureDefines.xcconfig:

Source/WebKit:

No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.

* Configurations/FeatureDefines.xcconfig:

Source/WebKitLegacy/mac:

No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.

* Configurations/FeatureDefines.xcconfig:

Source/WTF:

No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.

* wtf/FeatureDefines.h:

Tools:

No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.

* DumpRenderTree/TestRunner.cpp:
(TestRunner::staticFunctions):
(setViewModeMediaFeatureCallback): Deleted.
* DumpRenderTree/TestRunner.h:
* DumpRenderTree/mac/TestRunnerMac.mm:
(TestRunner::setViewModeMediaFeature): Deleted.
* DumpRenderTree/win/TestRunnerWin.cpp:
(TestRunner::setViewModeMediaFeature): Deleted.
* TestWebKitAPI/Configurations/FeatureDefines.xcconfig:

LayoutTests:

No port cares about the ENABLE(VIEW_MODE_CSS_MEDIA) feature, so remove it.

* fast/media/media-query-list-02-expected.txt: Removed.
* fast/media/media-query-list-02.html: Removed.
* fast/media/media-query-list-03-expected.txt: Removed.
* fast/media/media-query-list-03.html: Removed.
* fast/media/media-query-list-04-expected.txt: Removed.
* fast/media/media-query-list-04.html: Removed.
* fast/media/media-query-list-05-expected.txt: Removed.
* fast/media/media-query-list-05.html: Removed.
* fast/media/media-query-list-06-expected.txt: Removed.
* fast/media/media-query-list-06.html: Removed.
* fast/media/view-mode-media-feature-expected.html: Removed.
* fast/media/view-mode-media-feature.html: Removed.
* platform/gtk/TestExpectations:
* platform/ios-wk2/TestExpectations:
* platform/ios/TestExpectations:
* platform/mac/TestExpectations:
* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
49 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/fast/media/media-query-list-02-expected.txt [deleted file]
LayoutTests/fast/media/media-query-list-02.html [deleted file]
LayoutTests/fast/media/media-query-list-03-expected.txt [deleted file]
LayoutTests/fast/media/media-query-list-03.html [deleted file]
LayoutTests/fast/media/media-query-list-04-expected.txt [deleted file]
LayoutTests/fast/media/media-query-list-04.html [deleted file]
LayoutTests/fast/media/media-query-list-05-expected.txt [deleted file]
LayoutTests/fast/media/media-query-list-05.html [deleted file]
LayoutTests/fast/media/media-query-list-06-expected.txt [deleted file]
LayoutTests/fast/media/media-query-list-06.html [deleted file]
LayoutTests/fast/media/view-mode-media-feature-expected.html [deleted file]
LayoutTests/fast/media/view-mode-media-feature.html [deleted file]
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/ios-wk2/TestExpectations
LayoutTests/platform/ios/TestExpectations
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/win/TestExpectations
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
Source/WTF/ChangeLog
Source/WTF/wtf/FeatureDefines.h
Source/WebCore/ChangeLog
Source/WebCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig
Source/WebCore/css/CSSValueKeywords.in
Source/WebCore/css/MediaFeatureNames.h
Source/WebCore/css/MediaQueryEvaluator.cpp
Source/WebCore/css/MediaQueryExpression.cpp
Source/WebCore/page/Page.cpp
Source/WebCore/page/Page.h
Source/WebKit/ChangeLog
Source/WebKit/Configurations/FeatureDefines.xcconfig
Source/WebKitLegacy/mac/ChangeLog
Source/WebKitLegacy/mac/Configurations/FeatureDefines.xcconfig
Source/cmake/OptionsMac.cmake
Source/cmake/OptionsWPE.cmake
Source/cmake/OptionsWin.cmake
Source/cmake/WebKitFeatures.cmake
Source/cmake/tools/vsprops/FeatureDefines.props
Source/cmake/tools/vsprops/FeatureDefinesCairo.props
Tools/ChangeLog
Tools/DumpRenderTree/TestRunner.cpp
Tools/DumpRenderTree/TestRunner.h
Tools/DumpRenderTree/mac/TestRunnerMac.mm
Tools/DumpRenderTree/win/TestRunnerWin.cpp
Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig