Chromium Code Reviews| 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 "ui/base/ime/text_input_type.h" | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 // Contains information about a form input field. | |
| 15 struct FormFieldData { | |
| 16 std::string text; | |
| 17 std::string placeholder; | |
| 18 ui::TextInputType text_input_type; | |
|
David Trainor- moved to gerrit
2016/11/03 04:25:49
Add a constructor and set a default for this IMO
shaktisahu
2016/11/08 01:43:03
Done.
| |
| 19 }; | |
| 20 | |
| 21 } // namespace content | |
| 22 | |
| 23 #endif // CONTENT_PUBLIC_COMMON_FORM_FIELD_DATA_H_ | |
| OLD | NEW |