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

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

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « webkit/glue/dom_operations.cc ('k') | webkit/glue/dom_serializer.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 "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "net/base/net_util.h" 8 #include "net/base/net_util.h"
9 #include "net/url_request/url_request_context.h" 9 #include "net/url_request/url_request_context.h"
10 #include "webkit/api/public/WebView.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebView.h"
11 #include "webkit/glue/dom_operations.h" 11 #include "webkit/glue/dom_operations.h"
12 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" 12 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h"
13 #include "webkit/tools/test_shell/test_shell_test.h" 13 #include "webkit/tools/test_shell/test_shell_test.h"
14 14
15 namespace { 15 namespace {
16 16
17 class DomOperationsTests : public TestShellTest { 17 class DomOperationsTests : public TestShellTest {
18 public: 18 public:
19 // Test function GetAllSavableResourceLinksForCurrentPage with a web page. 19 // Test function GetAllSavableResourceLinksForCurrentPage with a web page.
20 // We expect result of GetAllSavableResourceLinksForCurrentPage exactly 20 // We expect result of GetAllSavableResourceLinksForCurrentPage exactly
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 } 175 }
176 if (sizes.size() > 1) { 176 if (sizes.size() > 1) {
177 ASSERT_EQ(data[i].width2, sizes[1].width()); 177 ASSERT_EQ(data[i].width2, sizes[1].width());
178 ASSERT_EQ(data[i].height2, sizes[1].height()); 178 ASSERT_EQ(data[i].height2, sizes[1].height());
179 } 179 }
180 } 180 }
181 } 181 }
182 } 182 }
183 183
184 } // namespace 184 } // namespace
OLDNEW
« no previous file with comments | « webkit/glue/dom_operations.cc ('k') | webkit/glue/dom_serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698