зеркало из https://github.com/mozilla/gecko-dev.git
Bug 75993 - Make the checkvalue param on alertCheck,confirmCheck be in/out. r=valeski,sr=alecf
This commit is contained in:
Родитель
a37a84b566
Коммит
4b073109ac
|
@ -52,7 +52,7 @@ interface nsIPromptService : nsISupports
|
||||||
in wstring dialogTitle,
|
in wstring dialogTitle,
|
||||||
in wstring text,
|
in wstring text,
|
||||||
in wstring checkMsg,
|
in wstring checkMsg,
|
||||||
out boolean checkValue);
|
inout boolean checkValue);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Puts up a dialog with OK and Cancel buttons.
|
* Puts up a dialog with OK and Cancel buttons.
|
||||||
|
@ -71,7 +71,7 @@ interface nsIPromptService : nsISupports
|
||||||
in wstring dialogTitle,
|
in wstring dialogTitle,
|
||||||
in wstring text,
|
in wstring text,
|
||||||
in wstring checkMsg,
|
in wstring checkMsg,
|
||||||
out boolean checkValue);
|
inout boolean checkValue);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Puts up a dialog with up to 3 buttons and an optional checkbox.
|
* Puts up a dialog with up to 3 buttons and an optional checkbox.
|
||||||
|
|
|
@ -43,7 +43,7 @@ interface nsIPrompt : nsISupports
|
||||||
void alertCheck(in wstring dialogTitle,
|
void alertCheck(in wstring dialogTitle,
|
||||||
in wstring text,
|
in wstring text,
|
||||||
in wstring checkMsg,
|
in wstring checkMsg,
|
||||||
out boolean checkValue);
|
inout boolean checkValue);
|
||||||
|
|
||||||
boolean confirm(in wstring dialogTitle,
|
boolean confirm(in wstring dialogTitle,
|
||||||
in wstring text);
|
in wstring text);
|
||||||
|
@ -51,7 +51,7 @@ interface nsIPrompt : nsISupports
|
||||||
boolean confirmCheck(in wstring dialogTitle,
|
boolean confirmCheck(in wstring dialogTitle,
|
||||||
in wstring text,
|
in wstring text,
|
||||||
in wstring checkMsg,
|
in wstring checkMsg,
|
||||||
out boolean checkValue);
|
inout boolean checkValue);
|
||||||
|
|
||||||
const unsigned long BUTTON_POS_0 = 1;
|
const unsigned long BUTTON_POS_0 = 1;
|
||||||
const unsigned long BUTTON_POS_1 = 1 << 8;
|
const unsigned long BUTTON_POS_1 = 1 << 8;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче