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

Side by Side Diff: ppapi/api/dev/ppb_file_chooser_dev.idl

Issue 8522002: Add values to all dev Pepper .idl enumerations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/api/dev/ppb_console_dev.idl ('k') | ppapi/c/dev/pp_video_capture_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 6
7 /** 7 /**
8 * This file defines the <code>PPB_FileChooser_Dev</code> interface. 8 * This file defines the <code>PPB_FileChooser_Dev</code> interface.
9 */ 9 */
10 10
11 label Chrome { 11 label Chrome {
12 M16 = 0.5 12 M16 = 0.5
13 }; 13 };
14 14
15 /** 15 /**
16 * This enumeration contains constants to control the behavior of the file 16 * This enumeration contains constants to control the behavior of the file
17 * chooser dialog. 17 * chooser dialog.
18 */ 18 */
19 [assert_size(4)] 19 [assert_size(4)]
20 enum PP_FileChooserMode_Dev { 20 enum PP_FileChooserMode_Dev {
21 /** 21 /**
22 * Mode for choosing a single existing file. 22 * Mode for choosing a single existing file.
23 */ 23 */
24 PP_FILECHOOSERMODE_OPEN = 0, 24 PP_FILECHOOSERMODE_OPEN = 0,
25 /** 25 /**
26 * Mode for choosing multiple existing files. 26 * Mode for choosing multiple existing files.
27 */ 27 */
28 PP_FILECHOOSERMODE_OPENMULTIPLE 28 PP_FILECHOOSERMODE_OPENMULTIPLE = 1
29 }; 29 };
30 30
31 interface PPB_FileChooser_Dev { 31 interface PPB_FileChooser_Dev {
32 /** 32 /**
33 * This function creates a file chooser dialog resource. The chooser is 33 * This function creates a file chooser dialog resource. The chooser is
34 * associated with a particular instance, so that it may be positioned on the 34 * associated with a particular instance, so that it may be positioned on the
35 * screen relative to the tab containing the instance. 35 * screen relative to the tab containing the instance.
36 * 36 *
37 * @param[in] instance A <code>PP_Instance</code> identifying one instance 37 * @param[in] instance A <code>PP_Instance</code> identifying one instance
38 * of a module. 38 * of a module.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 * 93 *
94 * @param[in] chooser The file chooser resource. 94 * @param[in] chooser The file chooser resource.
95 * 95 *
96 * @return A <code>PP_Resource</code> containing the next file chosen by the 96 * @return A <code>PP_Resource</code> containing the next file chosen by the
97 * user, or 0 if there are no more files. 97 * user, or 0 if there are no more files.
98 */ 98 */
99 PP_Resource GetNextChosenFile( 99 PP_Resource GetNextChosenFile(
100 [in] PP_Resource chooser); 100 [in] PP_Resource chooser);
101 }; 101 };
102 102
OLDNEW
« no previous file with comments | « ppapi/api/dev/ppb_console_dev.idl ('k') | ppapi/c/dev/pp_video_capture_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698