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

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

Issue 9283022: Exposed Listen and Accept methods to plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added documentation for PPB_TCPServerSocket_Private methods, Create method became async. Created 8 years, 10 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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 uint32_t modifiers, 102 uint32_t modifiers,
103 PP_InputEvent_MouseButton mouse_button, 103 PP_InputEvent_MouseButton mouse_button,
104 const PP_Point* mouse_position, 104 const PP_Point* mouse_position,
105 int32_t click_count, 105 int32_t click_count,
106 const PP_Point* mouse_movement) = 0; 106 const PP_Point* mouse_movement) = 0;
107 virtual PP_Resource CreateResourceArray(PP_Instance instance, 107 virtual PP_Resource CreateResourceArray(PP_Instance instance,
108 const PP_Resource elements[], 108 const PP_Resource elements[],
109 uint32_t size) = 0; 109 uint32_t size) = 0;
110 virtual PP_Resource CreateScrollbar(PP_Instance instance, 110 virtual PP_Resource CreateScrollbar(PP_Instance instance,
111 PP_Bool vertical) = 0; 111 PP_Bool vertical) = 0;
112 virtual int32_t CreateTCPServerSocketPrivate(
113 PP_Instance instance,
114 PP_Resource* tcp_server_socket,
115 PP_CompletionCallback callback) = 0;
112 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 116 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
113 virtual PP_Resource CreateTransport(PP_Instance instance, 117 virtual PP_Resource CreateTransport(PP_Instance instance,
114 const char* name, 118 const char* name,
115 PP_TransportType type) = 0; 119 PP_TransportType type) = 0;
116 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; 120 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0;
117 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; 121 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0;
118 virtual PP_Resource CreateURLRequestInfo( 122 virtual PP_Resource CreateURLRequestInfo(
119 PP_Instance instance, 123 PP_Instance instance,
120 const PPB_URLRequestInfo_Data& data) = 0; 124 const PPB_URLRequestInfo_Data& data) = 0;
121 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 125 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
(...skipping 12 matching lines...) Expand all
134 const PP_FloatPoint* wheel_ticks, 138 const PP_FloatPoint* wheel_ticks,
135 PP_Bool scroll_by_page) = 0; 139 PP_Bool scroll_by_page) = 0;
136 140
137 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 141 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
138 }; 142 };
139 143
140 } // namespace thunk 144 } // namespace thunk
141 } // namespace ppapi 145 } // namespace ppapi
142 146
143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 147 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698