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

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 1656005: Fix password mgr heuristics for sites that keep the login form around after signin (Closed)
Patch Set: Responding to feedback Created 10 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
Index: chrome/browser/renderer_host/render_view_host.cc
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index 0401c673a8c431581e346aa7b4e117d143ee5c91..1cd72fea15cdee2ebe71ad23e9f5785714c62b46 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -763,7 +763,9 @@ void RenderViewHost::OnMessageReceived(const IPC::Message& msg) {
IPC_MESSAGE_HANDLER_DELAY_REPLY(ViewHostMsg_ShowModalHTMLDialog,
OnMsgShowModalHTMLDialog)
IPC_MESSAGE_HANDLER(ViewHostMsg_FormsSeen, OnMsgFormsSeen)
- IPC_MESSAGE_HANDLER(ViewHostMsg_PasswordFormsSeen, OnMsgPasswordFormsSeen)
+ IPC_MESSAGE_HANDLER(ViewHostMsg_PasswordFormsFound, OnMsgPasswordFormsFound)
+ IPC_MESSAGE_HANDLER(ViewHostMsg_PasswordFormsVisible,
+ OnMsgPasswordFormsVisible)
IPC_MESSAGE_HANDLER(ViewHostMsg_FormSubmitted, OnMsgFormSubmitted)
IPC_MESSAGE_HANDLER(ViewHostMsg_StartDragging, OnMsgStartDragging)
IPC_MESSAGE_HANDLER(ViewHostMsg_UpdateDragCursor, OnUpdateDragCursor)
@@ -1357,9 +1359,14 @@ void RenderViewHost::OnMsgFormsSeen(const std::vector<FormData>& forms) {
autofill_delegate->FormsSeen(forms);
}
-void RenderViewHost::OnMsgPasswordFormsSeen(
+void RenderViewHost::OnMsgPasswordFormsFound(
const std::vector<PasswordForm>& forms) {
- delegate_->PasswordFormsSeen(forms);
+ delegate_->PasswordFormsFound(forms);
+}
+
+void RenderViewHost::OnMsgPasswordFormsVisible(
+ const std::vector<PasswordForm>& visible_forms) {
+ delegate_->PasswordFormsVisible(visible_forms);
}
void RenderViewHost::OnMsgFormSubmitted(const FormData& form) {
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.h ('k') | chrome/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698