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

Unified Diff: chrome/browser/autofill/select_control_handler_unittest.cc

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/select_control_handler.cc ('k') | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/select_control_handler_unittest.cc
diff --git a/chrome/browser/autofill/select_control_handler_unittest.cc b/chrome/browser/autofill/select_control_handler_unittest.cc
index fc7577cdf91c3f04951c7f43af7437d0b7a3bb92..297765552fcbc530fdbe6983f0657e124cfa20f5 100644
--- a/chrome/browser/autofill/select_control_handler_unittest.cc
+++ b/chrome/browser/autofill/select_control_handler_unittest.cc
@@ -9,7 +9,7 @@
#include "chrome/browser/autofill/credit_card.h"
#include "chrome/browser/autofill/select_control_handler.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/glue/form_field.h"
+#include "webkit/forms/form_field.h"
typedef testing::Test SelectControlHandlerTest;
@@ -21,7 +21,7 @@ TEST_F(SelectControlHandlerTest, CreditCardMonthExact) {
for (size_t i = 0; i < arraysize(kMonthsNumeric); ++i)
options[i] = ASCIIToUTF16(kMonthsNumeric[i]);
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = options;
field.option_contents = options;
@@ -41,7 +41,7 @@ TEST_F(SelectControlHandlerTest, CreditCardMonthAbbreviated) {
for (size_t i = 0; i < arraysize(kMonthsAbbreviated); ++i)
options[i] = ASCIIToUTF16(kMonthsAbbreviated[i]);
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = options;
field.option_contents = options;
@@ -61,7 +61,7 @@ TEST_F(SelectControlHandlerTest, CreditCardMonthFull) {
for (size_t i = 0; i < arraysize(kMonthsFull); ++i)
options[i] = ASCIIToUTF16(kMonthsFull[i]);
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = options;
field.option_contents = options;
@@ -80,7 +80,7 @@ TEST_F(SelectControlHandlerTest, CreditCardMonthNumeric) {
for (size_t i = 0; i < arraysize(kMonthsNumeric); ++i)
options[i] = ASCIIToUTF16(kMonthsNumeric[i]);
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = options;
field.option_contents = options;
@@ -99,7 +99,7 @@ TEST_F(SelectControlHandlerTest, AddressCountryFull) {
for (size_t i = 0; i < arraysize(kCountries); ++i)
options[i] = ASCIIToUTF16(kCountries[i]);
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = options;
field.option_contents = options;
@@ -118,7 +118,7 @@ TEST_F(SelectControlHandlerTest, AddressCountryAbbrev) {
for (size_t i = 0; i < arraysize(kCountries); ++i)
options[i] = ASCIIToUTF16(kCountries[i]);
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = options;
field.option_contents = options;
@@ -137,7 +137,7 @@ TEST_F(SelectControlHandlerTest, AddressStateFull) {
for (size_t i = 0; i < arraysize(kStates); ++i)
options[i] = ASCIIToUTF16(kStates[i]);
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = options;
field.option_contents = options;
@@ -156,7 +156,7 @@ TEST_F(SelectControlHandlerTest, AddressStateAbbrev) {
for (size_t i = 0; i < arraysize(kStates); ++i)
options[i] = ASCIIToUTF16(kStates[i]);
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = options;
field.option_contents = options;
@@ -178,7 +178,7 @@ TEST_F(SelectControlHandlerTest, FillByValue) {
contents[i] = ASCIIToUTF16(base::StringPrintf("%d", static_cast<int>(i)));
}
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = values;
field.option_contents = contents;
@@ -200,7 +200,7 @@ TEST_F(SelectControlHandlerTest, FillByContents) {
contents[i] = ASCIIToUTF16(kStates[i]);
}
- webkit_glue::FormField field;
+ webkit::forms::FormField field;
field.form_control_type = ASCIIToUTF16("select-one");
field.option_values = values;
field.option_contents = contents;
« no previous file with comments | « chrome/browser/autofill/select_control_handler.cc ('k') | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698