diff --git a/mozilla/layout/forms/nsISelectControlFrame.h b/mozilla/layout/forms/nsISelectControlFrame.h index 584b78e0e83..87427eb7bf1 100644 --- a/mozilla/layout/forms/nsISelectControlFrame.h +++ b/mozilla/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/mozilla/layout/html/forms/public/nsISelectControlFrame.h b/mozilla/layout/html/forms/public/nsISelectControlFrame.h index 584b78e0e83..87427eb7bf1 100644 --- a/mozilla/layout/html/forms/public/nsISelectControlFrame.h +++ b/mozilla/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 -