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

Side by Side Diff: components/autofill/content/renderer/password_autofill_agent.cc

Issue 2379293002: Rename RFO::FrameWillClose() to reflect its actual purpose. (Closed)
Patch Set: Fix silly typo Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/autofill/content/renderer/password_autofill_agent.h" 5 #include "components/autofill/content/renderer/password_autofill_agent.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after
1052 } 1052 }
1053 1053
1054 void PasswordAutofillAgent::DidFinishLoad() { 1054 void PasswordAutofillAgent::DidFinishLoad() {
1055 // The |frame| contents have been rendered. Let the PasswordManager know 1055 // The |frame| contents have been rendered. Let the PasswordManager know
1056 // which of the loaded frames are actually visible to the user. This also 1056 // which of the loaded frames are actually visible to the user. This also
1057 // triggers the "Save password?" infobar if the user just submitted a password 1057 // triggers the "Save password?" infobar if the user just submitted a password
1058 // form. 1058 // form.
1059 SendPasswordForms(true); 1059 SendPasswordForms(true);
1060 } 1060 }
1061 1061
1062 void PasswordAutofillAgent::FrameWillClose() { 1062 void PasswordAutofillAgent::WillCommitProvisionalLoad() {
1063 FrameClosing(); 1063 FrameClosing();
1064 } 1064 }
1065 1065
1066 void PasswordAutofillAgent::DidCommitProvisionalLoad( 1066 void PasswordAutofillAgent::DidCommitProvisionalLoad(
1067 bool is_new_navigation, bool is_same_page_navigation) { 1067 bool is_new_navigation, bool is_same_page_navigation) {
1068 if (is_same_page_navigation) { 1068 if (is_same_page_navigation) {
1069 OnSamePageNavigationCompleted(); 1069 OnSamePageNavigationCompleted();
1070 } 1070 }
1071 } 1071 }
1072 1072
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 PasswordAutofillAgent::GetPasswordManagerDriver() { 1501 PasswordAutofillAgent::GetPasswordManagerDriver() {
1502 if (!password_manager_driver_) { 1502 if (!password_manager_driver_) {
1503 render_frame()->GetRemoteInterfaces()->GetInterface( 1503 render_frame()->GetRemoteInterfaces()->GetInterface(
1504 mojo::GetProxy(&password_manager_driver_)); 1504 mojo::GetProxy(&password_manager_driver_));
1505 } 1505 }
1506 1506
1507 return password_manager_driver_; 1507 return password_manager_driver_;
1508 } 1508 }
1509 1509
1510 } // namespace autofill 1510 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/password_autofill_agent.h ('k') | content/public/renderer/render_frame_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698