Bug 785942 - Part 1: IDL update. sr=sicking, r=smaug

This commit is contained in:
Yoshi Huang 2012-08-27 18:55:27 -03:00
parent 2c9355679a
commit 276ba231ad
3 changed files with 22 additions and 5 deletions

View File

@ -16,12 +16,18 @@ include $(topsrcdir)/dom/dom-config.mk
XPIDLSRCS = \
nsIDOMNavigatorNetwork.idl \
nsIDOMConnection.idl \
nsIDOMMobileConnection.idl \
nsIMobileConnectionProvider.idl \
nsIDOMUSSDReceivedEvent.idl \
nsIDOMTCPSocket.idl \
$(NULL)
ifdef MOZ_B2G_RIL
XPIDLSRCS += \
nsIDOMMobileConnection.idl \
nsIMobileConnectionProvider.idl \
nsINavigatorMobileConnection.idl \
$(NULL)
endif
include $(topsrcdir)/config/rules.mk
XPIDL_FLAGS += \

View File

@ -5,11 +5,9 @@
#include "nsISupports.idl"
interface nsIDOMMozConnection;
interface nsIDOMMozMobileConnection;
[scriptable, uuid(fb7c3429-aa2c-4ccc-948a-467c0de29fff)]
[scriptable, uuid(c1685d27-f2e2-4ed9-998f-ff5b1442058f)]
interface nsIDOMMozNavigatorNetwork : nsISupports
{
readonly attribute nsIDOMMozConnection mozConnection;
readonly attribute nsIDOMMozMobileConnection mozMobileConnection;
};

View File

@ -0,0 +1,13 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* 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 "nsISupports.idl"
interface nsIDOMMozMobileConnection;
[scriptable, uuid(d8672694-3334-4d0d-a4c3-38fa70c265d0)]
interface nsIMozNavigatorMobileConnection : nsISupports
{
readonly attribute nsIDOMMozMobileConnection mozMobileConnection;
};