summaryrefslogtreecommitdiffstats
path: root/webkit/glue/form_field.cc
blob: 76992f5614d4fbcb3a1ba65bc4dc0a352c174e40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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.

#include "webkit/glue/form_field.h"

namespace webkit_glue {

FormField::FormField()
  : element_(NULL) {
}

FormField::FormField(WebCore::HTMLFormControlElement* element,
                     const string16& name,
                     const string16& value)
  : element_(element),
    name_(name),
    value_(value) {
}

}  // namespace webkit_glue