OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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 #ifndef PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ |
6 #define PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_macros.h" | 10 #include "ppapi/c/pp_macros.h" |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 | 12 |
13 struct PP_CompletionCallback; | 13 struct PP_CompletionCallback; |
14 | 14 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // After a successful call to Show, this method may be used to query the | 57 // After a successful call to Show, this method may be used to query the |
58 // chosen files. It should be called in a loop until it returns 0. | 58 // chosen files. It should be called in a loop until it returns 0. |
59 // Depending on the PP_ChooseFileMode requested when the FileChooser was | 59 // Depending on the PP_ChooseFileMode requested when the FileChooser was |
60 // created, the file refs will either be readable or writable. Their file | 60 // created, the file refs will either be readable or writable. Their file |
61 // system type will be PP_FileSystemType_External. If the user chose no | 61 // system type will be PP_FileSystemType_External. If the user chose no |
62 // files or cancelled the dialog, then this method will simply return 0 | 62 // files or cancelled the dialog, then this method will simply return 0 |
63 // the first time it is called. | 63 // the first time it is called. |
64 PP_Resource (*GetNextChosenFile)(PP_Resource chooser); | 64 PP_Resource (*GetNextChosenFile)(PP_Resource chooser); |
65 }; | 65 }; |
66 | 66 |
67 #endif // PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ | 67 #endif /* PPAPI_C_DEV_PPB_FILE_CHOOSER_DEV_H_ */ |
| 68 |
OLD | NEW |