mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 920551 - 2.e/2: fix MobileConnection. r=hsinyi,khuey
This commit is contained in:
parent
8c0916e23c
commit
260f5d4169
@ -824,9 +824,6 @@ pref("gfx.gralloc.fence-with-readpixels", true);
|
||||
// Cell Broadcast API
|
||||
pref("ril.cellbroadcast.disabled", false);
|
||||
|
||||
// Mobile Connection API
|
||||
pref("dom.mobileconnection.enabled", true);
|
||||
|
||||
// Voice Mail API
|
||||
pref("dom.voicemail.enabled", true);
|
||||
|
||||
|
@ -39,8 +39,8 @@
|
||||
#include "nsGlobalWindow.h"
|
||||
#ifdef MOZ_B2G_RIL
|
||||
#include "mozilla/dom/IccManager.h"
|
||||
#include "MobileConnection.h"
|
||||
#include "mozilla/dom/CellBroadcast.h"
|
||||
#include "mozilla/dom/network/MobileConnection.h"
|
||||
#include "mozilla/dom/Voicemail.h"
|
||||
#endif
|
||||
#include "nsIIdleObserver.h"
|
||||
|
@ -6,10 +6,8 @@
|
||||
|
||||
XPIDL_SOURCES += [
|
||||
'nsIDOMConnection.idl',
|
||||
'nsIDOMDataErrorEvent.idl',
|
||||
'nsIDOMTCPServerSocket.idl',
|
||||
'nsIDOMTCPSocket.idl',
|
||||
'nsIDOMUSSDReceivedEvent.idl',
|
||||
'nsIMozNavigatorNetwork.idl',
|
||||
'nsITCPServerSocketChild.idl',
|
||||
'nsITCPServerSocketParent.idl',
|
||||
@ -20,11 +18,13 @@ XPIDL_SOURCES += [
|
||||
if CONFIG['MOZ_B2G_RIL']:
|
||||
XPIDL_SOURCES += [
|
||||
'nsIDOMCFStateChangeEvent.idl',
|
||||
'nsIDOMDataErrorEvent.idl',
|
||||
'nsIDOMMobileConnection.idl',
|
||||
'nsIDOMMozEmergencyCbModeEvent.idl',
|
||||
'nsIDOMMozOtaStatusEvent.idl',
|
||||
'nsIDOMNetworkStats.idl',
|
||||
'nsIDOMNetworkStatsManager.idl',
|
||||
'nsIDOMUSSDReceivedEvent.idl',
|
||||
'nsIMobileConnectionProvider.idl',
|
||||
'nsINetworkStatsServiceProxy.idl',
|
||||
]
|
||||
|
@ -2,7 +2,8 @@
|
||||
* 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/. */
|
||||
|
||||
#include "MobileConnection.h"
|
||||
#include "mozilla/dom/network/MobileConnection.h"
|
||||
|
||||
#include "GeneratedEvents.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "nsDOMEvent.h"
|
||||
|
@ -22,6 +22,9 @@ SOURCES += [
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_B2G_RIL']:
|
||||
EXPORTS.mozilla.dom.network += [
|
||||
'MobileConnection.h',
|
||||
]
|
||||
SOURCES += [
|
||||
'MobileConnection.cpp',
|
||||
]
|
||||
|
@ -4536,7 +4536,11 @@ pref("dom.icc.enabled", false);
|
||||
#endif
|
||||
|
||||
// Mobile Connection API
|
||||
#ifdef MOZ_B2G_RIL
|
||||
pref("dom.mobileconnection.enabled", true);
|
||||
#else
|
||||
pref("dom.mobileconnection.enabled", false);
|
||||
#endif
|
||||
|
||||
// Voice Mail API
|
||||
pref("dom.voicemail.enabled", false);
|
||||
|
Loading…
Reference in New Issue
Block a user