OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 #include "ppapi/c/private/ppb_gpu_blacklist_private.h" | 75 #include "ppapi/c/private/ppb_gpu_blacklist_private.h" |
76 #include "ppapi/c/private/ppb_instance_private.h" | 76 #include "ppapi/c/private/ppb_instance_private.h" |
77 #include "ppapi/c/private/ppb_pdf.h" | 77 #include "ppapi/c/private/ppb_pdf.h" |
78 #include "ppapi/c/private/ppb_proxy_private.h" | 78 #include "ppapi/c/private/ppb_proxy_private.h" |
79 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 79 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
80 #include "ppapi/c/private/ppb_udp_socket_private.h" | 80 #include "ppapi/c/private/ppb_udp_socket_private.h" |
81 #include "ppapi/c/private/ppb_uma_private.h" | 81 #include "ppapi/c/private/ppb_uma_private.h" |
82 #include "ppapi/c/trusted/ppb_audio_input_trusted_dev.h" | 82 #include "ppapi/c/trusted/ppb_audio_input_trusted_dev.h" |
83 #include "ppapi/c/trusted/ppb_audio_trusted.h" | 83 #include "ppapi/c/trusted/ppb_audio_trusted.h" |
84 #include "ppapi/c/trusted/ppb_broker_trusted.h" | 84 #include "ppapi/c/trusted/ppb_broker_trusted.h" |
| 85 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" |
85 #include "ppapi/c/trusted/ppb_buffer_trusted.h" | 86 #include "ppapi/c/trusted/ppb_buffer_trusted.h" |
86 #include "ppapi/c/trusted/ppb_char_set_trusted.h" | 87 #include "ppapi/c/trusted/ppb_char_set_trusted.h" |
87 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" | 88 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" |
88 #include "ppapi/c/trusted/ppb_file_io_trusted.h" | 89 #include "ppapi/c/trusted/ppb_file_io_trusted.h" |
89 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" | 90 #include "ppapi/c/trusted/ppb_graphics_3d_trusted.h" |
90 #include "ppapi/c/trusted/ppb_image_data_trusted.h" | 91 #include "ppapi/c/trusted/ppb_image_data_trusted.h" |
91 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" | 92 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" |
92 #include "ppapi/shared_impl/callback_tracker.h" | 93 #include "ppapi/shared_impl/callback_tracker.h" |
93 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 94 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
94 #include "ppapi/shared_impl/ppb_opengles2_shared.h" | 95 #include "ppapi/shared_impl/ppb_opengles2_shared.h" |
95 #include "ppapi/shared_impl/ppb_var_shared.h" | 96 #include "ppapi/shared_impl/ppb_var_shared.h" |
96 #include "ppapi/shared_impl/time_conversion.h" | 97 #include "ppapi/shared_impl/time_conversion.h" |
97 #include "ppapi/thunk/enter.h" | 98 #include "ppapi/thunk/enter.h" |
98 #include "ppapi/thunk/thunk.h" | 99 #include "ppapi/thunk/thunk.h" |
99 #include "webkit/plugins/plugin_switches.h" | 100 #include "webkit/plugins/plugin_switches.h" |
100 #include "webkit/plugins/ppapi/common.h" | 101 #include "webkit/plugins/ppapi/common.h" |
101 #include "webkit/plugins/ppapi/host_globals.h" | 102 #include "webkit/plugins/ppapi/host_globals.h" |
102 #include "webkit/plugins/ppapi/ppapi_interface_factory.h" | 103 #include "webkit/plugins/ppapi/ppapi_interface_factory.h" |
103 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 104 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
104 #include "webkit/plugins/ppapi/ppb_directory_reader_impl.h" | 105 #include "webkit/plugins/ppapi/ppb_directory_reader_impl.h" |
105 #include "webkit/plugins/ppapi/ppb_flash_clipboard_impl.h" | 106 #include "webkit/plugins/ppapi/ppb_flash_clipboard_impl.h" |
106 #include "webkit/plugins/ppapi/ppb_flash_file_impl.h" | 107 #include "webkit/plugins/ppapi/ppb_flash_file_impl.h" |
107 #include "webkit/plugins/ppapi/ppb_flash_impl.h" | 108 #include "webkit/plugins/ppapi/ppb_flash_impl.h" |
108 #include "webkit/plugins/ppapi/ppb_flash_menu_impl.h" | 109 #include "webkit/plugins/ppapi/ppb_flash_menu_impl.h" |
109 #include "webkit/plugins/ppapi/ppb_flash_net_connector_impl.h" | 110 #include "webkit/plugins/ppapi/ppb_flash_net_connector_impl.h" |
110 #include "webkit/plugins/ppapi/ppb_font_impl.h" | |
111 #include "webkit/plugins/ppapi/ppb_gpu_blacklist_private_impl.h" | 111 #include "webkit/plugins/ppapi/ppb_gpu_blacklist_private_impl.h" |
112 #include "webkit/plugins/ppapi/ppb_graphics_2d_impl.h" | 112 #include "webkit/plugins/ppapi/ppb_graphics_2d_impl.h" |
113 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" | 113 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" |
114 #include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h" | 114 #include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h" |
115 #include "webkit/plugins/ppapi/ppb_proxy_impl.h" | 115 #include "webkit/plugins/ppapi/ppb_proxy_impl.h" |
116 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h" | 116 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h" |
117 #include "webkit/plugins/ppapi/ppb_uma_private_impl.h" | 117 #include "webkit/plugins/ppapi/ppb_uma_private_impl.h" |
118 #include "webkit/plugins/ppapi/ppb_var_deprecated_impl.h" | 118 #include "webkit/plugins/ppapi/ppb_var_deprecated_impl.h" |
119 #include "webkit/plugins/ppapi/ppb_video_capture_impl.h" | 119 #include "webkit/plugins/ppapi/ppb_video_capture_impl.h" |
120 #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h" | 120 #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h" |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 int retval = entry_points.initialize_module(pp_module(), &GetInterface); | 599 int retval = entry_points.initialize_module(pp_module(), &GetInterface); |
600 if (retval != 0) { | 600 if (retval != 0) { |
601 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; | 601 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; |
602 return false; | 602 return false; |
603 } | 603 } |
604 return true; | 604 return true; |
605 } | 605 } |
606 | 606 |
607 } // namespace ppapi | 607 } // namespace ppapi |
608 } // namespace webkit | 608 } // namespace webkit |
OLD | NEW |