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

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

Issue 2370393002: Extracting placeholder information from Webkit to Blimp (Closed)
Patch Set: Bypassing the typical text entry path 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
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 Add a constructor and set a default for this IMO
shaktisahu 2016/11/08 01:43:03 Done.
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_FORM_FIELD_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698