| 1 | /* |
| 2 | * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. |
| 3 | * |
| 4 | * Copyright (C) 2011 Google Inc. All rights reserved. |
| 5 | * |
| 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions |
| 8 | * are met: |
| 9 | * 1. Redistributions of source code must retain the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer. |
| 11 | * 2. Redistributions in binary form must reproduce the above copyright |
| 12 | * notice, this list of conditions and the following disclaimer in the |
| 13 | * documentation and/or other materials provided with the distribution. |
| 14 | * |
| 15 | * THIS SOFTWARE IS PROVIDED BY GOOGLE, INC. ``AS IS'' AND ANY |
| 16 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 17 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 18 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR |
| 19 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 20 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 21 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 22 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 23 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 25 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 26 | */ |
| 27 | |
| 28 | #pragma once |
| 29 | |
| 30 | namespace WebCore { |
| 31 | |
| 32 | enum EventTargetInterface { |
| 33 | #if ENABLE(APPLE_PAY) |
| 34 | ApplePaySessionEventTargetInterfaceType = 1, |
| 35 | #endif |
| 36 | #if ENABLE(CSS_PAINTING_API) |
| 37 | WorkletGlobalScopeEventTargetInterfaceType = 2, |
| 38 | #endif |
| 39 | #if ENABLE(ENCRYPTED_MEDIA) |
| 40 | MediaKeySessionEventTargetInterfaceType = 3, |
| 41 | #endif |
| 42 | #if ENABLE(INDEXED_DATABASE) |
| 43 | IDBDatabaseEventTargetInterfaceType = 4, |
| 44 | IDBOpenDBRequestEventTargetInterfaceType = 5, |
| 45 | IDBRequestEventTargetInterfaceType = 6, |
| 46 | IDBTransactionEventTargetInterfaceType = 7, |
| 47 | #endif |
| 48 | #if ENABLE(LEGACY_ENCRYPTED_MEDIA) |
| 49 | WebKitMediaKeySessionEventTargetInterfaceType = 8, |
| 50 | #endif |
| 51 | #if ENABLE(MEDIA_SESSION) |
| 52 | MediaRemoteControlsEventTargetInterfaceType = 9, |
| 53 | #endif |
| 54 | #if ENABLE(MEDIA_SOURCE) |
| 55 | MediaSourceEventTargetInterfaceType = 10, |
| 56 | SourceBufferEventTargetInterfaceType = 11, |
| 57 | SourceBufferListEventTargetInterfaceType = 12, |
| 58 | #endif |
| 59 | #if ENABLE(MEDIA_STREAM) |
| 60 | MediaDevicesEventTargetInterfaceType = 13, |
| 61 | MediaRecorderEventTargetInterfaceType = 14, |
| 62 | MediaStreamEventTargetInterfaceType = 15, |
| 63 | MediaStreamTrackEventTargetInterfaceType = 16, |
| 64 | #endif |
| 65 | #if ENABLE(NOTIFICATIONS) |
| 66 | NotificationEventTargetInterfaceType = 17, |
| 67 | #endif |
| 68 | #if ENABLE(PAYMENT_REQUEST) |
| 69 | PaymentRequestEventTargetInterfaceType = 18, |
| 70 | PaymentResponseEventTargetInterfaceType = 19, |
| 71 | #endif |
| 72 | #if ENABLE(SERVICE_WORKER) |
| 73 | ServiceWorkerEventTargetInterfaceType = 20, |
| 74 | ServiceWorkerContainerEventTargetInterfaceType = 21, |
| 75 | ServiceWorkerGlobalScopeEventTargetInterfaceType = 22, |
| 76 | ServiceWorkerRegistrationEventTargetInterfaceType = 23, |
| 77 | #endif |
| 78 | #if ENABLE(SPEECH_SYNTHESIS) |
| 79 | SpeechSynthesisUtteranceEventTargetInterfaceType = 24, |
| 80 | #endif |
| 81 | #if ENABLE(VIDEO) |
| 82 | MediaControllerEventTargetInterfaceType = 25, |
| 83 | #endif |
| 84 | #if ENABLE(VIDEO_TRACK) |
| 85 | AudioTrackListEventTargetInterfaceType = 26, |
| 86 | TextTrackEventTargetInterfaceType = 27, |
| 87 | TextTrackCueEventTargetInterfaceType = 28, |
| 88 | TextTrackListEventTargetInterfaceType = 29, |
| 89 | VideoTrackListEventTargetInterfaceType = 30, |
| 90 | #endif |
| 91 | #if ENABLE(WEB_AUDIO) |
| 92 | AudioContextEventTargetInterfaceType = 31, |
| 93 | AudioNodeEventTargetInterfaceType = 32, |
| 94 | #endif |
| 95 | #if ENABLE(WEB_RTC) |
| 96 | RTCDataChannelEventTargetInterfaceType = 33, |
| 97 | RTCPeerConnectionEventTargetInterfaceType = 34, |
| 98 | #endif |
| 99 | #if ENABLE(WEB_RTC_DTMF) |
| 100 | RTCDTMFSenderEventTargetInterfaceType = 35, |
| 101 | #endif |
| 102 | AbortSignalEventTargetInterfaceType = 36, |
| 103 | DOMApplicationCacheEventTargetInterfaceType = 37, |
| 104 | DOMWindowEventTargetInterfaceType = 38, |
| 105 | DedicatedWorkerGlobalScopeEventTargetInterfaceType = 39, |
| 106 | EventSourceEventTargetInterfaceType = 40, |
| 107 | FileReaderEventTargetInterfaceType = 41, |
| 108 | FontFaceSetEventTargetInterfaceType = 42, |
| 109 | MessagePortEventTargetInterfaceType = 43, |
| 110 | NodeEventTargetInterfaceType = 44, |
| 111 | OffscreenCanvasEventTargetInterfaceType = 45, |
| 112 | PerformanceEventTargetInterfaceType = 46, |
| 113 | VRDisplayEventTargetInterfaceType = 47, |
| 114 | VisualViewportEventTargetInterfaceType = 48, |
| 115 | WebAnimationEventTargetInterfaceType = 49, |
| 116 | WebSocketEventTargetInterfaceType = 50, |
| 117 | WorkerEventTargetInterfaceType = 51, |
| 118 | XMLHttpRequestEventTargetInterfaceType = 52, |
| 119 | XMLHttpRequestUploadEventTargetInterfaceType = 53, |
| 120 | }; |
| 121 | |
| 122 | } // namespace WebCore |
| 123 | |