OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 | 8 |
9 MSVC_PUSH_WARNING_LEVEL(0); | 9 MSVC_PUSH_WARNING_LEVEL(0); |
10 #include "Document.h" | 10 #include "Document.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "SubstituteData.h" | 22 #include "SubstituteData.h" |
23 MSVC_POP_WARNING(); | 23 MSVC_POP_WARNING(); |
24 #undef LOG | 24 #undef LOG |
25 | 25 |
26 #include "base/file_path.h" | 26 #include "base/file_path.h" |
27 #include "base/file_util.h" | 27 #include "base/file_util.h" |
28 #include "base/hash_tables.h" | 28 #include "base/hash_tables.h" |
29 #include "base/string_util.h" | 29 #include "base/string_util.h" |
30 #include "net/base/net_util.h" | 30 #include "net/base/net_util.h" |
31 #include "net/url_request/url_request_context.h" | 31 #include "net/url_request/url_request_context.h" |
| 32 #include "webkit/api/public/WebData.h" |
| 33 #include "webkit/api/public/WebURL.h" |
32 #include "webkit/glue/dom_operations.h" | 34 #include "webkit/glue/dom_operations.h" |
33 #include "webkit/glue/dom_operations_private.h" | 35 #include "webkit/glue/dom_operations_private.h" |
34 #include "webkit/glue/dom_serializer.h" | 36 #include "webkit/glue/dom_serializer.h" |
35 #include "webkit/glue/dom_serializer_delegate.h" | 37 #include "webkit/glue/dom_serializer_delegate.h" |
36 #include "webkit/glue/glue_util.h" | 38 #include "webkit/glue/glue_util.h" |
37 #include "webkit/glue/webframe.h" | 39 #include "webkit/glue/webframe.h" |
38 #include "webkit/glue/webframe_impl.h" | 40 #include "webkit/glue/webframe_impl.h" |
39 #include "webkit/glue/webview.h" | 41 #include "webkit/glue/webview.h" |
40 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" | 42 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" |
41 #include "webkit/tools/test_shell/test_shell_test.h" | 43 #include "webkit/tools/test_shell/test_shell_test.h" |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
810 // "hello world" | 812 // "hello world" |
811 WebCore::HTMLElement* body_ele = doc->body(); | 813 WebCore::HTMLElement* body_ele = doc->body(); |
812 ASSERT_TRUE(body_ele != NULL); | 814 ASSERT_TRUE(body_ele != NULL); |
813 WebCore::Node* text_node = body_ele->firstChild(); | 815 WebCore::Node* text_node = body_ele->firstChild(); |
814 ASSERT_TRUE(text_node->isTextNode()); | 816 ASSERT_TRUE(text_node->isTextNode()); |
815 const WebCore::String& text_node_contents = text_node->nodeValue(); | 817 const WebCore::String& text_node_contents = text_node->nodeValue(); |
816 ASSERT_TRUE(text_node_contents == WebCore::String("hello world")); | 818 ASSERT_TRUE(text_node_contents == WebCore::String("hello world")); |
817 } | 819 } |
818 | 820 |
819 } // namespace | 821 } // namespace |
OLD | NEW |