Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(819)

Unified Diff: third_party/WebKit/Source/build/scripts/make_event_factory.py

Issue 2217763003: Remove Blink-WebKit-only document.createEvent strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/build/scripts/make_event_factory.py
diff --git a/third_party/WebKit/Source/build/scripts/make_event_factory.py b/third_party/WebKit/Source/build/scripts/make_event_factory.py
index a6ae18582765dc8147952870daebe78fe1d067d5..370452aa8ffafed965a18d251b0e1f8082a17852 100755
--- a/third_party/WebKit/Source/build/scripts/make_event_factory.py
+++ b/third_party/WebKit/Source/build/scripts/make_event_factory.py
@@ -71,58 +71,24 @@ def create_event_whitelist(name):
# or be deprecated/removed. https://crbug.com/569690
def create_event_legacy_whitelist(name):
return (name == 'AnimationEvent'
- or name == 'ApplicationCacheErrorEvent'
- or name == 'AudioProcessingEvent'
- or name == 'BeforeInstallPromptEvent'
or name == 'BeforeUnloadEvent'
- or name == 'BlobEvent'
- or name == 'ClipboardEvent'
or name == 'CloseEvent'
or name == 'CompositionEvent'
or name == 'DeviceMotionEvent'
or name == 'DeviceOrientationEvent'
or name == 'DragEvent'
or name == 'ErrorEvent'
- or name == 'ExtendableEvent'
- or name == 'ExtendableMessageEvent'
- or name == 'FetchEvent'
or name == 'FocusEvent'
- or name == 'FontFaceSetLoadEvent'
- or name == 'GamepadEvent'
or name == 'HashChangeEvent'
or name == 'IDBVersionChangeEvent'
or name == 'KeyboardEvents'
- or name == 'MediaEncryptedEvent'
- or name == 'MediaKeyMessageEvent'
- or name == 'MediaQueryListEvent'
- or name == 'MediaStreamEvent'
- or name == 'MediaStreamTrackEvent'
- or name == 'MIDIConnectionEvent'
- or name == 'MIDIMessageEvent'
or name == 'MutationEvent'
or name == 'MutationEvents'
- or name == 'NotificationEvent'
- or name == 'OfflineAudioCompletionEvent'
- or name == 'OrientationEvent'
or name == 'PageTransitionEvent'
or name == 'PopStateEvent'
- or name == 'PresentationConnectionAvailableEvent'
- or name == 'PresentationConnectionCloseEvent'
or name == 'ProgressEvent'
- or name == 'PromiseRejectionEvent'
- or name == 'PushEvent'
- or name == 'ResourceProgressEvent'
- or name == 'RTCDataChannelEvent'
- or name == 'RTCDTMFToneChangeEvent'
- or name == 'RTCIceCandidateEvent'
- or name == 'SecurityPolicyViolationEvent'
- or name == 'ServiceWorkerMessageEvent'
- or name == 'SpeechRecognitionError'
- or name == 'SpeechRecognitionEvent'
- or name == 'SpeechSynthesisEvent'
or name == 'StorageEvent'
or name == 'SVGEvents'
- or name == 'SyncEvent'
or name == 'TextEvent'
or name == 'TrackEvent'
or name == 'TransitionEvent'

Powered by Google App Engine
This is Rietveld 408576698