summaryrefslogtreecommitdiffstats
path: root/webkit/glue/form_field_values.h
blob: 5c2ea62c11ffb23f52460891c5528aedb125aa1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) 2009 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_GLUE_FORM_FIELD_VALUES_H_
#define WEBKIT_GLUE_FORM_FIELD_VALUES_H_

#include <vector>

#include "webkit/glue/form_field.h"

namespace WebCore {
class HTMLInputElement;
}

namespace WebKit {
class WebForm;
}

namespace webkit_glue {

// The FormFieldValues struct represents a single HTML form together with the
// values entered in the fields.
class FormFieldValues {
 public:
  static FormFieldValues* Create(const WebKit::WebForm& form);

  // A vector of all the input fields in the form.
  std::vector<FormField> elements;
};

}  // namespace webkit_glue

#endif  // WEBKIT_GLUE_FORM_FIELD_VALUES_H_