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

Issue 950223006: Fix RenderFrameHostChanged WebContentsObserver methods (Closed)

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

Description

Fix RenderFrameHostChanged WebContentsObserver methods This CL makes the RenderFrameHostChanged observer method behave consistently and as described in the WebContentsObserver header file. BUG=450799 Committed: https://crrev.com/f5940b9f08a6a6a43edb49c2805d0d518697e7c9 Cr-Commit-Position: refs/heads/master@{#318792}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Fix back notifications on init. #

Patch Set 4 : Fix for Emphemeral apps #

Patch Set 5 : Fix NavigateWithEarlyClose and Windows build. #

Patch Set 6 : Cleanup. #

Patch Set 7 : Add bug for extensions issue. #

Patch Set 8 : Remove leftover log and empty lines #

Total comments: 16

Patch Set 9 : Fixes based on Charlie's review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -21 lines) Patch
M content/browser/frame_host/frame_tree_unittest.cc View 1 2 3 4 5 6 7 3 chunks +18 lines, -10 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +19 lines, -7 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -1 line 0 comments Download
M content/public/test/web_contents_observer_sanity_checker.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/web_contents_observer_sanity_checker.cc View 1 2 3 4 5 2 chunks +21 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
nasko
Hey Charlie, Can you review this CL for me? Thanks in advance! Nasko
5 years, 9 months ago (2015-02-27 20:00:49 UTC) #2
Charlie Reis
Cool! One question about ordering and a few minor comments. https://codereview.chromium.org/950223006/diff/110009/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/950223006/diff/110009/content/browser/frame_host/render_frame_host_impl.cc#newcode189 ...
5 years, 9 months ago (2015-03-02 18:38:26 UTC) #3
nasko
https://codereview.chromium.org/950223006/diff/110009/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/950223006/diff/110009/content/browser/frame_host/render_frame_host_impl.cc#newcode189 content/browser/frame_host/render_frame_host_impl.cc:189: frame_tree_->UnregisterRenderFrameHost(this); On 2015/03/02 18:38:25, Charlie Reis wrote: > Moving ...
5 years, 9 months ago (2015-03-02 19:30:54 UTC) #4
Charlie Reis
Thanks. All looks good apart from the issue below. https://codereview.chromium.org/950223006/diff/110009/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/950223006/diff/110009/content/browser/frame_host/render_frame_host_impl.cc#newcode189 content/browser/frame_host/render_frame_host_impl.cc:189: ...
5 years, 9 months ago (2015-03-02 22:44:31 UTC) #5
Charlie Reis
https://codereview.chromium.org/950223006/diff/110009/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/950223006/diff/110009/content/browser/frame_host/render_frame_host_impl.cc#newcode189 content/browser/frame_host/render_frame_host_impl.cc:189: frame_tree_->UnregisterRenderFrameHost(this); On 2015/03/02 22:44:30, Charlie Reis wrote: > On ...
5 years, 9 months ago (2015-03-02 22:58:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/950223006/150001
5 years, 9 months ago (2015-03-02 23:01:06 UTC) #8
commit-bot: I haz the power
Committed patchset #9 (id:150001)
5 years, 9 months ago (2015-03-02 23:04:12 UTC) #9
commit-bot: I haz the power
5 years, 9 months ago (2015-03-02 23:04:59 UTC) #10
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/f5940b9f08a6a6a43edb49c2805d0d518697e7c9
Cr-Commit-Position: refs/heads/master@{#318792}

Powered by Google App Engine
This is Rietveld 408576698