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

Unified Diff: content/common/text_input_state.h

Issue 2370393002: Extracting placeholder information from Webkit to Blimp (Closed)
Patch Set: Created 4 years, 3 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..b39e5e34f5b1334fe6565a0a65003daa37415318 100644
--- a/content/common/text_input_state.h
+++ b/content/common/text_input_state.h
@@ -26,6 +26,9 @@ struct CONTENT_EXPORT TextInputState {
// The mode of input field.
ui::TextInputMode mode;
+ // The placeholder for the input field, if any.
+ std::string placeholder;
+
// The flags of input field (autocorrect, autocomplete, etc.)
int flags;

Powered by Google App Engine
This is Rietveld 408576698