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

Unified Diff: webkit/forms/form_data.h

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 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/forms/OWNERS ('k') | webkit/forms/form_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/forms/form_data.h
diff --git a/webkit/forms/form_data.h b/webkit/forms/form_data.h
deleted file mode 100644
index da9b0e88c98bd28e8b6048d944927f867425dd92..0000000000000000000000000000000000000000
--- a/webkit/forms/form_data.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_FORMS_FORM_DATA_H__
-#define WEBKIT_FORMS_FORM_DATA_H__
-
-#include <vector>
-
-#include "base/string16.h"
-#include "googleurl/src/gurl.h"
-#include "webkit/forms/form_field.h"
-#include "webkit/forms/webkit_forms_export.h"
-
-namespace webkit {
-namespace forms {
-
-// Holds information about a form to be filled and/or submitted.
-struct WEBKIT_FORMS_EXPORT FormData {
- // The name of the form.
- string16 name;
- // GET or POST.
- string16 method;
- // The URL (minus query parameters) containing the form.
- GURL origin;
- // The action target of the form.
- GURL action;
- // 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.
- std::vector<FormField> fields;
-
- FormData();
- FormData(const FormData& data);
- ~FormData();
-
- // Used by FormStructureTest.
- bool operator==(const FormData& form) const;
-};
-
-} // namespace forms
-} // namespace webkit
-
-#endif // WEBKIT_FORMS_FORM_DATA_H__
« no previous file with comments | « webkit/forms/OWNERS ('k') | webkit/forms/form_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698