Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: ppapi/c/trusted/ppb_file_chooser_trusted.h

Issue 9728001: Make the file chooser use PP_ArrayOutput (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/dev/ppb_file_chooser_dev.h ('k') | ppapi/cpp/array_output.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/trusted/ppb_file_chooser_trusted.h
diff --git a/ppapi/c/trusted/ppb_file_chooser_trusted.h b/ppapi/c/trusted/ppb_file_chooser_trusted.h
index 85187a73c5d3c780d37d8e66a030588484e3ac73..048639a0f83fea4eab32e5a7d4f57eff1568bdd0 100644
--- a/ppapi/c/trusted/ppb_file_chooser_trusted.h
+++ b/ppapi/c/trusted/ppb_file_chooser_trusted.h
@@ -4,12 +4,13 @@
*/
/* From trusted/ppb_file_chooser_trusted.idl,
- * modified Wed Jan 4 11:09:00 2012.
+ * modified Fri Mar 16 10:00:48 2012.
*/
#ifndef PPAPI_C_TRUSTED_PPB_FILE_CHOOSER_TRUSTED_H_
#define PPAPI_C_TRUSTED_PPB_FILE_CHOOSER_TRUSTED_H_
+#include "ppapi/c/pp_array_output.h"
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_macros.h"
@@ -18,7 +19,8 @@
#include "ppapi/c/pp_var.h"
#define PPB_FILECHOOSER_TRUSTED_INTERFACE_0_5 "PPB_FileChooserTrusted;0.5"
-#define PPB_FILECHOOSER_TRUSTED_INTERFACE PPB_FILECHOOSER_TRUSTED_INTERFACE_0_5
+#define PPB_FILECHOOSER_TRUSTED_INTERFACE_0_6 "PPB_FileChooserTrusted;0.6"
+#define PPB_FILECHOOSER_TRUSTED_INTERFACE PPB_FILECHOOSER_TRUSTED_INTERFACE_0_6
/**
* @file
@@ -30,7 +32,7 @@
* @addtogroup Interfaces
* @{
*/
-struct PPB_FileChooserTrusted_0_5 {
+struct PPB_FileChooserTrusted_0_6 {
/**
* 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
@@ -52,10 +54,18 @@ struct PPB_FileChooserTrusted_0_5 {
int32_t (*ShowWithoutUserGesture)(PP_Resource chooser,
PP_Bool save_as,
struct PP_Var suggested_file_name,
+ struct PP_ArrayOutput output,
struct PP_CompletionCallback callback);
};
-typedef struct PPB_FileChooserTrusted_0_5 PPB_FileChooserTrusted;
+typedef struct PPB_FileChooserTrusted_0_6 PPB_FileChooserTrusted;
+
+struct PPB_FileChooserTrusted_0_5 {
+ int32_t (*ShowWithoutUserGesture)(PP_Resource chooser,
+ PP_Bool save_as,
+ struct PP_Var suggested_file_name,
+ struct PP_CompletionCallback callback);
+};
/**
* @}
*/
« no previous file with comments | « ppapi/c/dev/ppb_file_chooser_dev.h ('k') | ppapi/cpp/array_output.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698