| 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 "chrome/renderer/chrome_content_renderer_client.h" | 5 #include "chrome/renderer/chrome_content_renderer_client.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 #include "grit/renderer_resources.h" | 67 #include "grit/renderer_resources.h" |
| 68 #include "ipc/ipc_sync_channel.h" | 68 #include "ipc/ipc_sync_channel.h" |
| 69 #include "net/base/net_errors.h" | 69 #include "net/base/net_errors.h" |
| 70 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 70 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
| 71 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" | 71 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" |
| 72 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 72 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 73 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 73 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 74 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" | 74 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" |
| 75 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" | 75 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" |
| 76 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" | 76 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" |
| 77 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 77 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
| 78 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" | 78 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError.
h" |
| 79 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" | 79 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques
t.h" |
| 80 #include "ui/base/l10n/l10n_util.h" | 80 #include "ui/base/l10n/l10n_util.h" |
| 81 #include "ui/base/resource/resource_bundle.h" | 81 #include "ui/base/resource/resource_bundle.h" |
| 82 #include "webkit/plugins/npapi/plugin_list.h" | 82 #include "webkit/plugins/npapi/plugin_list.h" |
| 83 #include "webkit/plugins/ppapi/plugin_module.h" | 83 #include "webkit/plugins/ppapi/plugin_module.h" |
| 84 #include "webkit/plugins/ppapi/ppapi_interface_factory.h" | 84 #include "webkit/plugins/ppapi/ppapi_interface_factory.h" |
| 85 | 85 |
| 86 using WebKit::WebCache; | 86 using WebKit::WebCache; |
| 87 using WebKit::WebDataSource; | 87 using WebKit::WebDataSource; |
| 88 using WebKit::WebDocument; | 88 using WebKit::WebDocument; |
| 89 using WebKit::WebFrame; | 89 using WebKit::WebFrame; |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 bool ChromeContentRendererClient::IsOtherExtensionWithWebRequestInstalled() { | 783 bool ChromeContentRendererClient::IsOtherExtensionWithWebRequestInstalled() { |
| 784 return extension_dispatcher_->IsOtherExtensionWithWebRequestInstalled(); | 784 return extension_dispatcher_->IsOtherExtensionWithWebRequestInstalled(); |
| 785 } | 785 } |
| 786 | 786 |
| 787 void ChromeContentRendererClient::RegisterPPAPIInterfaceFactories( | 787 void ChromeContentRendererClient::RegisterPPAPIInterfaceFactories( |
| 788 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { | 788 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { |
| 789 factory_manager->RegisterFactory(ChromePPAPIInterfaceFactory); | 789 factory_manager->RegisterFactory(ChromePPAPIInterfaceFactory); |
| 790 } | 790 } |
| 791 | 791 |
| 792 } // namespace chrome | 792 } // namespace chrome |
| OLD | NEW |