mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
Added method "DoneAddingContent" to notify the select that all the chiild are there
r=vidur, bug 17965
This commit is contained in:
parent
8f41929776
commit
5ea1ca4cf6
@ -39,7 +39,9 @@
|
||||
*/
|
||||
class nsISelectElement : public nsISupports {
|
||||
public:
|
||||
|
||||
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISELECTELEMENT_IID)
|
||||
|
||||
/**
|
||||
* An OPTION element has been added to the SELECT's
|
||||
* subtree.
|
||||
@ -51,6 +53,18 @@ public:
|
||||
* subtree.
|
||||
*/
|
||||
NS_IMETHOD RemoveOption(nsIContent* aContent) = 0;
|
||||
|
||||
/**
|
||||
* Indicates that we're done adding child content
|
||||
* to the select during document loading.
|
||||
*/
|
||||
NS_IMETHOD DoneAddingContent() = 0;
|
||||
|
||||
/**
|
||||
* Returns whether we're done adding child content
|
||||
* to the select during document loading.
|
||||
*/
|
||||
NS_IMETHOD IsDoneAddingContent(PRBool * aIsDone) = 0;
|
||||
};
|
||||
|
||||
#endif // nsISelectElement_h___
|
||||
|
@ -39,7 +39,9 @@
|
||||
*/
|
||||
class nsISelectElement : public nsISupports {
|
||||
public:
|
||||
|
||||
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISELECTELEMENT_IID)
|
||||
|
||||
/**
|
||||
* An OPTION element has been added to the SELECT's
|
||||
* subtree.
|
||||
@ -51,6 +53,18 @@ public:
|
||||
* subtree.
|
||||
*/
|
||||
NS_IMETHOD RemoveOption(nsIContent* aContent) = 0;
|
||||
|
||||
/**
|
||||
* Indicates that we're done adding child content
|
||||
* to the select during document loading.
|
||||
*/
|
||||
NS_IMETHOD DoneAddingContent() = 0;
|
||||
|
||||
/**
|
||||
* Returns whether we're done adding child content
|
||||
* to the select during document loading.
|
||||
*/
|
||||
NS_IMETHOD IsDoneAddingContent(PRBool * aIsDone) = 0;
|
||||
};
|
||||
|
||||
#endif // nsISelectElement_h___
|
||||
|
Loading…
Reference in New Issue
Block a user