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

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 10535062: Add an asynchronous version of the Flash DeviceID API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/thunk/ppb_flash_device_id_thunk.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_THUNK_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; 108 virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
109 virtual PP_Resource CreateBrowserFont( 109 virtual PP_Resource CreateBrowserFont(
110 PP_Instance instance, 110 PP_Instance instance,
111 const PP_BrowserFont_Trusted_Description* description) = 0; 111 const PP_BrowserFont_Trusted_Description* description) = 0;
112 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; 112 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0;
113 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; 113 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0;
114 virtual PP_Resource CreateFileChooser( 114 virtual PP_Resource CreateFileChooser(
115 PP_Instance instance, 115 PP_Instance instance,
116 PP_FileChooserMode_Dev mode, 116 PP_FileChooserMode_Dev mode,
117 const char* accept_types) = 0; 117 const char* accept_types) = 0;
118 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0;
118 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 119 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
119 const PP_Flash_Menu* menu_data) = 0; 120 const PP_Flash_Menu* menu_data) = 0;
120 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; 121 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0;
121 virtual PP_Resource CreateGraphics2D(PP_Instance instance, 122 virtual PP_Resource CreateGraphics2D(PP_Instance instance,
122 const PP_Size& size, 123 const PP_Size& size,
123 PP_Bool is_always_opaque) = 0; 124 PP_Bool is_always_opaque) = 0;
124 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 125 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
125 PP_Resource share_context, 126 PP_Resource share_context,
126 const int32_t* attrib_list) = 0; 127 const int32_t* attrib_list) = 0;
127 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, 128 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
(...skipping 21 matching lines...) Expand all
149 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 150 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
150 #endif // !defined(OS_NACL) 151 #endif // !defined(OS_NACL)
151 152
152 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 153 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
153 }; 154 };
154 155
155 } // namespace thunk 156 } // namespace thunk
156 } // namespace ppapi 157 } // namespace ppapi
157 158
158 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 159 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_flash_device_id_thunk.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698