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

Unified Diff: webkit/forms/form_field.h

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 | « webkit/forms/form_data_predictions.cc ('k') | webkit/forms/form_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/forms/form_field.h
diff --git a/webkit/glue/form_field.h b/webkit/forms/form_field.h
similarity index 84%
rename from webkit/glue/form_field.h
rename to webkit/forms/form_field.h
index a8480cd686ce129cf0ac72a5b6bf53c1c8826450..d1b17c0bc7c889485cb565fcd1292aa058b6b16d 100644
--- a/webkit/glue/form_field.h
+++ b/webkit/forms/form_field.h
@@ -2,19 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_GLUE_FORM_FIELD_H_
-#define WEBKIT_GLUE_FORM_FIELD_H_
+#ifndef WEBKIT_FORMS_FORM_FIELD_H_
+#define WEBKIT_FORMS_FORM_FIELD_H_
#include <vector>
#include "base/string16.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement.h"
-#include "webkit/glue/webkit_glue_export.h"
+#include "webkit/forms/webkit_forms_export.h"
-namespace webkit_glue {
+namespace webkit {
+namespace forms {
// Stores information about a field in a form.
-struct WEBKIT_GLUE_EXPORT FormField {
+struct WEBKIT_FORMS_EXPORT FormField {
FormField();
virtual ~FormField();
@@ -42,10 +43,11 @@ struct WEBKIT_GLUE_EXPORT FormField {
};
// So we can compare FormFields with EXPECT_EQ().
-WEBKIT_GLUE_EXPORT std::ostream& operator<<(std::ostream& os,
+WEBKIT_FORMS_EXPORT std::ostream& operator<<(std::ostream& os,
const FormField& field);
-} // namespace webkit_glue
+} // namespace forms
+} // namespace webkit
// Prefer to use this macro in place of |EXPECT_EQ()| for comparing |FormField|s
// in test code.
@@ -60,4 +62,4 @@ WEBKIT_GLUE_EXPORT std::ostream& operator<<(std::ostream& os,
EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \
} while (0)
-#endif // WEBKIT_GLUE_FORM_FIELD_H_
+#endif // WEBKIT_FORMS_FORM_FIELD_H_
« no previous file with comments | « webkit/forms/form_data_predictions.cc ('k') | webkit/forms/form_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698