| 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/file_util.h" | 9 #include "base/file_util.h" |
| 9 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 10 #include "base/hash_tables.h" | |
| 11 #include "base/string_util.h" | 11 #include "base/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/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" | |
| 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
| 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
| 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeCollection.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeCollection.h" |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeList.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeList.h" |
| 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializer.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializer.h" |
| 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClie
nt.h" |
| 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/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 #include "webkit/base/file_path_string_conversions.h" | 37 #include "webkit/base/file_path_string_conversions.h" |
| 38 | 38 |
| 39 using WebKit::WebCString; | 39 using WebKit::WebCString; |
| 40 using WebKit::WebData; | 40 using WebKit::WebData; |
| 41 using WebKit::WebDocument; | 41 using WebKit::WebDocument; |
| 42 using WebKit::WebElement; | 42 using WebKit::WebElement; |
| 43 using WebKit::WebFrame; | 43 using WebKit::WebFrame; |
| 44 using WebKit::WebNode; | 44 using WebKit::WebNode; |
| 45 using WebKit::WebNodeCollection; | 45 using WebKit::WebNodeCollection; |
| 46 using WebKit::WebNodeList; | 46 using WebKit::WebNodeList; |
| (...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 NavigateToURL(shell(), file_url); | 1008 NavigateToURL(shell(), file_url); |
| 1009 | 1009 |
| 1010 PostTaskToInProcessRendererAndWait( | 1010 PostTaskToInProcessRendererAndWait( |
| 1011 base::Bind( | 1011 base::Bind( |
| 1012 &DomSerializerTests:: | 1012 &DomSerializerTests:: |
| 1013 SubResourceForElementsInNonHTMLNamespaceOnRenderer, | 1013 SubResourceForElementsInNonHTMLNamespaceOnRenderer, |
| 1014 base::Unretained(this), file_url)); | 1014 base::Unretained(this), file_url)); |
| 1015 } | 1015 } |
| 1016 | 1016 |
| 1017 } // namespace content | 1017 } // namespace content |
| OLD | NEW |