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

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

Issue 6673098: Remove PPB_Var interface's scripting functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing convert. Created 9 years, 9 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/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/plugin_object.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) 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/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 21 matching lines...) Expand all
32 #include "ppapi/c/dev/ppb_testing_dev.h" 32 #include "ppapi/c/dev/ppb_testing_dev.h"
33 #include "ppapi/c/dev/ppb_transport_dev.h" 33 #include "ppapi/c/dev/ppb_transport_dev.h"
34 #include "ppapi/c/dev/ppb_url_util_dev.h" 34 #include "ppapi/c/dev/ppb_url_util_dev.h"
35 #include "ppapi/c/dev/ppb_var_deprecated.h" 35 #include "ppapi/c/dev/ppb_var_deprecated.h"
36 #include "ppapi/c/dev/ppb_video_decoder_dev.h" 36 #include "ppapi/c/dev/ppb_video_decoder_dev.h"
37 #include "ppapi/c/dev/ppb_widget_dev.h" 37 #include "ppapi/c/dev/ppb_widget_dev.h"
38 #include "ppapi/c/dev/ppb_zoom_dev.h" 38 #include "ppapi/c/dev/ppb_zoom_dev.h"
39 #include "ppapi/c/pp_module.h" 39 #include "ppapi/c/pp_module.h"
40 #include "ppapi/c/pp_resource.h" 40 #include "ppapi/c/pp_resource.h"
41 #include "ppapi/c/pp_var.h" 41 #include "ppapi/c/pp_var.h"
42 #include "ppapi/c/ppb_class.h"
43 #include "ppapi/c/ppb_core.h" 42 #include "ppapi/c/ppb_core.h"
44 #include "ppapi/c/ppb_graphics_2d.h" 43 #include "ppapi/c/ppb_graphics_2d.h"
45 #include "ppapi/c/ppb_image_data.h" 44 #include "ppapi/c/ppb_image_data.h"
46 #include "ppapi/c/ppb_instance.h" 45 #include "ppapi/c/ppb_instance.h"
47 #include "ppapi/c/ppb_url_loader.h" 46 #include "ppapi/c/ppb_url_loader.h"
48 #include "ppapi/c/ppb_url_request_info.h" 47 #include "ppapi/c/ppb_url_request_info.h"
49 #include "ppapi/c/ppb_url_response_info.h" 48 #include "ppapi/c/ppb_url_response_info.h"
50 #include "ppapi/c/ppb_var.h" 49 #include "ppapi/c/ppb_var.h"
51 #include "ppapi/c/ppp.h" 50 #include "ppapi/c/ppp.h"
52 #include "ppapi/c/ppp_instance.h" 51 #include "ppapi/c/ppp_instance.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h" 86 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h"
88 #include "webkit/plugins/ppapi/ppb_transport_impl.h" 87 #include "webkit/plugins/ppapi/ppb_transport_impl.h"
89 #include "webkit/plugins/ppapi/ppb_url_loader_impl.h" 88 #include "webkit/plugins/ppapi/ppb_url_loader_impl.h"
90 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h" 89 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h"
91 #include "webkit/plugins/ppapi/ppb_url_response_info_impl.h" 90 #include "webkit/plugins/ppapi/ppb_url_response_info_impl.h"
92 #include "webkit/plugins/ppapi/ppb_url_util_impl.h" 91 #include "webkit/plugins/ppapi/ppb_url_util_impl.h"
93 #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h" 92 #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h"
94 #include "webkit/plugins/ppapi/ppb_widget_impl.h" 93 #include "webkit/plugins/ppapi/ppb_widget_impl.h"
95 #include "webkit/plugins/ppapi/resource_tracker.h" 94 #include "webkit/plugins/ppapi/resource_tracker.h"
96 #include "webkit/plugins/ppapi/var.h" 95 #include "webkit/plugins/ppapi/var.h"
97 #include "webkit/plugins/ppapi/var_object_class.h"
98 96
99 #ifdef ENABLE_GPU 97 #ifdef ENABLE_GPU
100 #include "webkit/plugins/ppapi/ppb_context_3d_impl.h" 98 #include "webkit/plugins/ppapi/ppb_context_3d_impl.h"
101 #include "webkit/plugins/ppapi/ppb_gles_chromium_texture_mapping_impl.h" 99 #include "webkit/plugins/ppapi/ppb_gles_chromium_texture_mapping_impl.h"
102 #include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h" 100 #include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h"
103 #include "webkit/plugins/ppapi/ppb_opengles_impl.h" 101 #include "webkit/plugins/ppapi/ppb_opengles_impl.h"
104 #include "webkit/plugins/ppapi/ppb_surface_3d_impl.h" 102 #include "webkit/plugins/ppapi/ppb_surface_3d_impl.h"
105 #endif // ENABLE_GPU 103 #endif // ENABLE_GPU
106 104
107 namespace webkit { 105 namespace webkit {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 if (strcmp(name, PPB_AUDIO_CONFIG_INTERFACE) == 0) 221 if (strcmp(name, PPB_AUDIO_CONFIG_INTERFACE) == 0)
224 return PPB_AudioConfig_Impl::GetInterface(); 222 return PPB_AudioConfig_Impl::GetInterface();
225 if (strcmp(name, PPB_AUDIO_INTERFACE) == 0) 223 if (strcmp(name, PPB_AUDIO_INTERFACE) == 0)
226 return PPB_Audio_Impl::GetInterface(); 224 return PPB_Audio_Impl::GetInterface();
227 if (strcmp(name, PPB_AUDIO_TRUSTED_INTERFACE) == 0) 225 if (strcmp(name, PPB_AUDIO_TRUSTED_INTERFACE) == 0)
228 return PPB_Audio_Impl::GetTrustedInterface(); 226 return PPB_Audio_Impl::GetTrustedInterface();
229 if (strcmp(name, PPB_BUFFER_DEV_INTERFACE) == 0) 227 if (strcmp(name, PPB_BUFFER_DEV_INTERFACE) == 0)
230 return PPB_Buffer_Impl::GetInterface(); 228 return PPB_Buffer_Impl::GetInterface();
231 if (strcmp(name, PPB_CHAR_SET_DEV_INTERFACE) == 0) 229 if (strcmp(name, PPB_CHAR_SET_DEV_INTERFACE) == 0)
232 return PPB_CharSet_Impl::GetInterface(); 230 return PPB_CharSet_Impl::GetInterface();
233 if (strcmp(name, PPB_CLASS_INTERFACE) == 0)
234 return VarObjectClass::GetInterface();
235 if (strcmp(name, PPB_CONSOLE_DEV_INTERFACE) == 0) 231 if (strcmp(name, PPB_CONSOLE_DEV_INTERFACE) == 0)
236 return PPB_Console_Impl::GetInterface(); 232 return PPB_Console_Impl::GetInterface();
237 if (strcmp(name, PPB_CORE_INTERFACE) == 0) 233 if (strcmp(name, PPB_CORE_INTERFACE) == 0)
238 return &core_interface; 234 return &core_interface;
239 if (strcmp(name, PPB_CURSOR_CONTROL_DEV_INTERFACE) == 0) 235 if (strcmp(name, PPB_CURSOR_CONTROL_DEV_INTERFACE) == 0)
240 return GetCursorControlInterface(); 236 return GetCursorControlInterface();
241 if (strcmp(name, PPB_DIRECTORYREADER_DEV_INTERFACE) == 0) 237 if (strcmp(name, PPB_DIRECTORYREADER_DEV_INTERFACE) == 0)
242 return PPB_DirectoryReader_Impl::GetInterface(); 238 return PPB_DirectoryReader_Impl::GetInterface();
243 if (strcmp(name, PPB_FILECHOOSER_DEV_INTERFACE) == 0) 239 if (strcmp(name, PPB_FILECHOOSER_DEV_INTERFACE) == 0)
244 return PPB_FileChooser_Impl::GetInterface(); 240 return PPB_FileChooser_Impl::GetInterface();
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 if (retval != 0) { 526 if (retval != 0) {
531 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 527 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
532 return false; 528 return false;
533 } 529 }
534 return true; 530 return true;
535 } 531 }
536 532
537 } // namespace ppapi 533 } // namespace ppapi
538 } // namespace webkit 534 } // namespace webkit
539 535
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/plugin_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698