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

Unified Diff: third_party/WebKit/public/web/WebTextInputInfo.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: third_party/WebKit/public/web/WebTextInputInfo.h
diff --git a/third_party/WebKit/public/web/WebTextInputInfo.h b/third_party/WebKit/public/web/WebTextInputInfo.h
index d48ab5759a3e9ca796edfdc995b44853f5143aa9..24be0bf31fc8bd4599b2144d4409f6921c062d47 100644
--- a/third_party/WebKit/public/web/WebTextInputInfo.h
+++ b/third_party/WebKit/public/web/WebTextInputInfo.h
@@ -38,6 +38,9 @@ struct WebTextInputInfo {
// The value of the currently focused input field.
WebString value;
+ // The value of the placeholder attribute.
+ WebString placeholder;
+
// The cursor position of the current selection start, or the caret position
// if nothing is selected.
int selectionStart;

Powered by Google App Engine
This is Rietveld 408576698