Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: webkit/glue/dom_serializer_unittest.cc

Issue 293001: Delete glue/webview{_delegate}.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/dom_operations_unittest.cc ('k') | webkit/glue/dragclient_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 13 matching lines...) Expand all
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" 32 #include "webkit/api/public/WebData.h"
33 #include "webkit/api/public/WebURL.h" 33 #include "webkit/api/public/WebURL.h"
34 #include "webkit/api/public/WebView.h"
34 #include "webkit/glue/dom_operations.h" 35 #include "webkit/glue/dom_operations.h"
35 #include "webkit/glue/dom_operations_private.h" 36 #include "webkit/glue/dom_operations_private.h"
36 #include "webkit/glue/dom_serializer.h" 37 #include "webkit/glue/dom_serializer.h"
37 #include "webkit/glue/dom_serializer_delegate.h" 38 #include "webkit/glue/dom_serializer_delegate.h"
38 #include "webkit/glue/glue_util.h" 39 #include "webkit/glue/glue_util.h"
39 #include "webkit/glue/webframe_impl.h" 40 #include "webkit/glue/webframe_impl.h"
40 #include "webkit/glue/webview.h"
41 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" 41 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h"
42 #include "webkit/tools/test_shell/test_shell_test.h" 42 #include "webkit/tools/test_shell/test_shell_test.h"
43 43
44 namespace { 44 namespace {
45 45
46 class DomSerializerTests : public TestShellTest, 46 class DomSerializerTests : public TestShellTest,
47 public webkit_glue::DomSerializerDelegate { 47 public webkit_glue::DomSerializerDelegate {
48 public: 48 public:
49 DomSerializerTests() 49 DomSerializerTests()
50 : local_directory_name_(FILE_PATH_LITERAL("./dummy_files/")) { } 50 : local_directory_name_(FILE_PATH_LITERAL("./dummy_files/")) { }
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 // "hello world" 809 // "hello world"
810 WebCore::HTMLElement* body_ele = doc->body(); 810 WebCore::HTMLElement* body_ele = doc->body();
811 ASSERT_TRUE(body_ele != NULL); 811 ASSERT_TRUE(body_ele != NULL);
812 WebCore::Node* text_node = body_ele->firstChild(); 812 WebCore::Node* text_node = body_ele->firstChild();
813 ASSERT_TRUE(text_node->isTextNode()); 813 ASSERT_TRUE(text_node->isTextNode());
814 const WebCore::String& text_node_contents = text_node->nodeValue(); 814 const WebCore::String& text_node_contents = text_node->nodeValue();
815 ASSERT_TRUE(text_node_contents == WebCore::String("hello world")); 815 ASSERT_TRUE(text_node_contents == WebCore::String("hello world"));
816 } 816 }
817 817
818 } // namespace 818 } // namespace
OLDNEW
« no previous file with comments | « webkit/glue/dom_operations_unittest.cc ('k') | webkit/glue/dragclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698