Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
PPB_FileChooserTrusted_0_6 Struct Reference

Public Attributes

int32_t(* ShowWithoutUserGesture )(PP_Resource chooser, PP_Bool save_as, struct PP_Var suggested_file_name, struct PP_ArrayOutput output, struct PP_CompletionCallback callback)
 

Member Data Documentation

int32_t(* PPB_FileChooserTrusted_0_6::ShowWithoutUserGesture)(PP_Resource chooser, PP_Bool save_as, struct PP_Var suggested_file_name, struct PP_ArrayOutput output, struct PP_CompletionCallback callback)

This function displays a previously created file chooser resource as a dialog box, prompting the user to choose a file or files to open, or a single file for saving. The callback is called with PP_OK on successful completion with a file (or files) selected or PP_ERROR_USERCANCEL if the user selected no file.

Parameters
[in]chooserThe file chooser resource.
[in]save_asA PP_Bool value indicating if this dialog is choosing a file for saving.
[in]suggested_file_nameIf saving, the suggested name for the file, otherwise, null or undefined.
[in]callbackA CompletionCallback to be called after the user has closed the file chooser dialog.
Returns
PP_OK_COMPLETIONPENDING if request to show the dialog was successful, another error code from pp_errors.h on failure.

The documentation for this struct was generated from the following file: