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

Side by Side Diff: mojo/examples/pepper_container_app/resource_creation_impl.cc

Issue 681203002: Remove mojo/examples/pepper_container_app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
(Empty)
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.
4
5 #include "mojo/examples/pepper_container_app/resource_creation_impl.h"
6
7 #include "base/logging.h"
8 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h"
9
10 namespace mojo {
11 namespace examples {
12
13 ResourceCreationImpl::ResourceCreationImpl() {}
14
15 ResourceCreationImpl::~ResourceCreationImpl() {}
16
17 PP_Resource ResourceCreationImpl::CreateFileIO(PP_Instance instance) {
18 NOTIMPLEMENTED();
19 return 0;
20 }
21
22 PP_Resource ResourceCreationImpl::CreateFileRef(
23 PP_Instance instance,
24 const ppapi::FileRefCreateInfo& create_info) {
25 NOTIMPLEMENTED();
26 return 0;
27 }
28
29 PP_Resource ResourceCreationImpl::CreateFileSystem(
30 PP_Instance instance,
31 PP_FileSystemType type) {
32 NOTIMPLEMENTED();
33 return 0;
34 }
35
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;
48 }
49
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;
59 }
60
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;
71 }
72
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;
84 }
85
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;
93 }
94
95 PP_Resource ResourceCreationImpl::CreateTrueTypeFont(
96 PP_Instance instance,
97 const PP_TrueTypeFontDesc_Dev* desc) {
98 NOTIMPLEMENTED();
99 return 0;
100 }
101
102 PP_Resource ResourceCreationImpl::CreateURLLoader(PP_Instance instance) {
103 NOTIMPLEMENTED();
104 return 0;
105 }
106
107 PP_Resource ResourceCreationImpl::CreateURLRequestInfo(
108 PP_Instance instance) {
109 NOTIMPLEMENTED();
110 return 0;
111 }
112
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;
122 }
123
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;
131 }
132
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;
140 }
141
142 PP_Resource ResourceCreationImpl::CreateAudioTrusted(PP_Instance instance) {
143 NOTIMPLEMENTED();
144 return 0;
145 }
146
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;
153 }
154
155 PP_Resource ResourceCreationImpl::CreateCompositor(PP_Instance instance) {
156 NOTIMPLEMENTED();
157 return 0;
158 }
159
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;
166 }
167
168 PP_Resource ResourceCreationImpl::CreateGraphics2D(PP_Instance instance,
169 const PP_Size* size,
170 PP_Bool is_always_opaque) {
171 NOTIMPLEMENTED();
172 return 0;
173 }
174
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();
180 }
181
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;
189 }
190
191 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) {
192 NOTIMPLEMENTED();
193 return 0;
194 }
195
196 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate(
197 PP_Instance instance) {
198 NOTIMPLEMENTED();
199 return 0;
200 }
201
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;
209 }
210
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;
218 }
219
220 PP_Resource ResourceCreationImpl::CreateMediaStreamVideoTrack(
221 PP_Instance instance) {
222 NOTIMPLEMENTED();
223 return 0;
224 }
225
226 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv4Address(
227 PP_Instance instance,
228 const PP_NetAddress_IPv4* ipv4_addr) {
229 NOTIMPLEMENTED();
230 return 0;
231 }
232
233 PP_Resource ResourceCreationImpl::CreateNetAddressFromIPv6Address(
234 PP_Instance instance,
235 const PP_NetAddress_IPv6* ipv6_addr) {
236 NOTIMPLEMENTED();
237 return 0;
238 }
239
240 PP_Resource ResourceCreationImpl::CreateNetAddressFromNetAddressPrivate(
241 PP_Instance instance,
242 const PP_NetAddress_Private& private_addr) {
243 NOTIMPLEMENTED();
244 return 0;
245 }
246
247 PP_Resource ResourceCreationImpl::CreateNetworkMonitor(
248 PP_Instance instance) {
249 NOTIMPLEMENTED();
250 return 0;
251 }
252
253 PP_Resource ResourceCreationImpl::CreateOutputProtectionPrivate(
254 PP_Instance instance) {
255 NOTIMPLEMENTED();
256 return 0;
257 }
258
259 PP_Resource ResourceCreationImpl::CreatePrinting(PP_Instance instance) {
260 NOTIMPLEMENTED();
261 return 0;
262 }
263
264 PP_Resource ResourceCreationImpl::CreateTCPServerSocketPrivate(
265 PP_Instance instance) {
266 NOTIMPLEMENTED();
267 return 0;
268 }
269
270 PP_Resource ResourceCreationImpl::CreateTCPSocket1_0(
271 PP_Instance instance) {
272 NOTIMPLEMENTED();
273 return 0;
274 }
275
276 PP_Resource ResourceCreationImpl::CreateTCPSocket(
277 PP_Instance instance) {
278 NOTIMPLEMENTED();
279 return 0;
280 }
281
282 PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(
283 PP_Instance instance) {
284 NOTIMPLEMENTED();
285 return 0;
286 }
287
288 PP_Resource ResourceCreationImpl::CreateUDPSocket(PP_Instance instance) {
289 NOTIMPLEMENTED();
290 return 0;
291 }
292
293 PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(
294 PP_Instance instance) {
295 NOTIMPLEMENTED();
296 return 0;
297 }
298
299 PP_Resource ResourceCreationImpl::CreateVideoDecoder(PP_Instance instance) {
300 NOTIMPLEMENTED();
301 return 0;
302 }
303
304 PP_Resource ResourceCreationImpl::CreateVideoDestination(
305 PP_Instance instance) {
306 NOTIMPLEMENTED();
307 return 0;
308 }
309
310 PP_Resource ResourceCreationImpl::CreateVideoSource(
311 PP_Instance instance) {
312 NOTIMPLEMENTED();
313 return 0;
314 }
315
316 PP_Resource ResourceCreationImpl::CreateWebSocket(PP_Instance instance) {
317 NOTIMPLEMENTED();
318 return 0;
319 }
320
321 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
322 PP_Instance instance) {
323 NOTIMPLEMENTED();
324 return 0;
325 }
326
327 #if !defined(OS_NACL)
328 PP_Resource ResourceCreationImpl::CreateAudioInput(
329 PP_Instance instance) {
330 NOTIMPLEMENTED();
331 return 0;
332 }
333
334 PP_Resource ResourceCreationImpl::CreateBroker(PP_Instance instance) {
335 NOTIMPLEMENTED();
336 return 0;
337 }
338
339 PP_Resource ResourceCreationImpl::CreateBrowserFont(
340 PP_Instance instance,
341 const PP_BrowserFont_Trusted_Description* description) {
342 NOTIMPLEMENTED();
343 return 0;
344 }
345
346 PP_Resource ResourceCreationImpl::CreateBuffer(PP_Instance instance,
347 uint32_t size) {
348 NOTIMPLEMENTED();
349 return 0;
350 }
351
352 PP_Resource ResourceCreationImpl::CreateFlashDRM(PP_Instance instance) {
353 NOTIMPLEMENTED();
354 return 0;
355 }
356
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;
363 }
364
365 PP_Resource ResourceCreationImpl::CreateFlashMenu(
366 PP_Instance instance,
367 const PP_Flash_Menu* menu_data) {
368 NOTIMPLEMENTED();
369 return 0;
370 }
371
372 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(
373 PP_Instance instance) {
374 NOTIMPLEMENTED();
375 return 0;
376 }
377
378 PP_Resource ResourceCreationImpl::CreatePlatformVerificationPrivate(
379 PP_Instance instance) {
380 NOTIMPLEMENTED();
381 return 0;
382 }
383
384 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance,
385 PP_Bool vertical) {
386 NOTIMPLEMENTED();
387 return 0;
388 }
389
390 PP_Resource ResourceCreationImpl::CreateTalk(PP_Instance instance) {
391 NOTIMPLEMENTED();
392 return 0;
393 }
394
395 PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) {
396 NOTIMPLEMENTED();
397 return 0;
398 }
399
400 PP_Resource ResourceCreationImpl::CreateVideoDecoderDev(
401 PP_Instance instance,
402 PP_Resource context3d_id,
403 PP_VideoDecoder_Profile profile) {
404 NOTIMPLEMENTED();
405 return 0;
406 }
407 #endif // !defined(OS_NACL)
408
409 } // namespace examples
410 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/examples/pepper_container_app/resource_creation_impl.h ('k') | mojo/examples/pepper_container_app/thunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698