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 "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 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/common/content_settings_pattern.h" | 21 #include "chrome/common/content_settings_pattern.h" |
22 #include "chrome/common/extensions/extension.h" | 22 #include "chrome/common/extensions/extension.h" |
23 #include "chrome/common/extensions/extension_constants.h" | 23 #include "chrome/common/extensions/extension_constants.h" |
24 #include "chrome/common/extensions/extension_manifest_constants.h" | 24 #include "chrome/common/extensions/extension_manifest_constants.h" |
25 #include "chrome/common/extensions/extension_process_policy.h" | 25 #include "chrome/common/extensions/extension_process_policy.h" |
26 #include "chrome/common/extensions/extension_set.h" | 26 #include "chrome/common/extensions/extension_set.h" |
27 #include "chrome/common/extensions/manifest_handler.h" | 27 #include "chrome/common/extensions/manifest_handler.h" |
28 #include "chrome/common/extensions/manifest_url_handler.h" | 28 #include "chrome/common/extensions/manifest_url_handler.h" |
29 #include "chrome/common/extensions/web_accessible_resources_handler.h" | 29 #include "chrome/common/extensions/web_accessible_resources_handler.h" |
30 #include "chrome/common/external_ipc_fuzzer.h" | 30 #include "chrome/common/external_ipc_fuzzer.h" |
31 #include "chrome/common/jstemplate_builder.h" | |
32 #include "chrome/common/localized_error.h" | 31 #include "chrome/common/localized_error.h" |
33 #include "chrome/common/render_messages.h" | 32 #include "chrome/common/render_messages.h" |
34 #include "chrome/common/url_constants.h" | 33 #include "chrome/common/url_constants.h" |
35 #include "chrome/renderer/autofill/autofill_agent.h" | 34 #include "chrome/renderer/autofill/autofill_agent.h" |
36 #include "chrome/renderer/autofill/password_autofill_manager.h" | 35 #include "chrome/renderer/autofill/password_autofill_manager.h" |
37 #include "chrome/renderer/autofill/password_generation_manager.h" | 36 #include "chrome/renderer/autofill/password_generation_manager.h" |
38 #include "chrome/renderer/automation/automation_renderer_helper.h" | 37 #include "chrome/renderer/automation/automation_renderer_helper.h" |
39 #include "chrome/renderer/benchmarking_extension.h" | 38 #include "chrome/renderer/benchmarking_extension.h" |
40 #include "chrome/renderer/chrome_render_process_observer.h" | 39 #include "chrome/renderer/chrome_render_process_observer.h" |
41 #include "chrome/renderer/chrome_render_view_observer.h" | 40 #include "chrome/renderer/chrome_render_view_observer.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 84 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
86 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" | 85 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" |
87 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 86 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
88 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 87 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
89 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" | 88 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" |
90 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" | 89 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" |
91 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" | 90 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" |
92 #include "ui/base/l10n/l10n_util.h" | 91 #include "ui/base/l10n/l10n_util.h" |
93 #include "ui/base/layout.h" | 92 #include "ui/base/layout.h" |
94 #include "ui/base/resource/resource_bundle.h" | 93 #include "ui/base/resource/resource_bundle.h" |
| 94 #include "ui/webui/jstemplate_builder.h" |
95 #include "webkit/plugins/npapi/plugin_list.h" | 95 #include "webkit/plugins/npapi/plugin_list.h" |
96 #include "webkit/plugins/ppapi/plugin_module.h" | 96 #include "webkit/plugins/ppapi/plugin_module.h" |
97 #include "webkit/plugins/ppapi/ppapi_interface_factory.h" | 97 #include "webkit/plugins/ppapi/ppapi_interface_factory.h" |
98 | 98 |
99 using autofill::AutofillAgent; | 99 using autofill::AutofillAgent; |
100 using autofill::PasswordAutofillManager; | 100 using autofill::PasswordAutofillManager; |
101 using autofill::PasswordGenerationManager; | 101 using autofill::PasswordGenerationManager; |
102 using content::RenderThread; | 102 using content::RenderThread; |
103 using extensions::Extension; | 103 using extensions::Extension; |
104 using WebKit::WebCache; | 104 using WebKit::WebCache; |
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 } | 1039 } |
1040 | 1040 |
1041 void ChromeContentRendererClient::RegisterPPAPIInterfaceFactories( | 1041 void ChromeContentRendererClient::RegisterPPAPIInterfaceFactories( |
1042 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { | 1042 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { |
1043 #if defined(ENABLE_PLUGINS) | 1043 #if defined(ENABLE_PLUGINS) |
1044 factory_manager->RegisterFactory(ChromePPAPIInterfaceFactory); | 1044 factory_manager->RegisterFactory(ChromePPAPIInterfaceFactory); |
1045 #endif | 1045 #endif |
1046 } | 1046 } |
1047 | 1047 |
1048 } // namespace chrome | 1048 } // namespace chrome |
OLD | NEW |