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

Unified Diff: Source/core/html/forms/PasswordInputType.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/html/forms/PasswordInputType.h ('k') | Source/core/page/Page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/PasswordInputType.cpp
diff --git a/Source/core/html/forms/PasswordInputType.cpp b/Source/core/html/forms/PasswordInputType.cpp
index 9c448f3fc6a2fae0ce88eaa2021d9be8a78adb95..7e4309140f539a69f81cd7aef933d0e146a5c20c 100644
--- a/Source/core/html/forms/PasswordInputType.cpp
+++ b/Source/core/html/forms/PasswordInputType.cpp
@@ -148,4 +148,10 @@ void PasswordInputType::disableSecureTextInput()
element().document().setUseSecureKeyboardEntryWhenActive(false);
}
+bool PasswordInputType::canSetValueAfterUserGesture()
+{
+ return true;
+}
+
+
} // namespace WebCore
« no previous file with comments | « Source/core/html/forms/PasswordInputType.h ('k') | Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698