mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1008322: Guard webspeech-specific parts of ShimInterfaceInfo.cpp to fix --disable-webspeech builds. r=ehsan
This commit is contained in:
parent
627c4acee4
commit
76f1b18803
@ -148,8 +148,10 @@
|
||||
#include "nsIDOMSerializer.h"
|
||||
#include "nsIDOMSimpleGestureEvent.h"
|
||||
#include "nsIDOMSmartCardEvent.h"
|
||||
#ifdef MOZ_WEBSPEECH
|
||||
#include "nsIDOMSpeechRecognitionEvent.h"
|
||||
#include "nsIDOMSpeechSynthesisEvent.h"
|
||||
#endif // MOZ_WEBSPEECH
|
||||
#include "nsIDOMStorageEvent.h"
|
||||
#include "nsIDOMStyleSheet.h"
|
||||
#include "nsIDOMStyleSheetList.h"
|
||||
@ -317,8 +319,10 @@
|
||||
#include "mozilla/dom/ScrollAreaEventBinding.h"
|
||||
#include "mozilla/dom/SimpleGestureEventBinding.h"
|
||||
#include "mozilla/dom/SmartCardEventBinding.h"
|
||||
#ifdef MOZ_WEBSPEECH
|
||||
#include "mozilla/dom/SpeechRecognitionEventBinding.h"
|
||||
#include "mozilla/dom/SpeechSynthesisEventBinding.h"
|
||||
#endif // MOZ_WEBSPEECH
|
||||
#include "mozilla/dom/StorageEventBinding.h"
|
||||
#include "mozilla/dom/StyleSheetBinding.h"
|
||||
#include "mozilla/dom/StyleSheetListBinding.h"
|
||||
@ -502,8 +506,10 @@ const ComponentsInterfaceShimEntry kComponentsInterfaceShimMap[] =
|
||||
DEFINE_SHIM_WITH_CUSTOM_INTERFACE(nsIDOMSerializer, XMLSerializer),
|
||||
DEFINE_SHIM(SimpleGestureEvent),
|
||||
DEFINE_SHIM(SmartCardEvent),
|
||||
#ifdef MOZ_WEBSPEECH
|
||||
DEFINE_SHIM(SpeechRecognitionEvent),
|
||||
DEFINE_SHIM(SpeechSynthesisEvent),
|
||||
#endif // MOZ_WEBSPEECH
|
||||
DEFINE_SHIM(StorageEvent),
|
||||
DEFINE_SHIM(StyleSheet),
|
||||
DEFINE_SHIM(StyleSheetList),
|
||||
|
Loading…
Reference in New Issue
Block a user