OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
13 #include "content/public/common/content_switches.h" | 13 #include "content/public/common/content_switches.h" |
14 #include "content/public/renderer/render_view.h" | 14 #include "content/public/renderer/render_view.h" |
15 #include "content/public/renderer/render_view_observer.h" | 15 #include "content/public/renderer/render_view_observer.h" |
16 #include "content/public/test/test_utils.h" | 16 #include "content/public/test/test_utils.h" |
17 #include "content/renderer/savable_resources.h" | 17 #include "content/renderer/savable_resources.h" |
18 #include "content/shell/shell.h" | 18 #include "content/shell/browser/shell.h" |
19 #include "content/test/content_browser_test.h" | 19 #include "content/test/content_browser_test.h" |
20 #include "content/test/content_browser_test_utils.h" | 20 #include "content/test/content_browser_test_utils.h" |
21 #include "net/base/net_util.h" | 21 #include "net/base/net_util.h" |
22 #include "net/url_request/url_request_context.h" | 22 #include "net/url_request/url_request_context.h" |
| 23 #include "third_party/WebKit/public/platform/WebCString.h" |
| 24 #include "third_party/WebKit/public/platform/WebData.h" |
| 25 #include "third_party/WebKit/public/platform/WebString.h" |
| 26 #include "third_party/WebKit/public/platform/WebURL.h" |
| 27 #include "third_party/WebKit/public/platform/WebVector.h" |
23 #include "third_party/WebKit/public/web/WebDocument.h" | 28 #include "third_party/WebKit/public/web/WebDocument.h" |
24 #include "third_party/WebKit/public/web/WebElement.h" | 29 #include "third_party/WebKit/public/web/WebElement.h" |
25 #include "third_party/WebKit/public/web/WebFrame.h" | 30 #include "third_party/WebKit/public/web/WebFrame.h" |
26 #include "third_party/WebKit/public/web/WebNode.h" | 31 #include "third_party/WebKit/public/web/WebNode.h" |
27 #include "third_party/WebKit/public/web/WebNodeCollection.h" | 32 #include "third_party/WebKit/public/web/WebNodeCollection.h" |
28 #include "third_party/WebKit/public/web/WebNodeList.h" | 33 #include "third_party/WebKit/public/web/WebNodeList.h" |
29 #include "third_party/WebKit/public/web/WebPageSerializer.h" | 34 #include "third_party/WebKit/public/web/WebPageSerializer.h" |
30 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" | 35 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" |
31 #include "third_party/WebKit/public/web/WebView.h" | 36 #include "third_party/WebKit/public/web/WebView.h" |
32 #include "third_party/WebKit/public/platform/WebCString.h" | |
33 #include "third_party/WebKit/public/platform/WebData.h" | |
34 #include "third_party/WebKit/public/platform/WebString.h" | |
35 #include "third_party/WebKit/public/platform/WebURL.h" | |
36 #include "third_party/WebKit/public/platform/WebVector.h" | |
37 | 37 |
38 using WebKit::WebCString; | 38 using WebKit::WebCString; |
39 using WebKit::WebData; | 39 using WebKit::WebData; |
40 using WebKit::WebDocument; | 40 using WebKit::WebDocument; |
41 using WebKit::WebElement; | 41 using WebKit::WebElement; |
42 using WebKit::WebFrame; | 42 using WebKit::WebFrame; |
43 using WebKit::WebNode; | 43 using WebKit::WebNode; |
44 using WebKit::WebNodeCollection; | 44 using WebKit::WebNodeCollection; |
45 using WebKit::WebNodeList; | 45 using WebKit::WebNodeList; |
46 using WebKit::WebPageSerializer; | 46 using WebKit::WebPageSerializer; |
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 NavigateToURL(shell(), file_url); | 1007 NavigateToURL(shell(), file_url); |
1008 | 1008 |
1009 PostTaskToInProcessRendererAndWait( | 1009 PostTaskToInProcessRendererAndWait( |
1010 base::Bind( | 1010 base::Bind( |
1011 &DomSerializerTests:: | 1011 &DomSerializerTests:: |
1012 SubResourceForElementsInNonHTMLNamespaceOnRenderer, | 1012 SubResourceForElementsInNonHTMLNamespaceOnRenderer, |
1013 base::Unretained(this), file_url)); | 1013 base::Unretained(this), file_url)); |
1014 } | 1014 } |
1015 | 1015 |
1016 } // namespace content | 1016 } // namespace content |
OLD | NEW |