| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/glue/form_field.h" | 5 #include "webkit/glue/form_field.h" |
| 6 | 6 |
| 7 namespace webkit_glue { | 7 namespace webkit_glue { |
| 8 | 8 |
| 9 FormField::FormField() | 9 FormField::FormField() { |
| 10 : element_(NULL) { | |
| 11 } | 10 } |
| 12 | 11 |
| 13 FormField::FormField(WebCore::HTMLFormControlElement* element, | 12 FormField::FormField(const string16& name, |
| 14 const string16& name, | |
| 15 const string16& value) | 13 const string16& value) |
| 16 : element_(element), | 14 : name_(name), |
| 17 name_(name), | |
| 18 value_(value) { | 15 value_(value) { |
| 19 } | 16 } |
| 20 | 17 |
| 21 } // namespace webkit_glue | 18 } // namespace webkit_glue |
| OLD | NEW |