mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
Bug 1083724: Restore the optionality of string arguments to methods on PopupBoxObject. r=bz
This commit is contained in:
parent
eb02427242
commit
1a8880d414
@ -11,8 +11,9 @@ interface PopupBoxObject : BoxObject
|
|||||||
*/
|
*/
|
||||||
void showPopup(Element? srcContent, Element popupContent,
|
void showPopup(Element? srcContent, Element popupContent,
|
||||||
long xpos, long ypos,
|
long xpos, long ypos,
|
||||||
DOMString popupType, DOMString anchorAlignment,
|
optional DOMString popupType = "",
|
||||||
DOMString popupAlignment);
|
optional DOMString anchorAlignment = "",
|
||||||
|
optional DOMString popupAlignment = "");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hide the popup if it is open. The cancel argument is used as a hint that
|
* Hide the popup if it is open. The cancel argument is used as a hint that
|
||||||
@ -105,8 +106,9 @@ interface PopupBoxObject : BoxObject
|
|||||||
* @param triggerEvent the event that triggered this popup (mouse click for example)
|
* @param triggerEvent the event that triggered this popup (mouse click for example)
|
||||||
*/
|
*/
|
||||||
void openPopup(Element? anchorElement,
|
void openPopup(Element? anchorElement,
|
||||||
DOMString position,
|
optional DOMString position = "",
|
||||||
long x, long y,
|
long x,
|
||||||
|
long y,
|
||||||
boolean isContextMenu,
|
boolean isContextMenu,
|
||||||
boolean attributesOverride,
|
boolean attributesOverride,
|
||||||
Event? triggerEvent);
|
Event? triggerEvent);
|
||||||
@ -160,7 +162,7 @@ interface PopupBoxObject : BoxObject
|
|||||||
* on popups that are not open.
|
* on popups that are not open.
|
||||||
*/
|
*/
|
||||||
void moveToAnchor(Element? anchorElement,
|
void moveToAnchor(Element? anchorElement,
|
||||||
DOMString position,
|
optional DOMString position = "",
|
||||||
long x, long y,
|
long x, long y,
|
||||||
boolean attributesOverride);
|
boolean attributesOverride);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user