| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebOptionElement.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebOptionElement.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 << UTF16ToUTF8(field.name) | 48 << UTF16ToUTF8(field.name) |
| 49 << " " | 49 << " " |
| 50 << UTF16ToUTF8(field.value) | 50 << UTF16ToUTF8(field.value) |
| 51 << " " | 51 << " " |
| 52 << UTF16ToUTF8(field.form_control_type) | 52 << UTF16ToUTF8(field.form_control_type) |
| 53 << " " | 53 << " " |
| 54 << UTF16ToUTF8(field.autocomplete_type) | 54 << UTF16ToUTF8(field.autocomplete_type) |
| 55 << " " | 55 << " " |
| 56 << field.max_length | 56 << field.max_length |
| 57 << " " | 57 << " " |
| 58 << (field.is_autofilled ? "true" : "false"); | 58 << (field.is_autofilled ? "true" : "false") |
| 59 << " " |
| 60 << (field.is_focusable ? "true" : "false") |
| 61 << " " |
| 62 << (field.autocomplete ? "true" : "false"); |
| 59 } | 63 } |
| 60 | 64 |
| 61 } // namespace webkit_glue | 65 } // namespace webkit_glue |
| OLD | NEW |