Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 755245 - Implement System Message Handler : Part 1, IDL [sr=jonas…
…,r=mounir,khuey]
- Loading branch information
Fabrice Desré
committed
Jul 3, 2012
1 parent
aaebfde
commit 98fe91c
Showing
7 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ DIRS += \ | |
devicestorage \ | ||
file \ | ||
media \ | ||
messages \ | ||
power \ | ||
settings \ | ||
sms \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters