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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2378503002: Observe visibility of password inputs, for HTTP-bad phase 1 (Closed)
Patch Set: fix components_unittests build failure 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: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index ddb64a39b87ba664bb7fbf7f9063af5db0fb94ec..a327f24f83f3ee995289da9ab7c9b1126d744b81 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -1070,6 +1070,13 @@ void ChromeClientImpl::ajaxSucceeded(LocalFrame* frame)
webframe->autofillClient()->ajaxSucceeded();
}
+void ChromeClientImpl::passwordFieldBecameVisible(HTMLInputElement& input)
+{
+ WebLocalFrameImpl* webframe = WebLocalFrameImpl::fromFrame(input.document().frame());
+ if (webframe->autofillClient())
+ webframe->autofillClient()->passwordFieldBecameVisible();
esprehn 2016/09/27 23:30:19 Please use mojo directly instead, I don't want to
estark 2016/09/27 23:35:42 Can you point to an example of what you mean by "u
estark 2016/09/27 23:39:42 Oh, actually, I just found and am reading https://
+}
+
void ChromeClientImpl::registerViewportLayers() const
{
if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView())

Powered by Google App Engine
This is Rietveld 408576698