Remove Proximity Events and related code
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Aug 2017 01:49:16 +0000 (01:49 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Aug 2017 01:49:16 +0000 (01:49 +0000)
commit4bc8afd1f886b5d0b16fcebff331c2bef5a99898
tree359cb30ed1dafd4e3a54268258ae60dce4a2b160
parent3a81756d5b0582a241dbae002266523b50ee7b34
Remove Proximity Events and related code
https://bugs.webkit.org/show_bug.cgi?id=175545

Reviewed by Daniel Bates.

No platform enables Proximity Events, so remove code inside ENABLE(PROXIMITY_EVENTS)
and other related code.

.:

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

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* DerivedSources.cpp:
* Modules/proximity/DeviceProximityClient.h: Removed.
* Modules/proximity/DeviceProximityController.cpp: Removed.
* Modules/proximity/DeviceProximityController.h: Removed.
* Modules/proximity/DeviceProximityEvent.cpp: Removed.
* Modules/proximity/DeviceProximityEvent.h: Removed.
* Modules/proximity/DeviceProximityEvent.idl: Removed.
* dom/EventNames.h:
* dom/EventNames.in:
* history/PageCache.cpp:
(WebCore::canCachePage):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::addEventListener):
(WebCore::DOMWindow::removeEventListener):
(WebCore::DOMWindow::removeAllEventListeners):
* page/DOMWindow.idl:
* page/DiagnosticLoggingKeys.cpp:
(WebCore::DiagnosticLoggingKeys::deviceProximityKey): Deleted.
* page/DiagnosticLoggingKeys.h:
* testing/Internals.cpp:
(WebCore::Internals::setDeviceProximity): Deleted.
* testing/Internals.h:
* testing/Internals.idl:

Source/WebCore/PAL:

* Configurations/FeatureDefines.xcconfig:

Source/WebInspectorUI:

* UserInterface/Models/ScriptTimelineRecord.js:
(WI.ScriptTimelineRecord.EventType.displayName):

Source/WebKit:

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* WebProcess/WebCoreSupport/WebDeviceProximityClient.cpp: Removed.
* WebProcess/WebCoreSupport/WebDeviceProximityClient.h: Removed.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::m_cpuLimit):

Source/WebKitLegacy/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

* TestWebKitAPI/Configurations/FeatureDefines.xcconfig:

LayoutTests:

* fast/events/constructors/device-proximity-event-constructor-expected.txt: Removed.
* fast/events/constructors/device-proximity-event-constructor.html: Removed.
* platform/gtk/TestExpectations:
* platform/ios/TestExpectations:
* platform/mac/TestExpectations:
* platform/win/TestExpectations:
* proximity/add-listener-from-callback-expected.txt: Removed.
* proximity/add-listener-from-callback.html: Removed.
* proximity/basic-operation-expected.txt: Removed.
* proximity/basic-operation.html: Removed.
* proximity/check-event-deviceproximity-expected.txt: Removed.
* proximity/check-event-deviceproximity.html: Removed.
* proximity/create-event-deviceproximity-expected.txt: Removed.
* proximity/create-event-deviceproximity.html: Removed.
* proximity/create-event-expected.txt: Removed.
* proximity/create-event.html: Removed.
* proximity/event-after-navigation-expected.txt: Removed.
* proximity/event-after-navigation.html: Removed.
* proximity/multiple-frames-expected.txt: Removed.
* proximity/multiple-frames.html: Removed.
* proximity/no-page-cache-expected.txt: Removed.
* proximity/no-page-cache.html: Removed.
* proximity/optional-event-properties-expected.txt: Removed.
* proximity/optional-event-properties.html: Removed.
* proximity/resources/cached-page-1.html: Removed.
* proximity/resources/cached-page-2.html: Removed.
* proximity/resources/event-after-navigation-new.html: Removed.
* proximity/updates-expected.txt: Removed.
* proximity/updates.html: Removed.
* proximity/window-property-expected.txt: Removed.
* proximity/window-property.html: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@220734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
76 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/fast/events/constructors/device-proximity-event-constructor-expected.txt [deleted file]
LayoutTests/fast/events/constructors/device-proximity-event-constructor.html [deleted file]
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/ios/TestExpectations
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/win/TestExpectations
LayoutTests/proximity/add-listener-from-callback-expected.txt [deleted file]
LayoutTests/proximity/add-listener-from-callback.html [deleted file]
LayoutTests/proximity/basic-operation-expected.txt [deleted file]
LayoutTests/proximity/basic-operation.html [deleted file]
LayoutTests/proximity/check-event-deviceproximity-expected.txt [deleted file]
LayoutTests/proximity/check-event-deviceproximity.html [deleted file]
LayoutTests/proximity/create-event-deviceproximity-expected.txt [deleted file]
LayoutTests/proximity/create-event-deviceproximity.html [deleted file]
LayoutTests/proximity/create-event-expected.txt [deleted file]
LayoutTests/proximity/create-event.html [deleted file]
LayoutTests/proximity/event-after-navigation-expected.txt [deleted file]
LayoutTests/proximity/event-after-navigation.html [deleted file]
LayoutTests/proximity/multiple-frames-expected.txt [deleted file]
LayoutTests/proximity/multiple-frames.html [deleted file]
LayoutTests/proximity/no-page-cache-expected.txt [deleted file]
LayoutTests/proximity/no-page-cache.html [deleted file]
LayoutTests/proximity/optional-event-properties-expected.txt [deleted file]
LayoutTests/proximity/optional-event-properties.html [deleted file]
LayoutTests/proximity/resources/cached-page-1.html [deleted file]
LayoutTests/proximity/resources/cached-page-2.html [deleted file]
LayoutTests/proximity/resources/event-after-navigation-new.html [deleted file]
LayoutTests/proximity/updates-expected.txt [deleted file]
LayoutTests/proximity/updates.html [deleted file]
LayoutTests/proximity/window-property-expected.txt [deleted file]
LayoutTests/proximity/window-property.html [deleted file]
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
Source/WTF/ChangeLog
Source/WTF/wtf/FeatureDefines.h
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/DerivedSources.cpp
Source/WebCore/Modules/proximity/DeviceProximityClient.h [deleted file]
Source/WebCore/Modules/proximity/DeviceProximityController.cpp [deleted file]
Source/WebCore/Modules/proximity/DeviceProximityController.h [deleted file]
Source/WebCore/Modules/proximity/DeviceProximityEvent.cpp [deleted file]
Source/WebCore/Modules/proximity/DeviceProximityEvent.h [deleted file]
Source/WebCore/Modules/proximity/DeviceProximityEvent.idl [deleted file]
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig
Source/WebCore/dom/EventNames.h
Source/WebCore/dom/EventNames.in
Source/WebCore/history/PageCache.cpp
Source/WebCore/page/DOMWindow.cpp
Source/WebCore/page/DOMWindow.idl
Source/WebCore/page/DiagnosticLoggingKeys.cpp
Source/WebCore/page/DiagnosticLoggingKeys.h
Source/WebCore/testing/Internals.cpp
Source/WebCore/testing/Internals.h
Source/WebCore/testing/Internals.idl
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/ScriptTimelineRecord.js
Source/WebKit/CMakeLists.txt
Source/WebKit/ChangeLog
Source/WebKit/Configurations/FeatureDefines.xcconfig
Source/WebKit/WebProcess/WebCoreSupport/WebDeviceProximityClient.cpp [deleted file]
Source/WebKit/WebProcess/WebCoreSupport/WebDeviceProximityClient.h [deleted file]
Source/WebKit/WebProcess/WebPage/WebPage.cpp
Source/WebKitLegacy/mac/ChangeLog
Source/WebKitLegacy/mac/Configurations/FeatureDefines.xcconfig
Source/cmake/OptionsMac.cmake
Source/cmake/OptionsWin.cmake
Source/cmake/WebKitFeatures.cmake
Source/cmake/tools/vsprops/FeatureDefines.props
Source/cmake/tools/vsprops/FeatureDefinesCairo.props
Tools/ChangeLog
Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig