diff options
Diffstat (limited to 'widget/nsIFilePicker.idl')
-rw-r--r-- | widget/nsIFilePicker.idl | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/widget/nsIFilePicker.idl b/widget/nsIFilePicker.idl index e9bdedfd42..db5ac9f7bd 100644 --- a/widget/nsIFilePicker.idl +++ b/widget/nsIFilePicker.idl @@ -66,19 +66,13 @@ interface nsIFilePicker : nsISupports * Initialize the file picker widget. The file picker is not valid until this * method is called. * - * @param parent mozIDOMWindow parent. This dialog will be dependent - * on this parent. parent must be non-null. - * @param title The title for the file widget - * @param mode load, save, or get folder - * @param browsingContext [optional] - * The context in which the file picker is being shown. This is - * used for content analysis and can be omitted if chrome is - * showing the file picker. - */ - void init(in mozIDOMWindowProxy parent, - in AString title, - in nsIFilePicker_Mode mode, - [optional] in BrowsingContext browsingContext); + * @param browsingContext The context in which the file picker is being + * shown, must be non-null. + * @param title The title for the file widget + * @param mode load, save, or get folder + * + */ + void init(in BrowsingContext browsingContext, in AString title, in nsIFilePicker_Mode mode); /** * Returns a Promise that resolves to true if the passed nsIFilePicker mode |