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

Unified Diff: webkit/glue/form_data.h

Issue 3226001: Detecting form locale (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Unit test for top websites Created 10 years, 3 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/glue/dom_operations.cc ('k') | webkit/glue/form_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/form_data.h
diff --git a/webkit/glue/form_data.h b/webkit/glue/form_data.h
index f0011c7234e38a362cd4247b96ef2d45a4e1004b..d62599172b0f0e6874adb8e9e05c0da98aa14c83 100644
--- a/webkit/glue/form_data.h
+++ b/webkit/glue/form_data.h
@@ -5,9 +5,10 @@
#ifndef WEBKIT_GLUE_FORM_DATA_H__
#define WEBKIT_GLUE_FORM_DATA_H__
+#include <string>
#include <vector>
-#include "base/string_util.h"
+#include "base/string16.h"
#include "googleurl/src/gurl.h"
#include "webkit/glue/form_field.h"
@@ -23,6 +24,8 @@ struct FormData {
GURL origin;
// The action target of the form.
GURL action;
+ // The locale of the form, according to the DOM.
+ std::string locale;
// true if this form was submitted by a user gesture and not javascript.
bool user_submitted;
// A vector of all the input fields in the form.
« no previous file with comments | « webkit/glue/dom_operations.cc ('k') | webkit/glue/form_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698