| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2016 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 CONTENT_PUBLIC_COMMON_FORM_FIELD_DATA_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_FORM_FIELD_DATA_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "content/common/content_export.h" |
| 11 #include "ui/base/ime/text_input_type.h" |
| 12 |
| 13 namespace content { |
| 14 |
| 15 // Contains information about a form input field. |
| 16 struct CONTENT_EXPORT FormFieldData { |
| 17 FormFieldData(); |
| 18 FormFieldData(const FormFieldData& other); |
| 19 ~FormFieldData(); |
| 20 |
| 21 std::string text; |
| 22 std::string placeholder; |
| 23 ui::TextInputType text_input_type; |
| 24 }; |
| 25 |
| 26 } // namespace content |
| 27 |
| 28 #endif // CONTENT_PUBLIC_COMMON_FORM_FIELD_DATA_H_ |
| OLD | NEW |