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

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

Issue 9111008: Introduce PPB_ResourceArray_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 11 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_resource_array_thunk.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('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) 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"
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 struct PP_Var character_text) = 0; 96 struct PP_Var character_text) = 0;
97 virtual PP_Resource CreateMouseInputEvent( 97 virtual PP_Resource CreateMouseInputEvent(
98 PP_Instance instance, 98 PP_Instance instance,
99 PP_InputEvent_Type type, 99 PP_InputEvent_Type type,
100 PP_TimeTicks time_stamp, 100 PP_TimeTicks time_stamp,
101 uint32_t modifiers, 101 uint32_t modifiers,
102 PP_InputEvent_MouseButton mouse_button, 102 PP_InputEvent_MouseButton mouse_button,
103 const PP_Point* mouse_position, 103 const PP_Point* mouse_position,
104 int32_t click_count, 104 int32_t click_count,
105 const PP_Point* mouse_movement) = 0; 105 const PP_Point* mouse_movement) = 0;
106 virtual PP_Resource CreateResourceArray(PP_Instance instance,
107 const PP_Resource elements[],
108 uint32_t size) = 0;
106 virtual PP_Resource CreateScrollbar(PP_Instance instance, 109 virtual PP_Resource CreateScrollbar(PP_Instance instance,
107 PP_Bool vertical) = 0; 110 PP_Bool vertical) = 0;
108 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; 111 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0;
109 virtual PP_Resource CreateTransport(PP_Instance instance, 112 virtual PP_Resource CreateTransport(PP_Instance instance,
110 const char* name, 113 const char* name,
111 PP_TransportType type) = 0; 114 PP_TransportType type) = 0;
112 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; 115 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0;
113 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; 116 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0;
114 virtual PP_Resource CreateURLRequestInfo( 117 virtual PP_Resource CreateURLRequestInfo(
115 PP_Instance instance, 118 PP_Instance instance,
(...skipping 14 matching lines...) Expand all
130 const PP_FloatPoint* wheel_ticks, 133 const PP_FloatPoint* wheel_ticks,
131 PP_Bool scroll_by_page) = 0; 134 PP_Bool scroll_by_page) = 0;
132 135
133 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 136 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
134 }; 137 };
135 138
136 } // namespace thunk 139 } // namespace thunk
137 } // namespace ppapi 140 } // namespace ppapi
138 141
139 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 142 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_resource_array_thunk.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698