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

Side by Side Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 7553003: Video Capture Pepper API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make Clang happy Created 9 years, 4 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 | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_video_capture_impl.h » ('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) 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 #include "webkit/plugins/ppapi/plugin_module.h" 5 #include "webkit/plugins/ppapi/plugin_module.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 18 matching lines...) Expand all
29 #include "ppapi/c/dev/ppb_layer_compositor_dev.h" 29 #include "ppapi/c/dev/ppb_layer_compositor_dev.h"
30 #include "ppapi/c/dev/ppb_memory_dev.h" 30 #include "ppapi/c/dev/ppb_memory_dev.h"
31 #include "ppapi/c/dev/ppb_opengles_dev.h" 31 #include "ppapi/c/dev/ppb_opengles_dev.h"
32 #include "ppapi/c/dev/ppb_query_policy_dev.h" 32 #include "ppapi/c/dev/ppb_query_policy_dev.h"
33 #include "ppapi/c/dev/ppb_scrollbar_dev.h" 33 #include "ppapi/c/dev/ppb_scrollbar_dev.h"
34 #include "ppapi/c/dev/ppb_surface_3d_dev.h" 34 #include "ppapi/c/dev/ppb_surface_3d_dev.h"
35 #include "ppapi/c/dev/ppb_testing_dev.h" 35 #include "ppapi/c/dev/ppb_testing_dev.h"
36 #include "ppapi/c/dev/ppb_transport_dev.h" 36 #include "ppapi/c/dev/ppb_transport_dev.h"
37 #include "ppapi/c/dev/ppb_url_util_dev.h" 37 #include "ppapi/c/dev/ppb_url_util_dev.h"
38 #include "ppapi/c/dev/ppb_var_deprecated.h" 38 #include "ppapi/c/dev/ppb_var_deprecated.h"
39 #include "ppapi/c/dev/ppb_video_capture_dev.h"
39 #include "ppapi/c/dev/ppb_video_decoder_dev.h" 40 #include "ppapi/c/dev/ppb_video_decoder_dev.h"
40 #include "ppapi/c/dev/ppb_video_layer_dev.h" 41 #include "ppapi/c/dev/ppb_video_layer_dev.h"
41 #include "ppapi/c/dev/ppb_widget_dev.h" 42 #include "ppapi/c/dev/ppb_widget_dev.h"
42 #include "ppapi/c/dev/ppb_zoom_dev.h" 43 #include "ppapi/c/dev/ppb_zoom_dev.h"
43 #include "ppapi/c/pp_module.h" 44 #include "ppapi/c/pp_module.h"
44 #include "ppapi/c/pp_resource.h" 45 #include "ppapi/c/pp_resource.h"
45 #include "ppapi/c/pp_var.h" 46 #include "ppapi/c/pp_var.h"
46 #include "ppapi/c/ppb_audio.h" 47 #include "ppapi/c/ppb_audio.h"
47 #include "ppapi/c/ppb_audio_config.h" 48 #include "ppapi/c/ppb_audio_config.h"
48 #include "ppapi/c/ppb_core.h" 49 #include "ppapi/c/ppb_core.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" 96 #include "webkit/plugins/ppapi/ppb_image_data_impl.h"
96 #include "webkit/plugins/ppapi/ppb_input_event_impl.h" 97 #include "webkit/plugins/ppapi/ppb_input_event_impl.h"
97 #include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h" 98 #include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h"
98 #include "webkit/plugins/ppapi/ppb_memory_impl.h" 99 #include "webkit/plugins/ppapi/ppb_memory_impl.h"
99 #include "webkit/plugins/ppapi/ppb_opengles_impl.h" 100 #include "webkit/plugins/ppapi/ppb_opengles_impl.h"
100 #include "webkit/plugins/ppapi/ppb_proxy_impl.h" 101 #include "webkit/plugins/ppapi/ppb_proxy_impl.h"
101 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h" 102 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h"
102 #include "webkit/plugins/ppapi/ppb_uma_private_impl.h" 103 #include "webkit/plugins/ppapi/ppb_uma_private_impl.h"
103 #include "webkit/plugins/ppapi/ppb_url_util_impl.h" 104 #include "webkit/plugins/ppapi/ppb_url_util_impl.h"
104 #include "webkit/plugins/ppapi/ppb_var_impl.h" 105 #include "webkit/plugins/ppapi/ppb_var_impl.h"
106 #include "webkit/plugins/ppapi/ppb_video_capture_impl.h"
105 #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h" 107 #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h"
106 #include "webkit/plugins/ppapi/ppb_video_layer_impl.h" 108 #include "webkit/plugins/ppapi/ppb_video_layer_impl.h"
107 #include "webkit/plugins/ppapi/resource_tracker.h" 109 #include "webkit/plugins/ppapi/resource_tracker.h"
108 #include "webkit/plugins/ppapi/webkit_forwarding_impl.h" 110 #include "webkit/plugins/ppapi/webkit_forwarding_impl.h"
109 111
110 using ppapi::TimeTicksToPPTimeTicks; 112 using ppapi::TimeTicksToPPTimeTicks;
111 using ppapi::TimeToPPTime; 113 using ppapi::TimeToPPTime;
112 using ppapi::thunk::EnterResource; 114 using ppapi::thunk::EnterResource;
113 using ppapi::thunk::PPB_Graphics2D_API; 115 using ppapi::thunk::PPB_Graphics2D_API;
114 116
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 if (strcmp(name, PPB_URLRESPONSEINFO_INTERFACE_1_0) == 0) 317 if (strcmp(name, PPB_URLRESPONSEINFO_INTERFACE_1_0) == 0)
316 return ::ppapi::thunk::GetPPB_URLResponseInfo_Thunk(); 318 return ::ppapi::thunk::GetPPB_URLResponseInfo_Thunk();
317 if (strcmp(name, PPB_URLUTIL_DEV_INTERFACE) == 0) 319 if (strcmp(name, PPB_URLUTIL_DEV_INTERFACE) == 0)
318 return PPB_URLUtil_Impl::GetInterface(); 320 return PPB_URLUtil_Impl::GetInterface();
319 if (strcmp(name, PPB_VAR_DEPRECATED_INTERFACE) == 0) 321 if (strcmp(name, PPB_VAR_DEPRECATED_INTERFACE) == 0)
320 return PPB_Var_Impl::GetVarDeprecatedInterface(); 322 return PPB_Var_Impl::GetVarDeprecatedInterface();
321 if (strcmp(name, PPB_VAR_INTERFACE_1_0) == 0) 323 if (strcmp(name, PPB_VAR_INTERFACE_1_0) == 0)
322 return PPB_Var_Impl::GetVarInterface(); 324 return PPB_Var_Impl::GetVarInterface();
323 if (strcmp(name, PPB_VIDEODECODER_DEV_INTERFACE) == 0) 325 if (strcmp(name, PPB_VIDEODECODER_DEV_INTERFACE) == 0)
324 return ::ppapi::thunk::GetPPB_VideoDecoder_Thunk(); 326 return ::ppapi::thunk::GetPPB_VideoDecoder_Thunk();
327 if (strcmp(name, PPB_VIDEO_CAPTURE_DEV_INTERFACE) == 0)
328 return ::ppapi::thunk::GetPPB_VideoCapture_Thunk();
325 if (strcmp(name, PPB_VIDEOLAYER_DEV_INTERFACE) == 0) 329 if (strcmp(name, PPB_VIDEOLAYER_DEV_INTERFACE) == 0)
326 return ::ppapi::thunk::GetPPB_VideoLayer_Thunk(); 330 return ::ppapi::thunk::GetPPB_VideoLayer_Thunk();
327 if (strcmp(name, PPB_WHEEL_INPUT_EVENT_INTERFACE_1_0) == 0) 331 if (strcmp(name, PPB_WHEEL_INPUT_EVENT_INTERFACE_1_0) == 0)
328 return ::ppapi::thunk::GetPPB_WheelInputEvent_Thunk(); 332 return ::ppapi::thunk::GetPPB_WheelInputEvent_Thunk();
329 if (strcmp(name, PPB_WIDGET_DEV_INTERFACE) == 0) 333 if (strcmp(name, PPB_WIDGET_DEV_INTERFACE) == 0)
330 return ::ppapi::thunk::GetPPB_Widget_Thunk(); 334 return ::ppapi::thunk::GetPPB_Widget_Thunk();
331 if (strcmp(name, PPB_ZOOM_DEV_INTERFACE) == 0) 335 if (strcmp(name, PPB_ZOOM_DEV_INTERFACE) == 0)
332 return ::ppapi::thunk::GetPPB_Zoom_Thunk(); 336 return ::ppapi::thunk::GetPPB_Zoom_Thunk();
333 337
334 #ifdef ENABLE_GPU 338 #ifdef ENABLE_GPU
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 int retval = entry_points.initialize_module(pp_module(), &GetInterface); 590 int retval = entry_points.initialize_module(pp_module(), &GetInterface);
587 if (retval != 0) { 591 if (retval != 0) {
588 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 592 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
589 return false; 593 return false;
590 } 594 }
591 return true; 595 return true;
592 } 596 }
593 597
594 } // namespace ppapi 598 } // namespace ppapi
595 } // namespace webkit 599 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_delegate.h ('k') | webkit/plugins/ppapi/ppb_video_capture_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698