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

Side by Side Diff: chrome/renderer/autofill/form_autofill_browsertest.cc

Issue 15949025: In components/autofill, move renderer/ to content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to reviews Created 7 years, 6 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
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/autofill/page_click_tracker_browsertest.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/format_macros.h" 7 #include "base/format_macros.h"
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "chrome/test/base/chrome_render_view_test.h" 12 #include "chrome/test/base/chrome_render_view_test.h"
13 #include "components/autofill/common/form_data.h" 13 #include "components/autofill/common/form_data.h"
14 #include "components/autofill/common/web_element_descriptor.h" 14 #include "components/autofill/common/web_element_descriptor.h"
15 #include "components/autofill/renderer/form_autofill_util.h" 15 #include "components/autofill/content/renderer/form_autofill_util.h"
16 #include "components/autofill/renderer/form_cache.h" 16 #include "components/autofill/content/renderer/form_cache.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "third_party/WebKit/public/platform/WebString.h"
19 #include "third_party/WebKit/public/platform/WebVector.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h"
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h"
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h"
25 #include "third_party/WebKit/public/platform/WebString.h"
26 #include "third_party/WebKit/public/platform/WebVector.h"
27 #include "webkit/glue/web_io_operators.h" 27 #include "webkit/glue/web_io_operators.h"
28 28
29 using WebKit::WebDocument; 29 using WebKit::WebDocument;
30 using WebKit::WebElement; 30 using WebKit::WebElement;
31 using WebKit::WebFormControlElement; 31 using WebKit::WebFormControlElement;
32 using WebKit::WebFormElement; 32 using WebKit::WebFormElement;
33 using WebKit::WebFrame; 33 using WebKit::WebFrame;
34 using WebKit::WebInputElement; 34 using WebKit::WebInputElement;
35 using WebKit::WebSelectElement; 35 using WebKit::WebSelectElement;
36 using WebKit::WebNode; 36 using WebKit::WebNode;
(...skipping 3060 matching lines...) Expand 10 before | Expand all | Expand 10 after
3097 EXPECT_FORM_FIELD_DATA_EQUALS(expected, fields[1]); 3097 EXPECT_FORM_FIELD_DATA_EQUALS(expected, fields[1]);
3098 3098
3099 expected.name = ASCIIToUTF16("country"); 3099 expected.name = ASCIIToUTF16("country");
3100 expected.value = ASCIIToUTF16("AL"); 3100 expected.value = ASCIIToUTF16("AL");
3101 expected.form_control_type = "select-one"; 3101 expected.form_control_type = "select-one";
3102 expected.max_length = 0; 3102 expected.max_length = 0;
3103 EXPECT_FORM_FIELD_DATA_EQUALS(expected, fields[2]); 3103 EXPECT_FORM_FIELD_DATA_EQUALS(expected, fields[2]);
3104 } 3104 }
3105 3105
3106 } // namespace autofill 3106 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/autofill/page_click_tracker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698