Bug 870676: Part 1 - Implement mozFMRadio in WebIDL. r=khuey,baku
This commit is contained in:
@@ -125,11 +125,6 @@ using mozilla::dom::gonk::AudioManager;
|
||||
using mozilla::system::nsVolumeService;
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_B2G_FM
|
||||
#include "FMRadio.h"
|
||||
using mozilla::dom::fm::FMRadio;
|
||||
#endif
|
||||
|
||||
#include "AudioChannelAgent.h"
|
||||
using mozilla::dom::AudioChannelAgent;
|
||||
|
||||
@@ -303,10 +298,6 @@ NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(nsSynthVoiceRegistry,
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(AudioManager)
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_B2G_FM
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(FMRadio)
|
||||
#endif
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(AudioChannelAgent)
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDeviceSensors)
|
||||
@@ -761,10 +752,6 @@ NS_DEFINE_NAMED_CID(NS_AUDIOMANAGER_CID);
|
||||
NS_DEFINE_NAMED_CID(NS_VOLUMESERVICE_CID);
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_B2G_FM
|
||||
NS_DEFINE_NAMED_CID(NS_FMRADIO_CID);
|
||||
#endif
|
||||
|
||||
NS_DEFINE_NAMED_CID(NS_AUDIOCHANNELAGENT_CID);
|
||||
|
||||
NS_DEFINE_NAMED_CID(NS_HTMLEDITOR_CID);
|
||||
@@ -1049,9 +1036,6 @@ static const mozilla::Module::CIDEntry kLayoutCIDs[] = {
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
{ &kNS_AUDIOMANAGER_CID, true, NULL, AudioManagerConstructor },
|
||||
{ &kNS_VOLUMESERVICE_CID, true, NULL, nsVolumeServiceConstructor },
|
||||
#endif
|
||||
#ifdef MOZ_B2G_FM
|
||||
{ &kNS_FMRADIO_CID, true, NULL, FMRadioConstructor },
|
||||
#endif
|
||||
{ &kNS_AUDIOCHANNELAGENT_CID, true, NULL, AudioChannelAgentConstructor },
|
||||
{ &kNS_HTMLEDITOR_CID, false, NULL, nsHTMLEditorConstructor },
|
||||
@@ -1207,9 +1191,6 @@ static const mozilla::Module::ContractIDEntry kLayoutContracts[] = {
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
{ NS_AUDIOMANAGER_CONTRACTID, &kNS_AUDIOMANAGER_CID },
|
||||
{ NS_VOLUMESERVICE_CONTRACTID, &kNS_VOLUMESERVICE_CID },
|
||||
#endif
|
||||
#ifdef MOZ_B2G_FM
|
||||
{ NS_FMRADIO_CONTRACTID, &kNS_FMRADIO_CID },
|
||||
#endif
|
||||
{ NS_AUDIOCHANNELAGENT_CONTRACTID, &kNS_AUDIOCHANNELAGENT_CID },
|
||||
{ "@mozilla.org/editor/htmleditor;1", &kNS_HTMLEDITOR_CID },
|
||||
|
||||
Reference in New Issue
Block a user