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

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

Issue 7248047: Migrating PPB_FileIO_Dev, PPB_FileRef_Dev, and PPB_FileSystem_Dev dependencies to PPB_FileIO, PPB... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
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 #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_file_chooser_dev.h" 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
9 #include "ppapi/c/dev/ppb_file_system_dev.h"
10 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" 9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h"
11 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
12 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_resource.h" 13 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/ppb_audio.h" 14 #include "ppapi/c/ppb_audio.h"
16 #include "ppapi/c/ppb_audio_config.h" 15 #include "ppapi/c/ppb_audio_config.h"
16 #include "ppapi/c/ppb_file_system.h"
17 #include "ppapi/c/ppb_image_data.h" 17 #include "ppapi/c/ppb_image_data.h"
18 #include "ppapi/proxy/interface_id.h" 18 #include "ppapi/proxy/interface_id.h"
19 19
20 struct PP_Flash_Menu; 20 struct PP_Flash_Menu;
21 struct PP_FontDescription_Dev; 21 struct PP_FontDescription_Dev;
22 struct PP_Size; 22 struct PP_Size;
23 23
24 namespace ppapi { 24 namespace ppapi {
25 namespace thunk { 25 namespace thunk {
26 26
(...skipping 25 matching lines...) Expand all
52 PP_Resource share_context, 52 PP_Resource share_context,
53 const int32_t* attrib_list) = 0; 53 const int32_t* attrib_list) = 0;
54 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; 54 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0;
55 virtual PP_Resource CreateFileChooser( 55 virtual PP_Resource CreateFileChooser(
56 PP_Instance instance, 56 PP_Instance instance,
57 const PP_FileChooserOptions_Dev* options) = 0; 57 const PP_FileChooserOptions_Dev* options) = 0;
58 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; 58 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0;
59 virtual PP_Resource CreateFileRef(PP_Resource file_system, 59 virtual PP_Resource CreateFileRef(PP_Resource file_system,
60 const char* path) = 0; 60 const char* path) = 0;
61 virtual PP_Resource CreateFileSystem(PP_Instance instance, 61 virtual PP_Resource CreateFileSystem(PP_Instance instance,
62 PP_FileSystemType_Dev type) = 0; 62 PP_FileSystemType type) = 0;
63 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 63 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
64 const PP_Flash_Menu* menu_data) = 0; 64 const PP_Flash_Menu* menu_data) = 0;
65 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; 65 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0;
66 // Note: can't be called CreateFont due to Windows #defines. 66 // Note: can't be called CreateFont due to Windows #defines.
67 virtual PP_Resource CreateFontObject( 67 virtual PP_Resource CreateFontObject(
68 PP_Instance instance, 68 PP_Instance instance,
69 const PP_FontDescription_Dev* description) = 0; 69 const PP_FontDescription_Dev* description) = 0;
70 virtual PP_Resource CreateGraphics2D(PP_Instance instance, 70 virtual PP_Resource CreateGraphics2D(PP_Instance instance,
71 const PP_Size& size, 71 const PP_Size& size,
72 PP_Bool is_always_opaque) = 0; 72 PP_Bool is_always_opaque) = 0;
(...skipping 20 matching lines...) Expand all
93 PP_VideoLayerMode_Dev mode) = 0; 93 PP_VideoLayerMode_Dev mode) = 0;
94 94
95 static const ::pp::proxy::InterfaceID interface_id = 95 static const ::pp::proxy::InterfaceID interface_id =
96 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; 96 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION;
97 }; 97 };
98 98
99 } // namespace thunk 99 } // namespace thunk
100 } // namespace ppapi 100 } // namespace ppapi
101 101
102 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 102 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698