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

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: remove unreleased WebKit feature depends 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_file_chooser_dev.h" 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
9 #include "ppapi/c/dev/ppb_video_layer_dev.h" 9 #include "ppapi/c/dev/ppb_video_layer_dev.h"
10 #include "ppapi/c/pp_bool.h" 10 #include "ppapi/c/pp_bool.h"
11 #include "ppapi/c/pp_instance.h" 11 #include "ppapi/c/pp_instance.h"
12 #include "ppapi/c/pp_resource.h" 12 #include "ppapi/c/pp_resource.h"
13 #include "ppapi/c/ppb_audio.h" 13 #include "ppapi/c/ppb_audio.h"
14 #include "ppapi/c/ppb_audio_config.h" 14 #include "ppapi/c/ppb_audio_config.h"
15 #include "ppapi/c/ppb_file_system.h" 15 #include "ppapi/c/ppb_file_system.h"
16 #include "ppapi/c/ppb_graphics_3d.h" 16 #include "ppapi/c/ppb_graphics_3d.h"
17 #include "ppapi/c/ppb_image_data.h" 17 #include "ppapi/c/ppb_image_data.h"
18 #include "ppapi/c/ppb_input_event.h" 18 #include "ppapi/c/ppb_input_event.h"
19 #include "ppapi/c/dev/pp_video_dev.h" 19 #include "ppapi/c/dev/pp_video_dev.h"
20 #include "ppapi/c/dev/ppb_transport_dev.h" 20 #include "ppapi/c/dev/ppb_transport_dev.h"
21 #include "ppapi/c/dev/ppb_websocket_dev.h"
21 #include "ppapi/shared_impl/api_id.h" 22 #include "ppapi/shared_impl/api_id.h"
22 23
23 struct PP_Flash_Menu; 24 struct PP_Flash_Menu;
24 struct PP_FontDescription_Dev; 25 struct PP_FontDescription_Dev;
25 struct PP_Size; 26 struct PP_Size;
26 27
27 namespace ppapi { 28 namespace ppapi {
28 29
29 struct PPB_URLRequestInfo_Data; 30 struct PPB_URLRequestInfo_Data;
30 31
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual PP_Resource CreateURLRequestInfo( 118 virtual PP_Resource CreateURLRequestInfo(
118 PP_Instance instance, 119 PP_Instance instance,
119 const PPB_URLRequestInfo_Data& data) = 0; 120 const PPB_URLRequestInfo_Data& data) = 0;
120 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 121 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
121 virtual PP_Resource CreateVideoDecoder( 122 virtual PP_Resource CreateVideoDecoder(
122 PP_Instance instance, 123 PP_Instance instance,
123 PP_Resource context3d_id, 124 PP_Resource context3d_id,
124 PP_VideoDecoder_Profile profile) = 0; 125 PP_VideoDecoder_Profile profile) = 0;
125 virtual PP_Resource CreateVideoLayer(PP_Instance instance, 126 virtual PP_Resource CreateVideoLayer(PP_Instance instance,
126 PP_VideoLayerMode_Dev mode) = 0; 127 PP_VideoLayerMode_Dev mode) = 0;
128 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0;
127 virtual PP_Resource CreateWheelInputEvent( 129 virtual PP_Resource CreateWheelInputEvent(
128 PP_Instance instance, 130 PP_Instance instance,
129 PP_TimeTicks time_stamp, 131 PP_TimeTicks time_stamp,
130 uint32_t modifiers, 132 uint32_t modifiers,
131 const PP_FloatPoint* wheel_delta, 133 const PP_FloatPoint* wheel_delta,
132 const PP_FloatPoint* wheel_ticks, 134 const PP_FloatPoint* wheel_ticks,
133 PP_Bool scroll_by_page) = 0; 135 PP_Bool scroll_by_page) = 0;
134 136
135 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 137 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
136 }; 138 };
137 139
138 } // namespace thunk 140 } // namespace thunk
139 } // namespace ppapi 141 } // namespace ppapi
140 142
141 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698