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

Unified Diff: content/common/text_input_state.h

Issue 2370393002: Extracting placeholder information from Webkit to Blimp (Closed)
Patch Set: Observing InputMethod Created 4 years, 2 months 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/common/text_input_state.h
diff --git a/content/common/text_input_state.h b/content/common/text_input_state.h
index 1e645c0c77b76ee05ccda423ca409ffa65f0cb3f..5bdfef3fbe65b971cd04dd666fbcfff3f2f8c215 100644
--- a/content/common/text_input_state.h
+++ b/content/common/text_input_state.h
@@ -32,6 +32,9 @@ struct CONTENT_EXPORT TextInputState {
// The value of input field.
std::string value;
+ // The placeholder for the input field, if any.
+ std::string placeholder;
+
// The cursor position of the current selection start, or the caret position
// if nothing is selected.
int selection_start;

Powered by Google App Engine
This is Rietveld 408576698