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