|
Remove FrameDetached and FrameWillClose listeners from AutofillAgent.
AutofillAgent::FrameDetached is no longer necessary because form_cache_ only holds the forms for a single frame.
AutofillAgent::FrameWillClose is only called on the actual closing frame (which might be a parent frame).
AutofillAgent::FrameDetached can't take the place of AutofillAgent::FrameWillClose because the RenderFrame disables sending IPCs during detachment.
Therefore, move the automatic closing of rAc from the renderer (autofill_agent.cc) to the browser (chrome_autofill_client.cc).
For PasswordAutofillAgent, add FrameDetached to RenderFrameHost.
BUG= 433486
Committed: https://crrev.com/1dbe123c5e7b2d41e517049c1b98d8ad75563b98
Cr-Commit-Position: refs/heads/master@{#310162}
Total comments: 5
Total comments: 3
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+156 lines, -142 lines) |
Patch |
 |
M |
android_webview/native/aw_autofill_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/aw_autofill_client.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/autofill/autofill_dialog_controller.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+88 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/autofill/chrome_autofill_client.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/autofill/chrome_autofill_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+22 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/autofill/autofill_renderer_browsertest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -45 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/browser/content_autofill_driver.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/browser/request_autocomplete_manager.h
|
View
|
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/browser/request_autocomplete_manager.cc
|
View
|
|
2 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/browser/request_autocomplete_manager_unittest.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/common/autofill_messages.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/autofill_agent.h
|
View
|
1
|
3 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/autofill_agent.cc
|
View
|
1
|
6 chunks |
+1 line, -31 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/password_autofill_agent.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/password_autofill_agent.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/autofill_manager_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/test_autofill_client.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/test_autofill_client.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/public/renderer/render_frame_observer.h
|
View
|
1
2
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 27 (9 generated)
|