| OLD | NEW |
| 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 "content/renderer/renderer_webkitplatformsupport_impl.h" | 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
| (...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 blob_registry_.reset(new WebBlobRegistryImpl(ChildThread::current())); | 615 blob_registry_.reset(new WebBlobRegistryImpl(ChildThread::current())); |
| 616 } | 616 } |
| 617 return blob_registry_.get(); | 617 return blob_registry_.get(); |
| 618 } | 618 } |
| 619 | 619 |
| 620 WebKit::WebString RendererWebKitPlatformSupportImpl::userAgent( | 620 WebKit::WebString RendererWebKitPlatformSupportImpl::userAgent( |
| 621 const WebKit::WebURL& url) { | 621 const WebKit::WebURL& url) { |
| 622 return WebKitPlatformSupportImpl::userAgent(url); | 622 return WebKitPlatformSupportImpl::userAgent(url); |
| 623 } | 623 } |
| 624 | 624 |
| 625 void RendererWebKitPlatformSupportImpl::GetPlugins( |
| 626 bool refresh, std::vector<webkit::WebPluginInfo>* plugins) { |
| 627 if (!RenderThreadImpl::current()->plugin_refresh_allowed()) |
| 628 refresh = false; |
| 629 RenderThreadImpl::current()->Send( |
| 630 new ViewHostMsg_GetPlugins(refresh, plugins)); |
| 631 } |
| OLD | NEW |