Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1014)

Unified Diff: content/public/common/form_field_data.h

Issue 2520013002: Reland of Extracting placeholder information from Webkit to Blimp (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/common/form_field_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c9a3e19ffcfc4cbb4ce3ccc97117ef7345e21f32
--- /dev/null
+++ b/content/public/common/form_field_data.h
@@ -0,0 +1,28 @@
+// 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 "content/common/content_export.h"
+#include "ui/base/ime/text_input_type.h"
+
+namespace content {
+
+// Contains information about a form input field.
+struct CONTENT_EXPORT FormFieldData {
+ FormFieldData();
+ FormFieldData(const FormFieldData& other);
+ ~FormFieldData();
+
+ std::string text;
+ std::string placeholder;
+ ui::TextInputType text_input_type;
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_FORM_FIELD_DATA_H_
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/public/common/form_field_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698