| 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/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 #include "content/public/common/content_constants.h" | 69 #include "content/public/common/content_constants.h" |
| 70 #include "content/public/renderer/render_thread.h" | 70 #include "content/public/renderer/render_thread.h" |
| 71 #include "content/public/renderer/render_view.h" | 71 #include "content/public/renderer/render_view.h" |
| 72 #include "content/public/renderer/render_view_visitor.h" | 72 #include "content/public/renderer/render_view_visitor.h" |
| 73 #include "extensions/common/constants.h" | 73 #include "extensions/common/constants.h" |
| 74 #include "grit/generated_resources.h" | 74 #include "grit/generated_resources.h" |
| 75 #include "grit/locale_settings.h" | 75 #include "grit/locale_settings.h" |
| 76 #include "grit/renderer_resources.h" | 76 #include "grit/renderer_resources.h" |
| 77 #include "ipc/ipc_sync_channel.h" | 77 #include "ipc/ipc_sync_channel.h" |
| 78 #include "net/base/net_errors.h" | 78 #include "net/base/net_errors.h" |
| 79 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 79 #include "third_party/WebKit/public/platform/WebURL.h" |
| 80 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h" | 80 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 81 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" | 81 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 82 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 82 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
| 83 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" | 83 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" |
| 84 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 84 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 85 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 85 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
| 86 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 86 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 87 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" | 87 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" |
| 88 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" | 88 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" |
| 89 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" | 89 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" |
| 90 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" | 90 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityPolicy.h" |
| 91 #include "ui/base/l10n/l10n_util.h" | 91 #include "ui/base/l10n/l10n_util.h" |
| (...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1176 | 1176 |
| 1177 if (container->element().shadowHost().isNull()) | 1177 if (container->element().shadowHost().isNull()) |
| 1178 return false; | 1178 return false; |
| 1179 | 1179 |
| 1180 WebString tag_name = container->element().shadowHost().tagName(); | 1180 WebString tag_name = container->element().shadowHost().tagName(); |
| 1181 return tag_name.equals(WebString::fromUTF8(kWebViewTagName)) || | 1181 return tag_name.equals(WebString::fromUTF8(kWebViewTagName)) || |
| 1182 tag_name.equals(WebString::fromUTF8(kAdViewTagName)); | 1182 tag_name.equals(WebString::fromUTF8(kAdViewTagName)); |
| 1183 } | 1183 } |
| 1184 | 1184 |
| 1185 } // namespace chrome | 1185 } // namespace chrome |
| OLD | NEW |