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

Side by Side Diff: webkit/glue/form_data.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/forms/webkit_forms_export.h ('k') | webkit/glue/form_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_FORM_DATA_H__
6 #define WEBKIT_GLUE_FORM_DATA_H__
7
8 #include <vector>
9
10 #include "base/string16.h"
11 #include "googleurl/src/gurl.h"
12 #include "webkit/glue/form_field.h"
13 #include "webkit/glue/webkit_glue_export.h"
14
15 namespace webkit_glue {
16
17 // Holds information about a form to be filled and/or submitted.
18 struct WEBKIT_GLUE_EXPORT FormData {
19 // The name of the form.
20 string16 name;
21 // GET or POST.
22 string16 method;
23 // The URL (minus query parameters) containing the form.
24 GURL origin;
25 // The action target of the form.
26 GURL action;
27 // true if this form was submitted by a user gesture and not javascript.
28 bool user_submitted;
29 // A vector of all the input fields in the form.
30 std::vector<FormField> fields;
31
32 FormData();
33 FormData(const FormData& data);
34 ~FormData();
35
36 // Used by FormStructureTest.
37 bool operator==(const FormData& form) const;
38 };
39
40 } // namespace webkit_glue
41
42 #endif // WEBKIT_GLUE_FORM_DATA_H__
OLDNEW
« no previous file with comments | « webkit/forms/webkit_forms_export.h ('k') | webkit/glue/form_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698