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

Unified Diff: webkit/glue/autofill_form.h

Issue 279001: Move autofill related WebView{Delegate} methods into the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/public/WebViewClient.h ('k') | webkit/glue/autofill_form.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/autofill_form.h
===================================================================
--- webkit/glue/autofill_form.h (revision 29209)
+++ webkit/glue/autofill_form.h (working copy)
@@ -25,12 +25,12 @@
// Struct for storing name/value pairs.
struct Element {
Element() {}
- Element(const std::wstring& in_name, const std::wstring& in_value) {
+ Element(const string16& in_name, const string16& in_value) {
name = in_name;
value = in_value;
}
- std::wstring name;
- std::wstring value;
+ string16 name;
+ string16 value;
};
static AutofillForm* Create(const WebKit::WebForm& form);
@@ -38,7 +38,7 @@
// Returns the name that should be used for the specified |element| when
// storing autofill data. This is either the field name or its id, an empty
// string if it has no name and no id.
- static std::wstring GetNameForInputElement(WebCore::HTMLInputElement*
+ static string16 GetNameForInputElement(WebCore::HTMLInputElement*
element);
// A vector of all the input fields in the form.
« no previous file with comments | « webkit/api/public/WebViewClient.h ('k') | webkit/glue/autofill_form.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698