/external/chromium_org/chrome/browser/plugins/ |
H A D | plugin_metadata.cc | 61 bool PluginMetadata::MatchesPlugin(const content::WebPluginInfo& plugin) { argument 66 for (; j < plugin.mime_types.size(); ++j) { 67 if (plugin.mime_types[j].mime_type == matching_mime_types_[i]) 70 if (j == plugin.mime_types.size()) 74 return MatchPattern(plugin.name, group_name_matcher_); 94 const content::WebPluginInfo& plugin) const { 101 content::WebPluginInfo::CreateVersionFromString(plugin.version, &version);
|
H A D | chrome_plugin_service_filter.cc | 58 const content::WebPluginInfo& plugin) { 64 overridden_plugin.plugin = plugin; 95 content::WebPluginInfo* plugin) { 99 // Check whether the plugin is overridden. 106 bool use = details->overridden_plugins[i].plugin.path == plugin->path; 108 *plugin = details->overridden_plugins[i].plugin; 114 // Check whether the plugin i 54 OverridePluginForFrame( int render_process_id, int render_frame_id, const GURL& url, const content::WebPluginInfo& plugin) argument 89 IsPluginAvailable( int render_process_id, int render_frame_id, const void* context, const GURL& url, const GURL& policy_url, content::WebPluginInfo* plugin) argument [all...] |
H A D | plugin_finder.cc | 37 std::string GetLongIdentifier(const content::WebPluginInfo& plugin) { argument 38 return plugin.path.AsUTF8Unsafe(); 42 std::string GetIdentifier(const content::WebPluginInfo& plugin) { argument 43 return plugin.path.BaseName().AsUTF8Unsafe(); 48 static base::string16 GetGroupName(const content::WebPluginInfo& plugin) { argument 49 if (!plugin.name.empty()) 50 return plugin.name; 52 return plugin.path.BaseName().RemoveExtension().AsUTF16Unsafe(); 57 PluginMetadata* plugin) { 71 plugin 55 LoadMimeTypes(bool matching_mime_types, const base::DictionaryValue* plugin_dict, PluginMetadata* plugin) argument 96 PluginMetadata* plugin = new PluginMetadata(identifier, local 248 const base::DictionaryValue* plugin = NULL; local 273 GetPluginMetadata( const content::WebPluginInfo& plugin) argument [all...] |
H A D | plugin_info_message_filter.cc | 53 bool ShouldUseJavaScriptSettingForPlugin(const WebPluginInfo& plugin) { argument 54 if (plugin.type != WebPluginInfo::PLUGIN_TYPE_PEPPER_IN_PROCESS && 55 plugin.type != WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS) { 61 if (plugin.name == base::ASCIIToUTF16(nacl::kNaClPluginName)) 67 if (plugin.name == base::ASCIIToUTF16(kWidevineCdmDisplayName)) { 68 DCHECK(plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS); 99 // Report usage metrics for Silverlight and Flash plugin instantiations to the 223 &output.status, &output.plugin, 226 context_.DecidePluginStatus(params, output.plugin, plugin_metadata.get(), 235 context_.MaybeGrantAccess(output.status, output.plugin 259 const WebPluginInfo& plugin = plugins[i]; local 285 DecidePluginStatus( const GetPluginInfo_Params& params, const WebPluginInfo& plugin, const PluginMetadata* plugin_metadata, ChromeViewHostMsg_GetPluginInfo_Status* status) const argument 389 FindEnabledPlugin( int render_frame_id, const GURL& url, const GURL& top_origin_url, const std::string& mime_type, ChromeViewHostMsg_GetPluginInfo_Status* status, WebPluginInfo* plugin, std::string* actual_mime_type, scoped_ptr<PluginMetadata>* plugin_metadata) const argument [all...] |
H A D | plugin_info_message_filter_unittest.cc | 44 content::WebPluginInfo* plugin) OVERRIDE; 63 content::WebPluginInfo* plugin) { 65 plugin_state_.find(plugin->path); 67 ADD_FAILURE() << "No plug-in state for '" << plugin->path.value() << "'"; 134 const std::string& plugin, 143 content::WebPluginInfo(), url, url, plugin, local 166 content::WebPluginInfo plugin; local 169 0, GURL(), GURL(), "foo/bar", &status, &plugin, &actual_mime_type, 172 EXPECT_EQ(foo_plugin_path_.value(), plugin.path.value()); 178 content::WebPluginInfo plugin; local 57 IsPluginAvailable( int render_process_id, int render_view_id, const void* context, const GURL& url, const GURL& policy_url, content::WebPluginInfo* plugin) argument 133 VerifyPluginContentSetting(const GURL& url, const std::string& plugin, ContentSetting expected_setting, bool expected_is_default, bool expected_is_managed) argument 190 content::WebPluginInfo plugin; local 202 content::WebPluginInfo plugin; local [all...] |
/external/chromium_org/chrome/browser/ui/pdf/ |
H A D | adobe_reader_info_win.cc | 77 const content::WebPluginInfo& plugin = plugins[i]; local 78 if (plugin.is_pepper_plugin()) 80 if (std::find_if(plugin.mime_types.begin(), plugin.mime_types.end(), 81 IsPdfMimeType) == plugin.mime_types.end())
|
/external/chromium_org/content/browser/ |
H A D | plugin_loader_posix_unittest.cc | 50 void TestOnPluginLoaded(uint32 index, const WebPluginInfo& plugin) { argument 51 OnPluginLoaded(index, plugin); 69 : plugin1_(ASCIIToUTF16("plugin1"), base::FilePath("/tmp/one.plugin"), 71 plugin2_(ASCIIToUTF16("plugin2"), base::FilePath("/tmp/two.plugin"), 73 plugin3_(ASCIIToUTF16("plugin3"), base::FilePath("/tmp/three.plugin"), 144 // Invalidate the plugin list, then queue up another request. 328 plugin2_.path = base::FilePath("/internal/plugin.plugin");
|
/external/chromium_org/content/shell/renderer/ |
H A D | shell_content_renderer_client.cc | 127 WebPlugin** plugin) { 123 OverrideCreatePlugin( RenderFrame* render_frame, WebLocalFrame* frame, const WebPluginParams& params, WebPlugin** plugin) argument
|
/external/chromium_org/extensions/shell/renderer/ |
H A D | shell_content_renderer_client.cc | 121 blink::WebPlugin** plugin) { 122 // Allow the content module to create the plugin. 129 // Don't provide a custom "failed to load" plugin. 164 // TODO(bbudge) remove this when the trusted NaCl plugin has been removed. 165 // We must defer certain plugin events for NaCl instances since we switch 117 OverrideCreatePlugin( content::RenderFrame* render_frame, blink::WebLocalFrame* frame, const blink::WebPluginParams& params, blink::WebPlugin** plugin) argument
|
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
H A D | pnacl_translate_thread.h | 18 #include "ppapi/native_client/src/trusted/plugin/plugin_error.h" 19 #include "ppapi/native_client/src/trusted/plugin/service_runtime.h" 28 namespace plugin { namespace 52 Plugin* plugin); 55 // channel on the plugin side, which causes the trusted code in the nexe to
|
H A D | service_runtime.h | 22 #include "ppapi/native_client/src/trusted/plugin/utility.h" 26 namespace plugin { namespace 137 ServiceRuntime(Plugin* plugin, 176 Plugin* plugin() const { return plugin_; } function in class:plugin::ServiceRuntime 214 } // namespace plugin
|
H A D | srpc_client.cc | 7 #include "ppapi/native_client/src/trusted/plugin/srpc_client.h" 12 #include "ppapi/native_client/src/trusted/plugin/plugin.h" 13 #include "ppapi/native_client/src/trusted/plugin/srpc_params.h" 14 #include "ppapi/native_client/src/trusted/plugin/utility.h" 16 namespace plugin { namespace 28 // index is set to UINT_MAX for methods implemented by the plugin, 163 // case. However, there are calls to Invoke from within the plugin itself, 199 } // namespace plugin
|
H A D | utility.cc | 15 #include "ppapi/native_client/src/trusted/plugin/utility.h" 17 namespace plugin { namespace 150 } // namespace plugin
|
H A D | plugin.cc | 5 #include "ppapi/native_client/src/trusted/plugin/plugin.h" 24 #include "ppapi/native_client/src/trusted/plugin/nacl_subprocess.h" 25 #include "ppapi/native_client/src/trusted/plugin/plugin_error.h" 26 #include "ppapi/native_client/src/trusted/plugin/service_runtime.h" 27 #include "ppapi/native_client/src/trusted/plugin/utility.h" 29 namespace plugin { namespace 95 // We can't use pp::BlockUntilComplete() inside an in-process plugin, so we 227 // manifest is a per-plugin-instance object, not a per 289 // since the renderer should be free to unload the plugin cod [all...] |
H A D | pnacl_translate_thread.cc | 5 #include "ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h" 11 #include "ppapi/native_client/src/trusted/plugin/plugin.h" 12 #include "ppapi/native_client/src/trusted/plugin/plugin_error.h" 13 #include "ppapi/native_client/src/trusted/plugin/pnacl_resources.h" 14 #include "ppapi/native_client/src/trusted/plugin/srpc_params.h" 15 #include "ppapi/native_client/src/trusted/plugin/temporary_file.h" 16 #include "ppapi/native_client/src/trusted/plugin/utility.h" 18 namespace plugin { namespace 28 void GetLlcCommandLine(Plugin* plugin, argument 71 RunTranslate( const pp::CompletionCallback& finish_callback, const std::vector<TempFile*>* obj_files, TempFile* nexe_file, nacl::DescWrapper* invalid_desc_wrapper, ErrorInfo* error_info, PnaclResources* resources, PP_PNaClOptions* pnacl_options, const std::string &architecture_attributes, PnaclCoordinator* coordinator, Plugin* plugin) argument [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/ |
H A D | ResizableDialog.java | 21 import org.eclipse.ui.plugin.AbstractUIPlugin; 55 public ResizableDialog(Shell parentShell, AbstractUIPlugin plugin) { argument 57 m_plugin = plugin;
|
/external/chromium_org/chrome/browser/metrics/ |
H A D | plugin_metrics_provider.cc | 30 // Returns the plugin preferences corresponding for this user, if available. 48 // Fills |plugin| with the info contained in |plugin_info| and |plugin_prefs|. 51 metrics::SystemProfileProto::Plugin* plugin) { 52 plugin->set_name(base::UTF16ToUTF8(plugin_info.name)); 53 plugin->set_filename(plugin_info.path.BaseName().AsUTF8Unsafe()); 54 plugin->set_version(base::UTF16ToUTF8(plugin_info.version)); 55 plugin->set_is_pepper(plugin_info.is_pepper_plugin()); 57 plugin->set_is_disabled(!plugin_prefs->IsPluginEnabled(plugin_info)); 159 if (system_profile_proto->plugin(i).name() == plugin_name) { 160 system_profile_plugin = &system_profile_proto->plugin( 49 SetPluginInfo(const content::WebPluginInfo& plugin_info, const PluginPrefs* plugin_prefs, metrics::SystemProfileProto::Plugin* plugin) argument 296 content::WebPluginInfo plugin; local [all...] |
/external/chromium_org/chrome/renderer/plugins/ |
H A D | chrome_plugin_placeholder.cc | 135 ChromePluginPlaceholder* plugin = new ChromePluginPlaceholder( local 139 plugin->routing_id(), file_path)); 140 return plugin; 148 const content::WebPluginInfo& plugin, 168 blocked_plugin->SetPluginInfo(plugin); 270 if (!GetFrame() || !plugin()) 338 // Disable this menu item if the plugin is blocked by policy. 366 global->Set(gin::StringToV8(isolate, "plugin"), 144 CreateBlockedPlugin( content::RenderFrame* render_frame, WebLocalFrame* frame, const WebPluginParams& params, const content::WebPluginInfo& plugin, const std::string& identifier, const base::string16& name, int template_id, const base::string16& message) argument
|
/external/chromium_org/components/plugins/renderer/ |
H A D | plugin_placeholder.cc | 97 new_plugin = container->plugin(); 214 WebPlugin* plugin = local 216 ReplacePlugin(plugin);
|
H A D | webview_plugin.cc | 64 WebViewPlugin* plugin = new WebViewPlugin(delegate, preferences); local 65 plugin->web_view()->mainFrame()->loadHTMLString(html_data, url); 66 return plugin; 74 void WebViewPlugin::ReplayReceivedData(WebPlugin* plugin) { argument 76 plugin->didReceiveResponse(response_); 80 plugin->didReceiveData( 91 // We need to transfer the |focused_| to new plugin after it loaded. 93 plugin->updateFocus(true); 96 plugin->didFinishLoading(); 99 plugin [all...] |
/external/chromium_org/content/browser/loader/ |
H A D | buffered_resource_handler.cc | 466 WebPluginInfo plugin; local 470 stale, &plugin, NULL);
|
/external/chromium_org/content/renderer/ |
H A D | render_widget_fullscreen_pepper.cc | 132 // WebWidget that simply wraps the pepper plugin. 153 if (!widget_->plugin()) 158 widget_->plugin()->ViewChanged(plugin_rect, plugin_rect, 168 if (!widget_->plugin()) 176 // events directly to the plugin. Instead, try to convert them to equivalent 177 // mouse events, and then send to the plugin. 198 result |= widget_->plugin()->HandleInputEvent(mouse, &cursor); 203 result |= widget_->plugin()->HandleInputEvent(mouse, &cursor); 206 result |= widget_->plugin()->HandleInputEvent(mouse, &cursor); 213 result |= widget_->plugin() 265 Create( int32 opener_id, PepperPluginInstanceImpl* plugin, const GURL& active_url, const blink::WebScreenInfo& screen_info) argument 278 RenderWidgetFullscreenPepper( PepperPluginInstanceImpl* plugin, const GURL& active_url, const blink::WebScreenInfo& screen_info) argument [all...] |
/external/chromium_org/content/test/plugin/ |
H A D | plugin_client.cc | 5 #include "content/test/plugin/plugin_client.h" 8 #include "content/test/plugin/plugin_execute_stream_javascript.h" 9 #include "content/test/plugin/plugin_test.h" 10 #include "content/test/plugin/plugin_test_factory.h" 86 // We look at the test name requested via the plugin arguments. We match 136 NPAPIClient::PluginTest* plugin = 139 NPError rv = plugin->Destroy(); 140 delete plugin; 148 NPAPIClient::PluginTest* plugin = 151 return plugin 258 NPAPIClient::PluginTest* plugin = local [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | ContextMenuClientImpl.cpp | 279 WebPluginContainerImpl* plugin = toWebPluginContainerImpl(widget); local 280 WebString text = plugin->plugin()->selectionAsText(); 286 data.linkURL = plugin->plugin()->linkAtPosition(data.mousePosition); 287 if (plugin->plugin()->supportsPaginatedPrint()) 294 // Add context menu commands that are supported by the plugin. 295 if (plugin->plugin() [all...] |
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
H A D | SimpleWebServer.java | 176 System.out.print("# Found plugin for Mime type: \"" + mime + "\""); 192 protected static void registerPluginForMimeType(String[] indexFiles, String mimeType, WebServerPlugin plugin, Map<String, String> commandLineOptions) { argument 193 if (mimeType == null || plugin == null) { 207 mimeTypeHandlers.put(mimeType, plugin); 208 plugin.initialize(commandLineOptions); 323 WebServerPlugin plugin = mimeTypeHandlers.get(mimeTypeForFile); 325 if (plugin != null) { 326 response = plugin.serveFile(uri, headers, session, f, mimeTypeForFile); 358 WebServerPlugin plugin = mimeTypeHandlers.get(mimeTypeForFile); 359 if (plugin ! [all...] |