Chromium Code Reviews| Index: content/public/common/form_field_data.h |
| diff --git a/content/public/common/form_field_data.h b/content/public/common/form_field_data.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2c62619e9d6ec5f1a29647acc2cb4a69df40b6d0 |
| --- /dev/null |
| +++ b/content/public/common/form_field_data.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright (c) 2016 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. |
| + |
| +#ifndef CONTENT_PUBLIC_COMMON_FORM_FIELD_DATA_H_ |
| +#define CONTENT_PUBLIC_COMMON_FORM_FIELD_DATA_H_ |
| + |
| +#include <string> |
| + |
| +#include "ui/base/ime/text_input_type.h" |
| + |
| +namespace content { |
| + |
| +// Contains information about a form input field. |
| +struct FormFieldData { |
| + std::string text; |
| + std::string placeholder; |
| + ui::TextInputType text_input_type; |
|
David Trainor- moved to gerrit
2016/11/03 04:25:49
Do we need to set a default value?
|
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_COMMON_FORM_FIELD_DATA_H_ |