| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <vector> | 5 #include <vector> |
| 6 | 6 |
| 7 #include "base/string16.h" | 7 #include "base/string16.h" |
| 8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "chrome/renderer/autofill/form_manager.h" | 10 #include "chrome/renderer/autofill/form_manager.h" |
| 11 #include "chrome/test/render_view_test.h" | 11 #include "chrome/test/base/render_view_test.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" |
| 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" |
| 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
| 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h" |
| 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" |
| 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" |
| (...skipping 3294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3316 WebInputElement::defaultMaxLength(), | 3316 WebInputElement::defaultMaxLength(), |
| 3317 false))); | 3317 false))); |
| 3318 EXPECT_TRUE(fields[2].StrictlyEqualsHack( | 3318 EXPECT_TRUE(fields[2].StrictlyEqualsHack( |
| 3319 FormField(string16(), | 3319 FormField(string16(), |
| 3320 ASCIIToUTF16("country"), | 3320 ASCIIToUTF16("country"), |
| 3321 ASCIIToUTF16("AL"), | 3321 ASCIIToUTF16("AL"), |
| 3322 ASCIIToUTF16("select-one"), | 3322 ASCIIToUTF16("select-one"), |
| 3323 0, | 3323 0, |
| 3324 false))); | 3324 false))); |
| 3325 } | 3325 } |
| OLD | NEW |