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

Unified Diff: public/web/WebInputElement.h

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/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebInputElement.h
diff --git a/public/web/WebInputElement.h b/public/web/WebInputElement.h
index e9965cf53feec17e4694cf361c55dbba1bbf0aa1..59d325ce6c8f0b5b7f44e2b1aac8c43c00b5985d 100644
--- a/public/web/WebInputElement.h
+++ b/public/web/WebInputElement.h
@@ -101,6 +101,9 @@ namespace blink {
// If true, forces the text of the element to be visible.
BLINK_EXPORT void setShouldRevealPassword(bool value);
+ // Saves the value to be set as soon as the page registered a user gesture since the last load.
+ BLINK_EXPORT void setValueAfterUserGesture(const WebString&);
+
#if BLINK_IMPLEMENTATION
WebInputElement(const WTF::PassRefPtr<WebCore::HTMLInputElement>&);
WebInputElement& operator=(const WTF::PassRefPtr<WebCore::HTMLInputElement>&);
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698