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 "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/debug/crash_logging.h" | 8 #include "base/debug/crash_logging.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "chrome/renderer/playback_extension.h" | 42 #include "chrome/renderer/playback_extension.h" |
43 #include "chrome/renderer/plugins/chrome_plugin_placeholder.h" | 43 #include "chrome/renderer/plugins/chrome_plugin_placeholder.h" |
44 #include "chrome/renderer/plugins/plugin_uma.h" | 44 #include "chrome/renderer/plugins/plugin_uma.h" |
45 #include "chrome/renderer/plugins/shadow_dom_plugin_placeholder.h" | 45 #include "chrome/renderer/plugins/shadow_dom_plugin_placeholder.h" |
46 #include "chrome/renderer/prefetch_helper.h" | 46 #include "chrome/renderer/prefetch_helper.h" |
47 #include "chrome/renderer/prerender/prerender_dispatcher.h" | 47 #include "chrome/renderer/prerender/prerender_dispatcher.h" |
48 #include "chrome/renderer/prerender/prerender_helper.h" | 48 #include "chrome/renderer/prerender/prerender_helper.h" |
49 #include "chrome/renderer/prerender/prerender_media_load_deferrer.h" | 49 #include "chrome/renderer/prerender/prerender_media_load_deferrer.h" |
50 #include "chrome/renderer/prerender/prerenderer_client.h" | 50 #include "chrome/renderer/prerender/prerenderer_client.h" |
51 #include "chrome/renderer/principals_extension_bindings.h" | 51 #include "chrome/renderer/principals_extension_bindings.h" |
52 #include "chrome/renderer/printing/print_web_view_helper.h" | |
53 #include "chrome/renderer/safe_browsing/malware_dom_details.h" | 52 #include "chrome/renderer/safe_browsing/malware_dom_details.h" |
54 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h" | 53 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h" |
55 #include "chrome/renderer/searchbox/search_bouncer.h" | 54 #include "chrome/renderer/searchbox/search_bouncer.h" |
56 #include "chrome/renderer/searchbox/searchbox.h" | 55 #include "chrome/renderer/searchbox/searchbox.h" |
57 #include "chrome/renderer/searchbox/searchbox_extension.h" | 56 #include "chrome/renderer/searchbox/searchbox_extension.h" |
58 #include "chrome/renderer/tts_dispatcher.h" | 57 #include "chrome/renderer/tts_dispatcher.h" |
59 #include "chrome/renderer/worker_permission_client_proxy.h" | 58 #include "chrome/renderer/worker_permission_client_proxy.h" |
60 #include "components/autofill/content/renderer/autofill_agent.h" | 59 #include "components/autofill/content/renderer/autofill_agent.h" |
61 #include "components/autofill/content/renderer/password_autofill_agent.h" | 60 #include "components/autofill/content/renderer/password_autofill_agent.h" |
62 #include "components/autofill/content/renderer/password_generation_agent.h" | 61 #include "components/autofill/content/renderer/password_generation_agent.h" |
63 #include "components/content_settings/core/common/content_settings_pattern.h" | 62 #include "components/content_settings/core/common/content_settings_pattern.h" |
64 #include "components/dns_prefetch/renderer/prescient_networking_dispatcher.h" | 63 #include "components/dns_prefetch/renderer/prescient_networking_dispatcher.h" |
65 #include "components/dom_distiller/core/url_constants.h" | 64 #include "components/dom_distiller/core/url_constants.h" |
66 #include "components/nacl/renderer/ppb_nacl_private_impl.h" | 65 #include "components/nacl/renderer/ppb_nacl_private_impl.h" |
67 #include "components/password_manager/content/renderer/credential_manager_client
.h" | 66 #include "components/password_manager/content/renderer/credential_manager_client
.h" |
68 #include "components/pdf/renderer/ppb_pdf_impl.h" | 67 #include "components/pdf/renderer/ppb_pdf_impl.h" |
69 #include "components/plugins/renderer/mobile_youtube_plugin.h" | 68 #include "components/plugins/renderer/mobile_youtube_plugin.h" |
| 69 #include "components/printing/renderer/print_web_view_helper.h" |
70 #include "components/signin/core/common/profile_management_switches.h" | 70 #include "components/signin/core/common/profile_management_switches.h" |
71 #include "components/visitedlink/renderer/visitedlink_slave.h" | 71 #include "components/visitedlink/renderer/visitedlink_slave.h" |
72 #include "components/web_cache/renderer/web_cache_render_process_observer.h" | 72 #include "components/web_cache/renderer/web_cache_render_process_observer.h" |
73 #include "content/public/common/content_constants.h" | 73 #include "content/public/common/content_constants.h" |
74 #include "content/public/renderer/render_frame.h" | 74 #include "content/public/renderer/render_frame.h" |
75 #include "content/public/renderer/render_thread.h" | 75 #include "content/public/renderer/render_thread.h" |
76 #include "content/public/renderer/render_view.h" | 76 #include "content/public/renderer/render_view.h" |
77 #include "content/public/renderer/render_view_visitor.h" | 77 #include "content/public/renderer/render_view_visitor.h" |
78 #include "extensions/common/constants.h" | 78 #include "extensions/common/constants.h" |
79 #include "ipc/ipc_sync_channel.h" | 79 #include "ipc/ipc_sync_channel.h" |
(...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1573 if (mime_type == content::kBrowserPluginMimeType) { | 1573 if (mime_type == content::kBrowserPluginMimeType) { |
1574 return new extensions::ExtensionsGuestViewContainer(render_frame); | 1574 return new extensions::ExtensionsGuestViewContainer(render_frame); |
1575 } else { | 1575 } else { |
1576 return new extensions::MimeHandlerViewContainer( | 1576 return new extensions::MimeHandlerViewContainer( |
1577 render_frame, mime_type, original_url); | 1577 render_frame, mime_type, original_url); |
1578 } | 1578 } |
1579 #else | 1579 #else |
1580 return NULL; | 1580 return NULL; |
1581 #endif | 1581 #endif |
1582 } | 1582 } |
OLD | NEW |