diff --git a/layout/forms/nsISelectControlFrame.h b/layout/forms/nsISelectControlFrame.h index 584b78e0e832..87427eb7bf1d 100644 --- a/layout/forms/nsISelectControlFrame.h +++ b/layout/forms/nsISelectControlFrame.h @@ -47,8 +47,11 @@ public: NS_IMETHOD RemoveOption(PRInt32 index) = 0; + /** + * Sets the select state of the option at index + */ + NS_IMETHOD SetOptionSelected(PRInt32 index, PRBool value) = 0; }; #endif - diff --git a/layout/html/forms/public/nsISelectControlFrame.h b/layout/html/forms/public/nsISelectControlFrame.h index 584b78e0e832..87427eb7bf1d 100644 --- a/layout/html/forms/public/nsISelectControlFrame.h +++ b/layout/html/forms/public/nsISelectControlFrame.h @@ -47,8 +47,11 @@ public: NS_IMETHOD RemoveOption(PRInt32 index) = 0; + /** + * Sets the select state of the option at index + */ + NS_IMETHOD SetOptionSelected(PRInt32 index, PRBool value) = 0; }; #endif -