Added method "DoneAddingContent" to notify the select that all the chiild are there

r=vidur, bug 17965
This commit is contained in:
rods%netscape.com 1999-11-11 22:13:17 +00:00
parent 8f41929776
commit 5ea1ca4cf6
2 changed files with 30 additions and 2 deletions

View File

@ -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___

View File

@ -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___