зеркало из https://github.com/mozilla/gecko-dev.git
Bug 908083 - Part1: browser termination event IDL. r=yoshi, hsinyi
This commit is contained in:
Родитель
0c52b59bec
Коммит
a4578be43f
|
@ -623,6 +623,23 @@ dictionary MozStkLanguageSelectionEvent
|
|||
DOMString language;
|
||||
};
|
||||
|
||||
dictionary MozStkBrowserTerminationEvent
|
||||
{
|
||||
/**
|
||||
* The type of this event.
|
||||
* It shall be nsIDOMMozIccManager.STK_EVENT_TYPE_BROWSER_TERMINATION
|
||||
*/
|
||||
unsigned short eventType;
|
||||
|
||||
/**
|
||||
* This object shall contain the browser termination cause.
|
||||
* See TZ 102 223 8.51. It shall be one of following:
|
||||
* - nsIDOMMozIccManager.STK_BROWSER_TERMINATION_CAUSE_USER
|
||||
* - nsIDOMMozIccManager.STK_BROWSER_TERMINATION_CAUSE_ERROR
|
||||
*/
|
||||
unsigned short terminationCause;
|
||||
};
|
||||
|
||||
dictionary MozStkGeneralEvent
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -9,7 +9,7 @@ interface nsIDOMDOMRequest;
|
|||
interface nsIDOMEventListener;
|
||||
interface nsIDOMMozIccInfo;
|
||||
|
||||
[scriptable, builtinclass, uuid(6b5875dc-de44-4681-84a1-9ea12d60fbe2)]
|
||||
[scriptable, builtinclass, uuid(b403e307-e4ff-47a0-ac1e-c97b042b4595)]
|
||||
interface nsIDOMMozIccManager : nsIDOMEventTarget
|
||||
{
|
||||
/**
|
||||
|
@ -215,6 +215,12 @@ interface nsIDOMMozIccManager : nsIDOMEventTarget
|
|||
const unsigned short STK_TIMER_DEACTIVATE = 0x01;
|
||||
const unsigned short STK_TIMER_GET_CURRENT_VALUE = 0x02;
|
||||
|
||||
/**
|
||||
* Browser Termination Cause
|
||||
*/
|
||||
const unsigned short STK_BROWSER_TERMINATION_CAUSE_USER = 0x00;
|
||||
const unsigned short STK_BROWSER_TERMINATION_CAUSE_ERROR = 0x01;
|
||||
|
||||
/**
|
||||
* Send the response back to ICC after an attempt to execute STK Proactive
|
||||
* Command.
|
||||
|
@ -260,6 +266,7 @@ interface nsIDOMMozIccManager : nsIDOMEventTarget
|
|||
* - MozStkCallEvent
|
||||
* - MozStkLanguageSelectionEvent
|
||||
* - MozStkGeneralEvent
|
||||
* - MozStkBrowserTerminationEvent
|
||||
*/
|
||||
void sendStkEventDownload(in jsval event);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче