mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 755245 - Implement System Message Handler : Part 1, IDL [sr=jonas,r=mounir,khuey]
This commit is contained in:
parent
f9ebaf0336
commit
bc1fd14ba1
@ -273,6 +273,8 @@ MOZ_NATIVE_NSS = @MOZ_NATIVE_NSS@
|
|||||||
MOZ_B2G_RIL = @MOZ_B2G_RIL@
|
MOZ_B2G_RIL = @MOZ_B2G_RIL@
|
||||||
MOZ_B2G_BT = @MOZ_B2G_BT@
|
MOZ_B2G_BT = @MOZ_B2G_BT@
|
||||||
|
|
||||||
|
MOZ_SYS_MSG = @MOZ_SYS_MSG@
|
||||||
|
|
||||||
MOZ_ASAN = @MOZ_ASAN@
|
MOZ_ASAN = @MOZ_ASAN@
|
||||||
MOZ_CFLAGS_NSS = @MOZ_CFLAGS_NSS@
|
MOZ_CFLAGS_NSS = @MOZ_CFLAGS_NSS@
|
||||||
MOZ_NO_WLZDEFS = @MOZ_NO_WLZDEFS@
|
MOZ_NO_WLZDEFS = @MOZ_NO_WLZDEFS@
|
||||||
|
@ -7437,6 +7437,12 @@ if test -n "$MOZ_B2G_BT"; then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST(MOZ_B2G_BT)
|
AC_SUBST(MOZ_B2G_BT)
|
||||||
|
|
||||||
|
dnl ========================================================
|
||||||
|
dnl = Enable Support for System Messages API
|
||||||
|
dnl ========================================================
|
||||||
|
|
||||||
|
AC_SUBST(MOZ_SYS_MSG)
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
dnl = Support for demangling undefined symbols
|
dnl = Support for demangling undefined symbols
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
|
@ -53,6 +53,7 @@ DIRS += \
|
|||||||
devicestorage \
|
devicestorage \
|
||||||
file \
|
file \
|
||||||
media \
|
media \
|
||||||
|
messages \
|
||||||
power \
|
power \
|
||||||
settings \
|
settings \
|
||||||
sms \
|
sms \
|
||||||
|
16
dom/messages/Makefile.in
Normal file
16
dom/messages/Makefile.in
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# 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/.
|
||||||
|
|
||||||
|
DEPTH = ../..
|
||||||
|
topsrcdir = @top_srcdir@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
|
||||||
|
relativesrcdir = dom/messages
|
||||||
|
|
||||||
|
include $(DEPTH)/config/autoconf.mk
|
||||||
|
|
||||||
|
PARALLEL_DIRS = interfaces
|
||||||
|
|
||||||
|
include $(topsrcdir)/config/rules.mk
|
20
dom/messages/interfaces/Makefile.in
Normal file
20
dom/messages/interfaces/Makefile.in
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# 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/.
|
||||||
|
|
||||||
|
DEPTH = ../../..
|
||||||
|
topsrcdir = @top_srcdir@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
|
||||||
|
include $(DEPTH)/config/autoconf.mk
|
||||||
|
|
||||||
|
XPIDL_MODULE = dom_messages
|
||||||
|
|
||||||
|
include $(topsrcdir)/dom/dom-config.mk
|
||||||
|
|
||||||
|
XPIDLSRCS = \
|
||||||
|
nsIDOMNavigatorSystemMessages.idl \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
include $(topsrcdir)/config/rules.mk
|
19
dom/messages/interfaces/nsIDOMNavigatorSystemMessages.idl
Normal file
19
dom/messages/interfaces/nsIDOMNavigatorSystemMessages.idl
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/* 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 "domstubs.idl"
|
||||||
|
|
||||||
|
[scriptable, function, uuid(42692976-57fd-4bb4-ab95-2b97ebdc5056)]
|
||||||
|
interface nsIDOMSystemMessageCallback : nsISupports
|
||||||
|
{
|
||||||
|
void handleMessage(in jsval message);
|
||||||
|
};
|
||||||
|
|
||||||
|
[scriptable, uuid(091e90dd-0e8b-463d-8cdc-9225d3a6ff90)]
|
||||||
|
interface nsIDOMNavigatorSystemMessages : nsISupports
|
||||||
|
{
|
||||||
|
void mozSetMessageHandler(in DOMString type, in nsIDOMSystemMessageCallback callback);
|
||||||
|
|
||||||
|
boolean mozHasPendingMessage(in DOMString type);
|
||||||
|
};
|
@ -41,6 +41,8 @@ MAKEFILES_dom="
|
|||||||
dom/indexedDB/Makefile
|
dom/indexedDB/Makefile
|
||||||
dom/ipc/Makefile
|
dom/ipc/Makefile
|
||||||
dom/locales/Makefile
|
dom/locales/Makefile
|
||||||
|
dom/messages/Makefile
|
||||||
|
dom/messages/interfaces/Makefile
|
||||||
dom/network/Makefile
|
dom/network/Makefile
|
||||||
dom/network/interfaces/Makefile
|
dom/network/interfaces/Makefile
|
||||||
dom/network/src/Makefile
|
dom/network/src/Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user