diff options
Diffstat (limited to 'WebCore/bindings/js/JSEventCustom.cpp')
-rw-r--r-- | WebCore/bindings/js/JSEventCustom.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/bindings/js/JSEventCustom.cpp b/WebCore/bindings/js/JSEventCustom.cpp index d671dee..fd80360 100644 --- a/WebCore/bindings/js/JSEventCustom.cpp +++ b/WebCore/bindings/js/JSEventCustom.cpp @@ -51,6 +51,7 @@ #include "JSPageTransitionEvent.h" #include "JSPopStateEvent.h" #include "JSProgressEvent.h" +#include "JSSpeechInputEvent.h" #include "JSTextEvent.h" #include "JSUIEvent.h" #include "JSWebKitAnimationEvent.h" @@ -68,6 +69,7 @@ #include "PageTransitionEvent.h" #include "PopStateEvent.h" #include "ProgressEvent.h" +#include "SpeechInputEvent.h" #include "TextEvent.h" #include "UIEvent.h" #include "WebKitAnimationEvent.h" @@ -193,6 +195,10 @@ JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Event* event) else if (event->isAudioProcessingEvent()) wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, AudioProcessingEvent, event); #endif +#if ENABLE(INPUT_SPEECH) + else if (event->isSpeechInputEvent()) + wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SpeechInputEvent, event); +#endif else wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, Event, event); |