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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 #include "chrome/renderer/searchbox/search_bouncer.h" | 54 #include "chrome/renderer/searchbox/search_bouncer.h" |
55 #include "chrome/renderer/searchbox/searchbox.h" | 55 #include "chrome/renderer/searchbox/searchbox.h" |
56 #include "chrome/renderer/searchbox/searchbox_extension.h" | 56 #include "chrome/renderer/searchbox/searchbox_extension.h" |
57 #include "chrome/renderer/tts_dispatcher.h" | 57 #include "chrome/renderer/tts_dispatcher.h" |
58 #include "chrome/renderer/worker_permission_client_proxy.h" | 58 #include "chrome/renderer/worker_permission_client_proxy.h" |
59 #include "components/autofill/content/renderer/autofill_agent.h" | 59 #include "components/autofill/content/renderer/autofill_agent.h" |
60 #include "components/autofill/content/renderer/password_autofill_agent.h" | 60 #include "components/autofill/content/renderer/password_autofill_agent.h" |
61 #include "components/autofill/content/renderer/password_generation_agent.h" | 61 #include "components/autofill/content/renderer/password_generation_agent.h" |
62 #include "components/content_settings/core/common/content_settings_pattern.h" | 62 #include "components/content_settings/core/common/content_settings_pattern.h" |
63 #include "components/dom_distiller/core/url_constants.h" | 63 #include "components/dom_distiller/core/url_constants.h" |
| 64 #include "components/nacl/renderer/ppb_nacl_private.h" |
64 #include "components/nacl/renderer/ppb_nacl_private_impl.h" | 65 #include "components/nacl/renderer/ppb_nacl_private_impl.h" |
65 #include "components/network_hints/renderer/prescient_networking_dispatcher.h" | 66 #include "components/network_hints/renderer/prescient_networking_dispatcher.h" |
66 #include "components/password_manager/content/renderer/credential_manager_client
.h" | 67 #include "components/password_manager/content/renderer/credential_manager_client
.h" |
67 #include "components/pdf/renderer/ppb_pdf_impl.h" | 68 #include "components/pdf/renderer/ppb_pdf_impl.h" |
68 #include "components/plugins/renderer/mobile_youtube_plugin.h" | 69 #include "components/plugins/renderer/mobile_youtube_plugin.h" |
69 #include "components/signin/core/common/profile_management_switches.h" | 70 #include "components/signin/core/common/profile_management_switches.h" |
70 #include "components/visitedlink/renderer/visitedlink_slave.h" | 71 #include "components/visitedlink/renderer/visitedlink_slave.h" |
71 #include "components/web_cache/renderer/web_cache_render_process_observer.h" | 72 #include "components/web_cache/renderer/web_cache_render_process_observer.h" |
72 #include "content/public/common/content_constants.h" | 73 #include "content/public/common/content_constants.h" |
73 #include "content/public/renderer/plugin_instance_throttler.h" | 74 #include "content/public/renderer/plugin_instance_throttler.h" |
74 #include "content/public/renderer/render_frame.h" | 75 #include "content/public/renderer/render_frame.h" |
75 #include "content/public/renderer/render_thread.h" | 76 #include "content/public/renderer/render_thread.h" |
76 #include "content/public/renderer/render_view.h" | 77 #include "content/public/renderer/render_view.h" |
77 #include "content/public/renderer/render_view_visitor.h" | 78 #include "content/public/renderer/render_view_visitor.h" |
78 #include "extensions/common/constants.h" | 79 #include "extensions/common/constants.h" |
79 #include "ipc/ipc_sync_channel.h" | 80 #include "ipc/ipc_sync_channel.h" |
80 #include "net/base/net_errors.h" | 81 #include "net/base/net_errors.h" |
81 #include "ppapi/c/private/ppb_nacl_private.h" | |
82 #include "ppapi/c/private/ppb_pdf.h" | 82 #include "ppapi/c/private/ppb_pdf.h" |
83 #include "ppapi/shared_impl/ppapi_switches.h" | 83 #include "ppapi/shared_impl/ppapi_switches.h" |
84 #include "third_party/WebKit/public/platform/WebURL.h" | 84 #include "third_party/WebKit/public/platform/WebURL.h" |
85 #include "third_party/WebKit/public/platform/WebURLError.h" | 85 #include "third_party/WebKit/public/platform/WebURLError.h" |
86 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 86 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
87 #include "third_party/WebKit/public/web/WebCache.h" | 87 #include "third_party/WebKit/public/web/WebCache.h" |
88 #include "third_party/WebKit/public/web/WebDataSource.h" | 88 #include "third_party/WebKit/public/web/WebDataSource.h" |
89 #include "third_party/WebKit/public/web/WebDocument.h" | 89 #include "third_party/WebKit/public/web/WebDocument.h" |
90 #include "third_party/WebKit/public/web/WebElement.h" | 90 #include "third_party/WebKit/public/web/WebElement.h" |
91 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 91 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1598 if (mime_type == content::kBrowserPluginMimeType) { | 1598 if (mime_type == content::kBrowserPluginMimeType) { |
1599 return new extensions::ExtensionsGuestViewContainer(render_frame); | 1599 return new extensions::ExtensionsGuestViewContainer(render_frame); |
1600 } else { | 1600 } else { |
1601 return new extensions::MimeHandlerViewContainer( | 1601 return new extensions::MimeHandlerViewContainer( |
1602 render_frame, mime_type, original_url); | 1602 render_frame, mime_type, original_url); |
1603 } | 1603 } |
1604 #else | 1604 #else |
1605 return NULL; | 1605 return NULL; |
1606 #endif | 1606 #endif |
1607 } | 1607 } |
OLD | NEW |