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

Unified Diff: Source/web/WebInputElement.cpp

Issue 225853005: Add support for setting password value gated on user's gesture in a page (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebInputElement.cpp
diff --git a/Source/web/WebInputElement.cpp b/Source/web/WebInputElement.cpp
index 58648d3836decf1592f4362479cdeb024266be24..44906eb7d882f08b49aa1ddb0fb6d6a7b0193d7d 100644
--- a/Source/web/WebInputElement.cpp
+++ b/Source/web/WebInputElement.cpp
@@ -197,6 +197,11 @@ void WebInputElement::setShouldRevealPassword(bool value)
unwrap<HTMLInputElement>()->setShouldRevealPassword(value);
}
+void WebInputElement::setValueAfterUserGesture(const WebString& value)
+{
+ unwrap<HTMLInputElement>()->setValueAfterUserGesture(value);
+}
+
WebInputElement::WebInputElement(const PassRefPtr<HTMLInputElement>& elem)
: WebFormControlElement(elem)
{
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698