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

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

Issue 8571002: WebSocket Pepper API: in process API base implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test name was wrong Created 9 years, 1 month 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_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"
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_resource.h" 13 #include "ppapi/c/pp_resource.h"
14 #include "ppapi/c/ppb_audio.h" 14 #include "ppapi/c/ppb_audio.h"
15 #include "ppapi/c/ppb_audio_config.h" 15 #include "ppapi/c/ppb_audio_config.h"
16 #include "ppapi/c/ppb_file_system.h" 16 #include "ppapi/c/ppb_file_system.h"
17 #include "ppapi/c/ppb_graphics_3d.h" 17 #include "ppapi/c/ppb_graphics_3d.h"
18 #include "ppapi/c/ppb_image_data.h" 18 #include "ppapi/c/ppb_image_data.h"
19 #include "ppapi/c/ppb_input_event.h" 19 #include "ppapi/c/ppb_input_event.h"
20 #include "ppapi/c/dev/pp_video_dev.h" 20 #include "ppapi/c/dev/pp_video_dev.h"
21 #include "ppapi/c/dev/ppb_transport_dev.h" 21 #include "ppapi/c/dev/ppb_transport_dev.h"
22 #include "ppapi/c/dev/ppb_websocket_dev.h"
22 #include "ppapi/shared_impl/api_id.h" 23 #include "ppapi/shared_impl/api_id.h"
23 24
24 struct PP_Flash_Menu; 25 struct PP_Flash_Menu;
25 struct PP_FontDescription_Dev; 26 struct PP_FontDescription_Dev;
26 struct PP_Size; 27 struct PP_Size;
27 28
28 namespace ppapi { 29 namespace ppapi {
29 30
30 struct PPB_URLRequestInfo_Data; 31 struct PPB_URLRequestInfo_Data;
31 32
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual PP_Resource CreateURLRequestInfo( 125 virtual PP_Resource CreateURLRequestInfo(
125 PP_Instance instance, 126 PP_Instance instance,
126 const PPB_URLRequestInfo_Data& data) = 0; 127 const PPB_URLRequestInfo_Data& data) = 0;
127 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 128 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
128 virtual PP_Resource CreateVideoDecoder( 129 virtual PP_Resource CreateVideoDecoder(
129 PP_Instance instance, 130 PP_Instance instance,
130 PP_Resource context3d_id, 131 PP_Resource context3d_id,
131 PP_VideoDecoder_Profile profile) = 0; 132 PP_VideoDecoder_Profile profile) = 0;
132 virtual PP_Resource CreateVideoLayer(PP_Instance instance, 133 virtual PP_Resource CreateVideoLayer(PP_Instance instance,
133 PP_VideoLayerMode_Dev mode) = 0; 134 PP_VideoLayerMode_Dev mode) = 0;
135 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
134 virtual PP_Resource CreateWheelInputEvent( 136 virtual PP_Resource CreateWheelInputEvent(
135 PP_Instance instance, 137 PP_Instance instance,
136 PP_TimeTicks time_stamp, 138 PP_TimeTicks time_stamp,
137 uint32_t modifiers, 139 uint32_t modifiers,
138 const PP_FloatPoint* wheel_delta, 140 const PP_FloatPoint* wheel_delta,
139 const PP_FloatPoint* wheel_ticks, 141 const PP_FloatPoint* wheel_ticks,
140 PP_Bool scroll_by_page) = 0; 142 PP_Bool scroll_by_page) = 0;
141 143
142 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 144 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
143 }; 145 };
144 146
145 } // namespace thunk 147 } // namespace thunk
146 } // namespace ppapi 148 } // namespace ppapi
147 149
148 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 150 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698