Pepper_47_C_interfaces
|
#include <ppb_file_chooser_trusted.h>
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) |
Definition at line 35 of file ppb_file_chooser_trusted.h.
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.
[in] | chooser | The file chooser resource. |
[in] | save_as | A PP_Bool value indicating if this dialog is choosing a file for saving. |
[in] | suggested_file_name | If saving, the suggested name for the file, otherwise, null or undefined. |
[in] | callback | A CompletionCallback to be called after the user has closed the file chooser dialog. |
Definition at line 54 of file ppb_file_chooser_trusted.h.