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 "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 "base/utf_string_conversions.h" |
8 #include "net/base/net_util.h" | 9 #include "net/base/net_util.h" |
9 #include "net/url_request/url_request_context.h" | 10 #include "net/url_request/url_request_context.h" |
10 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" | 11 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" |
11 #include "webkit/glue/dom_operations.h" | 12 #include "webkit/glue/dom_operations.h" |
12 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" | 13 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" |
13 #include "webkit/tools/test_shell/test_shell_test.h" | 14 #include "webkit/tools/test_shell/test_shell_test.h" |
14 | 15 |
15 namespace { | 16 namespace { |
16 | 17 |
17 class DomOperationsTests : public TestShellTest { | 18 class DomOperationsTests : public TestShellTest { |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 } | 176 } |
176 if (sizes.size() > 1) { | 177 if (sizes.size() > 1) { |
177 ASSERT_EQ(data[i].width2, sizes[1].width()); | 178 ASSERT_EQ(data[i].width2, sizes[1].width()); |
178 ASSERT_EQ(data[i].height2, sizes[1].height()); | 179 ASSERT_EQ(data[i].height2, sizes[1].height()); |
179 } | 180 } |
180 } | 181 } |
181 } | 182 } |
182 } | 183 } |
183 | 184 |
184 } // namespace | 185 } // namespace |
OLD | NEW |