Remove a few trivial custom bindings
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Dec 2016 01:18:57 +0000 (01:18 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Dec 2016 01:18:57 +0000 (01:18 +0000)
commit8b002da21104d508e87963160a65fd5ba8a23152
tree14e32d3d2a4eb604f387d0b0c538dbeeb29de03e
parentc07cf4fb6ac2b8fcd55d7212d0b195e7eac1d4b6
Remove a few trivial custom bindings
https://bugs.webkit.org/show_bug.cgi?id=165999

Reviewed by Simon Fraser.

* CMakeLists.txt:
* bindings/js/JSBindingsAllInOne.cpp:
Remove files.

* WebCore.xcodeproj/project.pbxproj:
Move custom bindings that only exist for GC or wrapping reasons
to their own group, so we can focus on the ones with custom functions.

* bindings/js/JSDataTransferCustom.cpp: Removed.
* bindings/js/JSTrackEventCustom.cpp: Removed.

* dom/DataTransfer.cpp:
(WebCore::DataTransfer::types):
Remove incorrect comment and use a more concise empty initialization syntax.

* dom/DataTransfer.idl:
Update IDL to remove [Custom] annotation and match spec better.

* html/track/TrackEvent.cpp:
(WebCore::convertToTrackEventTrack):
(WebCore::TrackEvent::TrackEvent):
* html/track/TrackEvent.h:
Switch to store the Track in a Variant to make the binding easier.

* html/track/TrackEvent.idl:
Remove [CustomGetter] annotation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/bindings/js/JSBindingsAllInOne.cpp
Source/WebCore/bindings/js/JSDataTransferCustom.cpp [deleted file]
Source/WebCore/bindings/js/JSTrackEventCustom.cpp [deleted file]
Source/WebCore/dom/DataTransfer.cpp
Source/WebCore/dom/DataTransfer.idl
Source/WebCore/html/track/TrackEvent.cpp
Source/WebCore/html/track/TrackEvent.h
Source/WebCore/html/track/TrackEvent.idl