| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /* From dev/ppb_file_chooser_dev.idl modified Tue Oct 11 11:17:39 2011. */ | 6 /* From dev/ppb_file_chooser_dev.idl modified Fri Nov 11 20:18:10 2011. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ | 8 #ifndef PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ |
| 9 #define PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ | 9 #define PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
| 13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
| 14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
| 15 #include "ppapi/c/pp_resource.h" | 15 #include "ppapi/c/pp_resource.h" |
| 16 #include "ppapi/c/pp_stdint.h" | 16 #include "ppapi/c/pp_stdint.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 34 * chooser dialog. | 34 * chooser dialog. |
| 35 */ | 35 */ |
| 36 typedef enum { | 36 typedef enum { |
| 37 /** | 37 /** |
| 38 * Mode for choosing a single existing file. | 38 * Mode for choosing a single existing file. |
| 39 */ | 39 */ |
| 40 PP_FILECHOOSERMODE_OPEN = 0, | 40 PP_FILECHOOSERMODE_OPEN = 0, |
| 41 /** | 41 /** |
| 42 * Mode for choosing multiple existing files. | 42 * Mode for choosing multiple existing files. |
| 43 */ | 43 */ |
| 44 PP_FILECHOOSERMODE_OPENMULTIPLE | 44 PP_FILECHOOSERMODE_OPENMULTIPLE = 1 |
| 45 } PP_FileChooserMode_Dev; | 45 } PP_FileChooserMode_Dev; |
| 46 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileChooserMode_Dev, 4); | 46 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FileChooserMode_Dev, 4); |
| 47 /** | 47 /** |
| 48 * @} | 48 * @} |
| 49 */ | 49 */ |
| 50 | 50 |
| 51 /** | 51 /** |
| 52 * @addtogroup Interfaces | 52 * @addtogroup Interfaces |
| 53 * @{ | 53 * @{ |
| 54 */ | 54 */ |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 * user, or 0 if there are no more files. | 114 * user, or 0 if there are no more files. |
| 115 */ | 115 */ |
| 116 PP_Resource (*GetNextChosenFile)(PP_Resource chooser); | 116 PP_Resource (*GetNextChosenFile)(PP_Resource chooser); |
| 117 }; | 117 }; |
| 118 /** | 118 /** |
| 119 * @} | 119 * @} |
| 120 */ | 120 */ |
| 121 | 121 |
| 122 #endif /* PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ */ | 122 #endif /* PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ */ |
| 123 | 123 |
| OLD | NEW |