|
|
Reland #2 Remove the is_loading_ field from WebContentsImpl
The original CL was reverted because it introduced flakyness on some
SessionHistoryTest on the Cast Linux bot.
Original commit message:
This CL removes the is_loading_ field from WebContents, in favor of only
tracking the loading state through the FrameTree. Currently the loading state
is tracked in both, leading to more edge cases in the code. These edge cases
are removed by this CL, which allows the current architecture and PlzNavigate
to have the same behavior. It also removes some flakyness with
browser-initiated navigations and reenables 2 content_browsertests.
BUG= 571887, 298193
TBR=nasko@chromium.org,rockot@chromium.org,nick@chromium.org,carlosk@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/44e84cef5a598bbee63ba83ad1cd5534e7295abd
Cr-Commit-Position: refs/heads/master@{#376732}
Total comments: 43
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+442 lines, -190 lines) |
Patch |
 |
M |
chrome/browser/extensions/extension_resource_request_policy_apitest.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree.h
|
View
|
|
4 chunks |
+41 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree.cc
|
View
|
|
3 chunks |
+44 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree_node.h
|
View
|
1
2
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree_node.cc
|
View
|
1
2
3
|
4 chunks |
+35 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/interstitial_page_impl.h
|
View
|
1
2
3
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/interstitial_page_impl.cc
|
View
|
1
2
|
4 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_controller_delegate.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_controller_impl_unittest.cc
|
View
|
|
1 chunk |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigator_impl.cc
|
View
|
1
2
|
1 chunk |
+14 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.h
|
View
|
|
5 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.cc
|
View
|
1
2
3
|
9 chunks |
+35 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_manager.cc
|
View
|
1
2
3
|
6 chunks |
+24 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/site_instance_impl.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
|
3 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
|
10 chunks |
+85 lines, -60 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl_browsertest.cc
|
View
|
|
4 chunks |
+15 lines, -24 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/history_controller.h
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/history_controller.cc
|
View
|
1
|
4 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
|
5 chunks |
+23 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/test/test_web_contents.cc
|
View
|
1
2
3
|
1 chunk |
+22 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/web_contents_observer_sanity_checker.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/web_contents_observer_sanity_checker.cc
|
View
|
1
2
3
|
1 chunk |
+17 lines, -2 lines |
0 comments
|
Download
|
Total messages: 32 (16 generated)
|