| 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 12 matching lines...) Expand all Loading... |
| 23 #include "chrome/common/extensions/extension_constants.h" | 23 #include "chrome/common/extensions/extension_constants.h" |
| 24 #include "chrome/common/extensions/extension_process_policy.h" | 24 #include "chrome/common/extensions/extension_process_policy.h" |
| 25 #include "chrome/common/localized_error.h" | 25 #include "chrome/common/localized_error.h" |
| 26 #include "chrome/common/pepper_permission_util.h" | 26 #include "chrome/common/pepper_permission_util.h" |
| 27 #include "chrome/common/render_messages.h" | 27 #include "chrome/common/render_messages.h" |
| 28 #include "chrome/common/url_constants.h" | 28 #include "chrome/common/url_constants.h" |
| 29 #include "chrome/grit/generated_resources.h" | 29 #include "chrome/grit/generated_resources.h" |
| 30 #include "chrome/grit/locale_settings.h" | 30 #include "chrome/grit/locale_settings.h" |
| 31 #include "chrome/grit/renderer_resources.h" | 31 #include "chrome/grit/renderer_resources.h" |
| 32 #include "chrome/renderer/benchmarking_extension.h" | 32 #include "chrome/renderer/benchmarking_extension.h" |
| 33 #include "chrome/renderer/browser_plugin/chrome_browser_plugin_delegate.h" | |
| 34 #include "chrome/renderer/chrome_render_frame_observer.h" | 33 #include "chrome/renderer/chrome_render_frame_observer.h" |
| 35 #include "chrome/renderer/chrome_render_process_observer.h" | 34 #include "chrome/renderer/chrome_render_process_observer.h" |
| 36 #include "chrome/renderer/chrome_render_view_observer.h" | 35 #include "chrome/renderer/chrome_render_view_observer.h" |
| 37 #include "chrome/renderer/content_settings_observer.h" | 36 #include "chrome/renderer/content_settings_observer.h" |
| 38 #include "chrome/renderer/extensions/chrome_extensions_renderer_client.h" | 37 #include "chrome/renderer/extensions/chrome_extensions_renderer_client.h" |
| 39 #include "chrome/renderer/external_extension.h" | 38 #include "chrome/renderer/external_extension.h" |
| 40 #include "chrome/renderer/loadtimes_extension_bindings.h" | 39 #include "chrome/renderer/loadtimes_extension_bindings.h" |
| 41 #include "chrome/renderer/media/cast_ipc_dispatcher.h" | 40 #include "chrome/renderer/media/cast_ipc_dispatcher.h" |
| 42 #include "chrome/renderer/media/chrome_key_systems.h" | 41 #include "chrome/renderer/media/chrome_key_systems.h" |
| 43 #include "chrome/renderer/net/net_error_helper.h" | 42 #include "chrome/renderer/net/net_error_helper.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 #include "content/public/common/content_constants.h" | 77 #include "content/public/common/content_constants.h" |
| 79 #include "content/public/renderer/render_frame.h" | 78 #include "content/public/renderer/render_frame.h" |
| 80 #include "content/public/renderer/render_thread.h" | 79 #include "content/public/renderer/render_thread.h" |
| 81 #include "content/public/renderer/render_view.h" | 80 #include "content/public/renderer/render_view.h" |
| 82 #include "content/public/renderer/render_view_visitor.h" | 81 #include "content/public/renderer/render_view_visitor.h" |
| 83 #include "extensions/common/constants.h" | 82 #include "extensions/common/constants.h" |
| 84 #include "extensions/common/extension.h" | 83 #include "extensions/common/extension.h" |
| 85 #include "extensions/common/extension_set.h" | 84 #include "extensions/common/extension_set.h" |
| 86 #include "extensions/common/extension_urls.h" | 85 #include "extensions/common/extension_urls.h" |
| 87 #include "extensions/common/switches.h" | 86 #include "extensions/common/switches.h" |
| 87 #include "extensions/renderer/guest_view/guest_view_container.h" |
| 88 #include "ipc/ipc_sync_channel.h" | 88 #include "ipc/ipc_sync_channel.h" |
| 89 #include "net/base/net_errors.h" | 89 #include "net/base/net_errors.h" |
| 90 #include "ppapi/c/private/ppb_nacl_private.h" | 90 #include "ppapi/c/private/ppb_nacl_private.h" |
| 91 #include "ppapi/c/private/ppb_pdf.h" | 91 #include "ppapi/c/private/ppb_pdf.h" |
| 92 #include "ppapi/shared_impl/ppapi_switches.h" | 92 #include "ppapi/shared_impl/ppapi_switches.h" |
| 93 #include "third_party/WebKit/public/platform/WebURL.h" | 93 #include "third_party/WebKit/public/platform/WebURL.h" |
| 94 #include "third_party/WebKit/public/platform/WebURLError.h" | 94 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 95 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 95 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 96 #include "third_party/WebKit/public/web/WebCache.h" | 96 #include "third_party/WebKit/public/web/WebCache.h" |
| 97 #include "third_party/WebKit/public/web/WebDataSource.h" | 97 #include "third_party/WebKit/public/web/WebDataSource.h" |
| (...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1564 return channel <= chrome::VersionInfo::CHANNEL_DEV; | 1564 return channel <= chrome::VersionInfo::CHANNEL_DEV; |
| 1565 #else | 1565 #else |
| 1566 return false; | 1566 return false; |
| 1567 #endif | 1567 #endif |
| 1568 } | 1568 } |
| 1569 | 1569 |
| 1570 content::BrowserPluginDelegate* | 1570 content::BrowserPluginDelegate* |
| 1571 ChromeContentRendererClient::CreateBrowserPluginDelegate( | 1571 ChromeContentRendererClient::CreateBrowserPluginDelegate( |
| 1572 content::RenderFrame* render_frame, | 1572 content::RenderFrame* render_frame, |
| 1573 const std::string& mime_type) { | 1573 const std::string& mime_type) { |
| 1574 return new ChromeBrowserPluginDelegate(render_frame, mime_type); | 1574 return new GuestViewContainer(render_frame, mime_type); |
| 1575 } | 1575 } |
| OLD | NEW |