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

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

Issue 7398033: Revert 92885 - Completed the implementation for PPB_Graphics3D interface. (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_graphics_3d_dev.h" 9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual PP_Resource CreateFontObject( 68 virtual PP_Resource CreateFontObject(
69 PP_Instance instance, 69 PP_Instance instance,
70 const PP_FontDescription_Dev* description) = 0; 70 const PP_FontDescription_Dev* description) = 0;
71 virtual PP_Resource CreateGraphics2D(PP_Instance instance, 71 virtual PP_Resource CreateGraphics2D(PP_Instance instance,
72 const PP_Size& size, 72 const PP_Size& size,
73 PP_Bool is_always_opaque) = 0; 73 PP_Bool is_always_opaque) = 0;
74 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 74 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
75 PP_Config3D_Dev config, 75 PP_Config3D_Dev config,
76 PP_Resource share_context, 76 PP_Resource share_context,
77 const int32_t* attrib_list) = 0; 77 const int32_t* attrib_list) = 0;
78 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance,
79 PP_Config3D_Dev config,
80 PP_Resource share_context,
81 const int32_t* attrib_list) = 0;
82 virtual PP_Resource CreateImageData(PP_Instance instance, 78 virtual PP_Resource CreateImageData(PP_Instance instance,
83 PP_ImageDataFormat format, 79 PP_ImageDataFormat format,
84 const PP_Size& size, 80 const PP_Size& size,
85 PP_Bool init_to_zero) = 0; 81 PP_Bool init_to_zero) = 0;
86 virtual PP_Resource CreateScrollbar(PP_Instance instance, 82 virtual PP_Resource CreateScrollbar(PP_Instance instance,
87 PP_Bool vertical) = 0; 83 PP_Bool vertical) = 0;
88 virtual PP_Resource CreateSurface3D(PP_Instance instance, 84 virtual PP_Resource CreateSurface3D(PP_Instance instance,
89 PP_Config3D_Dev config, 85 PP_Config3D_Dev config,
90 const int32_t* attrib_list) = 0; 86 const int32_t* attrib_list) = 0;
91 virtual PP_Resource CreateTransport(PP_Instance instance, 87 virtual PP_Resource CreateTransport(PP_Instance instance,
92 const char* name, 88 const char* name,
93 const char* proto) = 0; 89 const char* proto) = 0;
94 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; 90 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0;
95 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0; 91 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0;
96 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; 92 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0;
97 virtual PP_Resource CreateVideoLayer(PP_Instance instance, 93 virtual PP_Resource CreateVideoLayer(PP_Instance instance,
98 PP_VideoLayerMode_Dev mode) = 0; 94 PP_VideoLayerMode_Dev mode) = 0;
99 95
100 static const ::pp::proxy::InterfaceID interface_id = 96 static const ::pp::proxy::InterfaceID interface_id =
101 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; 97 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION;
102 }; 98 };
103 99
104 } // namespace thunk 100 } // namespace thunk
105 } // namespace ppapi 101 } // namespace ppapi
106 102
107 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 103 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_graphics_3d_trusted_thunk.cc ('k') | webkit/plugins/ppapi/ppb_graphics_3d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698