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

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

Issue 6390006: Create autofill subdirectory in chrome/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/string_util.h" 5 #include "base/string_util.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/renderer/form_manager.h" 7 #include "chrome/renderer/autofill/form_manager.h"
8 #include "chrome/test/render_view_test.h" 8 #include "chrome/test/render_view_test.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h"
19 #include "webkit/glue/form_data.h" 19 #include "webkit/glue/form_data.h"
20 #include "webkit/glue/web_io_operators.h" 20 #include "webkit/glue/web_io_operators.h"
21 21
22 using autofill::FormManager;
23
22 using WebKit::WebDocument; 24 using WebKit::WebDocument;
23 using WebKit::WebElement; 25 using WebKit::WebElement;
24 using WebKit::WebFormControlElement; 26 using WebKit::WebFormControlElement;
25 using WebKit::WebFormElement; 27 using WebKit::WebFormElement;
26 using WebKit::WebFrame; 28 using WebKit::WebFrame;
27 using WebKit::WebInputElement; 29 using WebKit::WebInputElement;
28 using WebKit::WebSelectElement; 30 using WebKit::WebSelectElement;
29 using WebKit::WebNode; 31 using WebKit::WebNode;
30 using WebKit::WebString; 32 using WebKit::WebString;
31 using WebKit::WebVector; 33 using WebKit::WebVector;
(...skipping 3172 matching lines...) Expand 10 before | Expand all | Expand 10 after
3204 EXPECT_TRUE(fields[3].StrictlyEqualsHack( 3206 EXPECT_TRUE(fields[3].StrictlyEqualsHack(
3205 FormField(string16(), 3207 FormField(string16(),
3206 ASCIIToUTF16("reply-send"), 3208 ASCIIToUTF16("reply-send"),
3207 string16(), 3209 string16(),
3208 ASCIIToUTF16("submit"), 3210 ASCIIToUTF16("submit"),
3209 0, 3211 0,
3210 false))); 3212 false)));
3211 } 3213 }
3212 3214
3213 } // namespace 3215 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698