Currently, bionic only build a subset of the examples. This changes turns on all...
[chromium-blink-merge.git] / mojo / examples / pepper_container_app / resource_creation_impl.cc
blob832602d96878535a6b63f5f7588352af3ed48ce1
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 NOTIMPLEMENTED();
187 return 0;
190 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) {
191 NOTIMPLEMENTED();
192 return 0;
195 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate(
196 PP_Instance instance) {
197 NOTIMPLEMENTED();
198 return 0;
201 PP_Resource ResourceCreationImpl::CreateImageData(
202 PP_Instance instance,
203 PP_ImageDataFormat format,
204 const PP_Size* size,
205 PP_Bool init_to_zero) {
206 NOTIMPLEMENTED();
207 return 0;
210 PP_Resource ResourceCreationImpl::CreateImageDataSimple(
211 PP_Instance instance,
212 PP_ImageDataFormat format,
213 const PP_Size* size,
214 PP_Bool init_to_zero) {
215 NOTIMPLEMENTED();
216 return 0;
219 PP_Resource ResourceCreationImpl::CreateMediaStreamVideoTrack(
220 PP_Instance instance) {
221 NOTIMPLEMENTED();
222 return 0;
225 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv4Address(
226 PP_Instance instance,
227 const PP_NetAddress_IPv4* ipv4_addr) {
228 NOTIMPLEMENTED();
229 return 0;
232 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv6Address(
233 PP_Instance instance,
234 const PP_NetAddress_IPv6* ipv6_addr) {
235 NOTIMPLEMENTED();
236 return 0;
239 PP_Resource ResourceCreationImpl::CreateNetAddressFromNetAddressPrivate(
240 PP_Instance instance,
241 const PP_NetAddress_Private& private_addr) {
242 NOTIMPLEMENTED();
243 return 0;
246 PP_Resource ResourceCreationImpl::CreateNetworkMonitor(
247 PP_Instance instance) {
248 NOTIMPLEMENTED();
249 return 0;
252 PP_Resource ResourceCreationImpl::CreateOutputProtectionPrivate(
253 PP_Instance instance) {
254 NOTIMPLEMENTED();
255 return 0;
258 PP_Resource ResourceCreationImpl::CreatePrinting(PP_Instance instance) {
259 NOTIMPLEMENTED();
260 return 0;
263 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate(
264 PP_Instance instance) {
265 NOTIMPLEMENTED();
266 return 0;
269 PP_Resource ResourceCreationImpl::CreateTCPSocket1_0(
270 PP_Instance instance) {
271 NOTIMPLEMENTED();
272 return 0;
275 PP_Resource ResourceCreationImpl::CreateTCPSocket(
276 PP_Instance instance) {
277 NOTIMPLEMENTED();
278 return 0;
281 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(
282 PP_Instance instance) {
283 NOTIMPLEMENTED();
284 return 0;
287 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) {
288 NOTIMPLEMENTED();
289 return 0;
292 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(
293 PP_Instance instance) {
294 NOTIMPLEMENTED();
295 return 0;
298 PP_Resource ResourceCreationImpl::CreateVideoDecoder(PP_Instance instance) {
299 NOTIMPLEMENTED();
300 return 0;
303 PP_Resource ResourceCreationImpl::CreateVideoDestination(
304 PP_Instance instance) {
305 NOTIMPLEMENTED();
306 return 0;
309 PP_Resource ResourceCreationImpl::CreateVideoSource(
310 PP_Instance instance) {
311 NOTIMPLEMENTED();
312 return 0;
315 PP_Resource ResourceCreationImpl::CreateWebSocket(PP_Instance instance) {
316 NOTIMPLEMENTED();
317 return 0;
320 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
321 PP_Instance instance) {
322 NOTIMPLEMENTED();
323 return 0;
326 #if !defined(OS_NACL)
327 PP_Resource ResourceCreationImpl::CreateAudioInput(
328 PP_Instance instance) {
329 NOTIMPLEMENTED();
330 return 0;
333 PP_Resource ResourceCreationImpl::CreateBroker(PP_Instance instance) {
334 NOTIMPLEMENTED();
335 return 0;
338 PP_Resource ResourceCreationImpl::CreateBrowserFont(
339 PP_Instance instance,
340 const PP_BrowserFont_Trusted_Description* description) {
341 NOTIMPLEMENTED();
342 return 0;
345 PP_Resource ResourceCreationImpl::CreateBuffer(PP_Instance instance,
346 uint32_t size) {
347 NOTIMPLEMENTED();
348 return 0;
351 PP_Resource ResourceCreationImpl::CreateFlashDRM(PP_Instance instance) {
352 NOTIMPLEMENTED();
353 return 0;
356 PP_Resource ResourceCreationImpl::CreateFlashFontFile(
357 PP_Instance instance,
358 const PP_BrowserFont_Trusted_Description* description,
359 PP_PrivateFontCharset charset) {
360 NOTIMPLEMENTED();
361 return 0;
364 PP_Resource ResourceCreationImpl::CreateFlashMenu(
365 PP_Instance instance,
366 const PP_Flash_Menu* menu_data) {
367 NOTIMPLEMENTED();
368 return 0;
371 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(
372 PP_Instance instance) {
373 NOTIMPLEMENTED();
374 return 0;
377 PP_Resource ResourceCreationImpl::CreatePlatformVerificationPrivate(
378 PP_Instance instance) {
379 NOTIMPLEMENTED();
380 return 0;
383 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance,
384 PP_Bool vertical) {
385 NOTIMPLEMENTED();
386 return 0;
389 PP_Resource ResourceCreationImpl::CreateTalk(PP_Instance instance) {
390 NOTIMPLEMENTED();
391 return 0;
394 PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) {
395 NOTIMPLEMENTED();
396 return 0;
399 PP_Resource ResourceCreationImpl::CreateVideoDecoderDev(
400 PP_Instance instance,
401 PP_Resource context3d_id,
402 PP_VideoDecoder_Profile profile) {
403 NOTIMPLEMENTED();
404 return 0;
406 #endif // !defined(OS_NACL)
408 } // namespace examples
409 } // namespace mojo