Introduce new SPDY Version UMA histogram.
[chromium-blink-merge.git] / mojo / examples / pepper_container_app / resource_creation_impl.cc
blob96cf7704b7de21330eefd0e600655ac648c6b7f0
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "mojo/examples/pepper_container_app/resource_creation_impl.h"
7 #include "base/logging.h"
8 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h"
10 namespace mojo {
11 namespace examples {
13 ResourceCreationImpl::ResourceCreationImpl() {}
15 ResourceCreationImpl::~ResourceCreationImpl() {}
17 PP_Resource ResourceCreationImpl::CreateFileIO(PP_Instance instance) {
18 NOTIMPLEMENTED();
19 return 0;
22 PP_Resource ResourceCreationImpl::CreateFileRef(
23 PP_Instance instance,
24 const ppapi::FileRefCreateInfo& create_info) {
25 NOTIMPLEMENTED();
26 return 0;
29 PP_Resource ResourceCreationImpl::CreateFileSystem(
30 PP_Instance instance,
31 PP_FileSystemType type) {
32 NOTIMPLEMENTED();
33 return 0;
36 PP_Resource ResourceCreationImpl::CreateIMEInputEvent(
37 PP_Instance instance,
38 PP_InputEvent_Type type,
39 PP_TimeTicks time_stamp,
40 struct PP_Var text,
41 uint32_t segment_number,
42 const uint32_t* segment_offsets,
43 int32_t target_segment,
44 uint32_t selection_start,
45 uint32_t selection_end) {
46 NOTIMPLEMENTED();
47 return 0;
50 PP_Resource ResourceCreationImpl::CreateKeyboardInputEvent_1_0(
51 PP_Instance instance,
52 PP_InputEvent_Type type,
53 PP_TimeTicks time_stamp,
54 uint32_t modifiers,
55 uint32_t key_code,
56 struct PP_Var character_text) {
57 NOTIMPLEMENTED();
58 return 0;
61 PP_Resource ResourceCreationImpl::CreateKeyboardInputEvent_1_2(
62 PP_Instance instance,
63 PP_InputEvent_Type type,
64 PP_TimeTicks time_stamp,
65 uint32_t modifiers,
66 uint32_t key_code,
67 struct PP_Var character_text,
68 struct PP_Var code) {
69 NOTIMPLEMENTED();
70 return 0;
73 PP_Resource ResourceCreationImpl::CreateMouseInputEvent(
74 PP_Instance instance,
75 PP_InputEvent_Type type,
76 PP_TimeTicks time_stamp,
77 uint32_t modifiers,
78 PP_InputEvent_MouseButton mouse_button,
79 const PP_Point* mouse_position,
80 int32_t click_count,
81 const PP_Point* mouse_movement) {
82 NOTIMPLEMENTED();
83 return 0;
86 PP_Resource ResourceCreationImpl::CreateTouchInputEvent(
87 PP_Instance instance,
88 PP_InputEvent_Type type,
89 PP_TimeTicks time_stamp,
90 uint32_t modifiers) {
91 NOTIMPLEMENTED();
92 return 0;
95 PP_Resource ResourceCreationImpl::CreateTrueTypeFont(
96 PP_Instance instance,
97 const PP_TrueTypeFontDesc_Dev* desc) {
98 NOTIMPLEMENTED();
99 return 0;
102 PP_Resource ResourceCreationImpl::CreateURLLoader(PP_Instance instance) {
103 NOTIMPLEMENTED();
104 return 0;
107 PP_Resource ResourceCreationImpl::CreateURLRequestInfo(
108 PP_Instance instance) {
109 NOTIMPLEMENTED();
110 return 0;
113 PP_Resource ResourceCreationImpl::CreateWheelInputEvent(
114 PP_Instance instance,
115 PP_TimeTicks time_stamp,
116 uint32_t modifiers,
117 const PP_FloatPoint* wheel_delta,
118 const PP_FloatPoint* wheel_ticks,
119 PP_Bool scroll_by_page) {
120 NOTIMPLEMENTED();
121 return 0;
124 PP_Resource ResourceCreationImpl::CreateAudio1_0(
125 PP_Instance instance,
126 PP_Resource config_id,
127 PPB_Audio_Callback_1_0 audio_callback,
128 void* user_data) {
129 NOTIMPLEMENTED();
130 return 0;
133 PP_Resource ResourceCreationImpl::CreateAudio(
134 PP_Instance instance,
135 PP_Resource config_id,
136 PPB_Audio_Callback audio_callback,
137 void* user_data) {
138 NOTIMPLEMENTED();
139 return 0;
142 PP_Resource ResourceCreationImpl::CreateAudioTrusted(PP_Instance instance) {
143 NOTIMPLEMENTED();
144 return 0;
147 PP_Resource ResourceCreationImpl::CreateAudioConfig(
148 PP_Instance instance,
149 PP_AudioSampleRate sample_rate,
150 uint32_t sample_frame_count) {
151 NOTIMPLEMENTED();
152 return 0;
155 PP_Resource ResourceCreationImpl::CreateCompositor(PP_Instance instance) {
156 NOTIMPLEMENTED();
157 return 0;
160 PP_Resource ResourceCreationImpl::CreateFileChooser(
161 PP_Instance instance,
162 PP_FileChooserMode_Dev mode,
163 const PP_Var& accept_types) {
164 NOTIMPLEMENTED();
165 return 0;
168 PP_Resource ResourceCreationImpl::CreateGraphics2D(PP_Instance instance,
169 const PP_Size* size,
170 PP_Bool is_always_opaque) {
171 NOTIMPLEMENTED();
172 return 0;
175 PP_Resource ResourceCreationImpl::CreateGraphics3D(
176 PP_Instance instance,
177 PP_Resource share_context,
178 const int32_t* attrib_list) {
179 return (new Graphics3DResource(instance))->GetReference();
182 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw(
183 PP_Instance instance,
184 PP_Resource share_context,
185 const int32_t* attrib_list,
186 base::SharedMemoryHandle* shared_state) {
187 NOTIMPLEMENTED();
188 return 0;
191 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) {
192 NOTIMPLEMENTED();
193 return 0;
196 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate(
197 PP_Instance instance) {
198 NOTIMPLEMENTED();
199 return 0;
202 PP_Resource ResourceCreationImpl::CreateImageData(
203 PP_Instance instance,
204 PP_ImageDataFormat format,
205 const PP_Size* size,
206 PP_Bool init_to_zero) {
207 NOTIMPLEMENTED();
208 return 0;
211 PP_Resource ResourceCreationImpl::CreateImageDataSimple(
212 PP_Instance instance,
213 PP_ImageDataFormat format,
214 const PP_Size* size,
215 PP_Bool init_to_zero) {
216 NOTIMPLEMENTED();
217 return 0;
220 PP_Resource ResourceCreationImpl::CreateMediaStreamVideoTrack(
221 PP_Instance instance) {
222 NOTIMPLEMENTED();
223 return 0;
226 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv4Address(
227 PP_Instance instance,
228 const PP_NetAddress_IPv4* ipv4_addr) {
229 NOTIMPLEMENTED();
230 return 0;
233 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv6Address(
234 PP_Instance instance,
235 const PP_NetAddress_IPv6* ipv6_addr) {
236 NOTIMPLEMENTED();
237 return 0;
240 PP_Resource ResourceCreationImpl::CreateNetAddressFromNetAddressPrivate(
241 PP_Instance instance,
242 const PP_NetAddress_Private& private_addr) {
243 NOTIMPLEMENTED();
244 return 0;
247 PP_Resource ResourceCreationImpl::CreateNetworkMonitor(
248 PP_Instance instance) {
249 NOTIMPLEMENTED();
250 return 0;
253 PP_Resource ResourceCreationImpl::CreateOutputProtectionPrivate(
254 PP_Instance instance) {
255 NOTIMPLEMENTED();
256 return 0;
259 PP_Resource ResourceCreationImpl::CreatePrinting(PP_Instance instance) {
260 NOTIMPLEMENTED();
261 return 0;
264 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate(
265 PP_Instance instance) {
266 NOTIMPLEMENTED();
267 return 0;
270 PP_Resource ResourceCreationImpl::CreateTCPSocket1_0(
271 PP_Instance instance) {
272 NOTIMPLEMENTED();
273 return 0;
276 PP_Resource ResourceCreationImpl::CreateTCPSocket(
277 PP_Instance instance) {
278 NOTIMPLEMENTED();
279 return 0;
282 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(
283 PP_Instance instance) {
284 NOTIMPLEMENTED();
285 return 0;
288 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) {
289 NOTIMPLEMENTED();
290 return 0;
293 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(
294 PP_Instance instance) {
295 NOTIMPLEMENTED();
296 return 0;
299 PP_Resource ResourceCreationImpl::CreateVideoDecoder(PP_Instance instance) {
300 NOTIMPLEMENTED();
301 return 0;
304 PP_Resource ResourceCreationImpl::CreateVideoDestination(
305 PP_Instance instance) {
306 NOTIMPLEMENTED();
307 return 0;
310 PP_Resource ResourceCreationImpl::CreateVideoSource(
311 PP_Instance instance) {
312 NOTIMPLEMENTED();
313 return 0;
316 PP_Resource ResourceCreationImpl::CreateWebSocket(PP_Instance instance) {
317 NOTIMPLEMENTED();
318 return 0;
321 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
322 PP_Instance instance) {
323 NOTIMPLEMENTED();
324 return 0;
327 #if !defined(OS_NACL)
328 PP_Resource ResourceCreationImpl::CreateAudioInput(
329 PP_Instance instance) {
330 NOTIMPLEMENTED();
331 return 0;
334 PP_Resource ResourceCreationImpl::CreateBroker(PP_Instance instance) {
335 NOTIMPLEMENTED();
336 return 0;
339 PP_Resource ResourceCreationImpl::CreateBrowserFont(
340 PP_Instance instance,
341 const PP_BrowserFont_Trusted_Description* description) {
342 NOTIMPLEMENTED();
343 return 0;
346 PP_Resource ResourceCreationImpl::CreateBuffer(PP_Instance instance,
347 uint32_t size) {
348 NOTIMPLEMENTED();
349 return 0;
352 PP_Resource ResourceCreationImpl::CreateFlashDRM(PP_Instance instance) {
353 NOTIMPLEMENTED();
354 return 0;
357 PP_Resource ResourceCreationImpl::CreateFlashFontFile(
358 PP_Instance instance,
359 const PP_BrowserFont_Trusted_Description* description,
360 PP_PrivateFontCharset charset) {
361 NOTIMPLEMENTED();
362 return 0;
365 PP_Resource ResourceCreationImpl::CreateFlashMenu(
366 PP_Instance instance,
367 const PP_Flash_Menu* menu_data) {
368 NOTIMPLEMENTED();
369 return 0;
372 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(
373 PP_Instance instance) {
374 NOTIMPLEMENTED();
375 return 0;
378 PP_Resource ResourceCreationImpl::CreatePlatformVerificationPrivate(
379 PP_Instance instance) {
380 NOTIMPLEMENTED();
381 return 0;
384 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance,
385 PP_Bool vertical) {
386 NOTIMPLEMENTED();
387 return 0;
390 PP_Resource ResourceCreationImpl::CreateTalk(PP_Instance instance) {
391 NOTIMPLEMENTED();
392 return 0;
395 PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) {
396 NOTIMPLEMENTED();
397 return 0;
400 PP_Resource ResourceCreationImpl::CreateVideoDecoderDev(
401 PP_Instance instance,
402 PP_Resource context3d_id,
403 PP_VideoDecoder_Profile profile) {
404 NOTIMPLEMENTED();
405 return 0;
407 #endif // !defined(OS_NACL)
409 } // namespace examples
410 } // namespace mojo