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

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

Issue 8676042: Remove Context3D/Surface3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 9 years 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_video_decoder_thunk.cc ('k') | ppapi/thunk/thunk.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 #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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 PP_AudioSampleRate sample_rate, 50 PP_AudioSampleRate sample_rate,
51 uint32_t sample_frame_count) = 0; 51 uint32_t sample_frame_count) = 0;
52 virtual PP_Resource CreateAudioInput( 52 virtual PP_Resource CreateAudioInput(
53 PP_Instance instance, 53 PP_Instance instance,
54 PP_Resource config_id, 54 PP_Resource config_id,
55 PPB_AudioInput_Callback audio_input_callback, 55 PPB_AudioInput_Callback audio_input_callback,
56 void* user_data) = 0; 56 void* user_data) = 0;
57 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) = 0; 57 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) = 0;
58 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; 58 virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
59 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; 59 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0;
60 virtual PP_Resource CreateContext3D(PP_Instance instance,
61 PP_Config3D_Dev config,
62 PP_Resource share_context,
63 const int32_t* attrib_list) = 0;
64 virtual PP_Resource CreateContext3DRaw(PP_Instance instance,
65 PP_Config3D_Dev config,
66 PP_Resource share_context,
67 const int32_t* attrib_list) = 0;
68 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0; 60 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0;
69 virtual PP_Resource CreateFileChooser( 61 virtual PP_Resource CreateFileChooser(
70 PP_Instance instance, 62 PP_Instance instance,
71 PP_FileChooserMode_Dev mode, 63 PP_FileChooserMode_Dev mode,
72 const char* accept_mime_types) = 0; 64 const char* accept_mime_types) = 0;
73 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; 65 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0;
74 virtual PP_Resource CreateFileRef(PP_Resource file_system, 66 virtual PP_Resource CreateFileRef(PP_Resource file_system,
75 const char* path) = 0; 67 const char* path) = 0;
76 virtual PP_Resource CreateFileSystem(PP_Instance instance, 68 virtual PP_Resource CreateFileSystem(PP_Instance instance,
77 PP_FileSystemType type) = 0; 69 PP_FileSystemType type) = 0;
(...skipping 28 matching lines...) Expand all
106 PP_Instance instance, 98 PP_Instance instance,
107 PP_InputEvent_Type type, 99 PP_InputEvent_Type type,
108 PP_TimeTicks time_stamp, 100 PP_TimeTicks time_stamp,
109 uint32_t modifiers, 101 uint32_t modifiers,
110 PP_InputEvent_MouseButton mouse_button, 102 PP_InputEvent_MouseButton mouse_button,
111 const PP_Point* mouse_position, 103 const PP_Point* mouse_position,
112 int32_t click_count, 104 int32_t click_count,
113 const PP_Point* mouse_movement) = 0; 105 const PP_Point* mouse_movement) = 0;
114 virtual PP_Resource CreateScrollbar(PP_Instance instance, 106 virtual PP_Resource CreateScrollbar(PP_Instance instance,
115 PP_Bool vertical) = 0; 107 PP_Bool vertical) = 0;
116 virtual PP_Resource CreateSurface3D(PP_Instance instance,
117 PP_Config3D_Dev config,
118 const int32_t* attrib_list) = 0;
119 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 108 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
120 virtual PP_Resource CreateTransport(PP_Instance instance, 109 virtual PP_Resource CreateTransport(PP_Instance instance,
121 const char* name, 110 const char* name,
122 PP_TransportType type) = 0; 111 PP_TransportType type) = 0;
123 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; 112 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0;
124 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; 113 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0;
125 virtual PP_Resource CreateURLRequestInfo( 114 virtual PP_Resource CreateURLRequestInfo(
126 PP_Instance instance, 115 PP_Instance instance,
127 const PPB_URLRequestInfo_Data& data) = 0; 116 const PPB_URLRequestInfo_Data& data) = 0;
128 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 117 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
(...skipping 12 matching lines...) Expand all
141 const PP_FloatPoint* wheel_ticks, 130 const PP_FloatPoint* wheel_ticks,
142 PP_Bool scroll_by_page) = 0; 131 PP_Bool scroll_by_page) = 0;
143 132
144 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 133 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
145 }; 134 };
146 135
147 } // namespace thunk 136 } // namespace thunk
148 } // namespace ppapi 137 } // namespace ppapi
149 138
150 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 139 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_video_decoder_thunk.cc ('k') | ppapi/thunk/thunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698