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" |
11 #include "base/string_util.h" | |
12 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 12 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 #include "chrome/common/child_process_logging.h" | 15 #include "chrome/common/child_process_logging.h" |
16 #include "chrome/common/chrome_content_client.h" | 16 #include "chrome/common/chrome_content_client.h" |
17 #include "chrome/common/chrome_paths.h" | 17 #include "chrome/common/chrome_paths.h" |
18 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
19 #include "chrome/common/content_settings_pattern.h" | 19 #include "chrome/common/content_settings_pattern.h" |
20 #include "chrome/common/extensions/chrome_manifest_handlers.h" | 20 #include "chrome/common/extensions/chrome_manifest_handlers.h" |
21 #include "chrome/common/extensions/extension.h" | 21 #include "chrome/common/extensions/extension.h" |
22 #include "chrome/common/extensions/extension_constants.h" | 22 #include "chrome/common/extensions/extension_constants.h" |
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1205 | 1205 |
1206 if (container->element().shadowHost().isNull()) | 1206 if (container->element().shadowHost().isNull()) |
1207 return false; | 1207 return false; |
1208 | 1208 |
1209 WebString tag_name = container->element().shadowHost().tagName(); | 1209 WebString tag_name = container->element().shadowHost().tagName(); |
1210 return tag_name.equals(WebString::fromUTF8(kWebViewTagName)) || | 1210 return tag_name.equals(WebString::fromUTF8(kWebViewTagName)) || |
1211 tag_name.equals(WebString::fromUTF8(kAdViewTagName)); | 1211 tag_name.equals(WebString::fromUTF8(kAdViewTagName)); |
1212 } | 1212 } |
1213 | 1213 |
1214 } // namespace chrome | 1214 } // namespace chrome |
OLD | NEW |