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

Issue 1690653003: Reland #1 Remove the is_loading_ field from WebContentsImpl (Closed)

Created:
4 years, 10 months ago by clamy
Modified:
4 years, 10 months ago
Reviewers:
nasko
CC:
chromium-reviews, extensions-reviews_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, ajwong+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland #1 Remove the is_loading_ field from WebContentsImpl The CL was reverted since it introduced flakyness on the SitePerProcessBrowserTest.NavigateRemoteFrameToBlankAndDataURLs test on the ChromiumOS dbg 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 complexity in the code. BUG=571887, 298193 TBR=rockot@chromium.org,nick@chromium.org,carlosk@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/d3cd115cc83134b6a62c279520e366a0abc79636 Cr-Commit-Position: refs/heads/master@{#375200}

Patch Set 1 : Original patch #

Patch Set 2 : Only send notifications if current/pending/spec RFH #

Total comments: 2

Patch Set 3 : Addressed Nasko's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -143 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 2 chunks +9 lines, -1 line 0 comments Download
M content/browser/frame_host/frame_tree_node.cc View 4 chunks +34 lines, -9 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 3 chunks +1 line, -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 2 chunks +15 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 10 chunks +37 lines, -27 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 6 chunks +21 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 4 chunks +16 lines, -9 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 12 chunks +37 lines, -18 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 4 chunks +15 lines, -24 lines 0 comments Download
M content/common/frame_messages.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 3 chunks +9 lines, -3 lines 0 comments Download
M content/test/test_web_contents.cc View 1 chunk +23 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 chunk +17 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
clamy
@nasko: PTAL - this is the reland of the patch that was submitted yesterday. I ...
4 years, 10 months ago (2016-02-11 15:17:17 UTC) #4
nasko
https://codereview.chromium.org/1690653003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1690653003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode1716 content/browser/frame_host/render_frame_host_impl.cc:1716: : this == frame_tree_node_->render_manager()->pending_frame_host()); This seems rather hard to ...
4 years, 10 months ago (2016-02-11 16:33:45 UTC) #5
clamy
https://codereview.chromium.org/1690653003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1690653003/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode1716 content/browser/frame_host/render_frame_host_impl.cc:1716: : this == frame_tree_node_->render_manager()->pending_frame_host()); On 2016/02/11 16:33:45, nasko wrote: ...
4 years, 10 months ago (2016-02-12 12:25:42 UTC) #6
nasko
LGTM
4 years, 10 months ago (2016-02-12 15:03:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690653003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690653003/40001
4 years, 10 months ago (2016-02-12 15:14:42 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-12 18:22:20 UTC) #11
lazyboy
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1696973002/ by lazyboy@chromium.org. ...
4 years, 10 months ago (2016-02-13 00:15:18 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:43:42 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d3cd115cc83134b6a62c279520e366a0abc79636
Cr-Commit-Position: refs/heads/master@{#375200}

Powered by Google App Engine
This is Rietveld 408576698