mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 864035 - Don't use a forward declaration for mozilla::dom::SpeechRecognition for use with a WeakPtr. r=smaug
This commit is contained in:
parent
0745f908eb
commit
5638e38904
@ -16,6 +16,7 @@ XPIDL_SOURCES = [
|
||||
TEST_DIRS += ['test']
|
||||
|
||||
EXPORTS.mozilla.dom += [
|
||||
'EnableWebSpeechRecognitionCheck.h',
|
||||
'FakeSpeechRecognitionService.h',
|
||||
'SpeechGrammar.h',
|
||||
'SpeechGrammarList.h',
|
||||
@ -24,5 +25,8 @@ EXPORTS.mozilla.dom += [
|
||||
'SpeechRecognitionResult.h',
|
||||
'SpeechRecognitionResultList.h',
|
||||
'SpeechStreamListener.h',
|
||||
'endpointer.h',
|
||||
'energy_endpointer.h',
|
||||
'energy_endpointer_params.h',
|
||||
]
|
||||
|
||||
|
@ -8,16 +8,7 @@
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIObserver.h"
|
||||
|
||||
// nsISpeechRecognitionService needs these declarations
|
||||
namespace mozilla {
|
||||
class AudioSegment;
|
||||
|
||||
namespace dom {
|
||||
class SpeechRecognition;
|
||||
class SpeechRecognitionResultList;
|
||||
}
|
||||
}
|
||||
#include "SpeechRecognition.h"
|
||||
|
||||
#include "nsISpeechRecognitionService.h"
|
||||
|
||||
|
@ -2,6 +2,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef mozilla_dom_MediaManager_h
|
||||
#define mozilla_dom_MediaManager_h
|
||||
|
||||
#include "MediaEngine.h"
|
||||
#include "mozilla/dom/ContentChild.h"
|
||||
#include "mozilla/Services.h"
|
||||
@ -493,3 +496,5 @@ private:
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
#endif /* mozilla_dom_MediaManager_h */
|
||||
|
Loading…
Reference in New Issue
Block a user