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

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

Issue 10944005: Pepper WebSocket API: Implement new design Chrome IPC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 8 years, 2 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_websocket_api.h ('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) 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/pp_bool.h" 10 #include "ppapi/c/pp_bool.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 PP_Resource share_context, 116 PP_Resource share_context,
117 const int32_t* attrib_list) = 0; 117 const int32_t* attrib_list) = 0;
118 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; 118 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0;
119 virtual PP_Resource CreateNetworkMonitor( 119 virtual PP_Resource CreateNetworkMonitor(
120 PP_Instance instance, 120 PP_Instance instance,
121 PPB_NetworkMonitor_Callback callback, 121 PPB_NetworkMonitor_Callback callback,
122 void* user_data) = 0; 122 void* user_data) = 0;
123 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; 123 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0;
124 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 124 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
125 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; 125 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0;
126 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
126 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 127 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
127 #if !defined(OS_NACL) 128 #if !defined(OS_NACL)
128 virtual PP_Resource CreateAudioInput0_1( 129 virtual PP_Resource CreateAudioInput0_1(
129 PP_Instance instance, 130 PP_Instance instance,
130 PP_Resource config_id, 131 PP_Resource config_id,
131 PPB_AudioInput_Callback audio_input_callback, 132 PPB_AudioInput_Callback audio_input_callback,
132 void* user_data) = 0; 133 void* user_data) = 0;
133 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; 134 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0;
134 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; 135 virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
135 virtual PP_Resource CreateBrowserFont( 136 virtual PP_Resource CreateBrowserFont(
(...skipping 11 matching lines...) Expand all
147 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; 148 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0;
148 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; 149 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0;
149 virtual PP_Resource CreateScrollbar(PP_Instance instance, 150 virtual PP_Resource CreateScrollbar(PP_Instance instance,
150 PP_Bool vertical) = 0; 151 PP_Bool vertical) = 0;
151 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; 152 virtual PP_Resource CreateTalk(PP_Instance instance) = 0;
152 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 153 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
153 virtual PP_Resource CreateVideoDecoder( 154 virtual PP_Resource CreateVideoDecoder(
154 PP_Instance instance, 155 PP_Instance instance,
155 PP_Resource context3d_id, 156 PP_Resource context3d_id,
156 PP_VideoDecoder_Profile profile) = 0; 157 PP_VideoDecoder_Profile profile) = 0;
157 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
158 #endif // !defined(OS_NACL) 158 #endif // !defined(OS_NACL)
159 159
160 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 160 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
161 }; 161 };
162 162
163 } // namespace thunk 163 } // namespace thunk
164 } // namespace ppapi 164 } // namespace ppapi
165 165
166 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 166 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_websocket_api.h ('k') | ppapi/thunk/thunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698