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

Issue 868673002: OOPIF: report both original and destination rfh in AboutToNavigateRenderFrame. (Closed)

Created:
5 years, 11 months ago by pfeldman
Modified:
5 years, 11 months ago
CC:
chromium-reviews, tim+watch_chromium.org, extensions-reviews_chromium.org, vsevik, creis+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, jam, yurys, pvalenzuela+watch_chromium.org, paulirish+reviews_chromium.org, darin-cc_chromium.org, nasko+codewatch_chromium.org, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, aandrey+blink_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

OOPIF: report both original and destination rfh in AboutToNavigateRenderFrame. While tracking navigations, devtools needs to know if the RFH reported in the event is the one of interest (the one being inspected). I could go through the render frame manager, but it sounds like unnecessary indirection. BUG=451004 TBR=atwilson (sync tests) Committed: https://crrev.com/f87691ac9d552d351400ce111794b598bd3bb499 Cr-Commit-Position: refs/heads/master@{#312862}

Patch Set 1 : #

Total comments: 15

Patch Set 2 : Review comments addressed. #

Patch Set 3 : rebaselined #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -37 lines) Patch
M chrome/browser/devtools/devtools_ui_bindings.cc View 1 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_observer_unittest.cc View 7 chunks +12 lines, -7 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.cc View 1 2 5 chunks +23 lines, -15 lines 0 comments Download
M content/browser/frame_host/navigator_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 29 (9 generated)
pfeldman
5 years, 11 months ago (2015-01-22 13:26:46 UTC) #3
dgozman
https://codereview.chromium.org/868673002/diff/20001/chrome/browser/devtools/devtools_ui_bindings.cc File chrome/browser/devtools/devtools_ui_bindings.cc (right): https://codereview.chromium.org/868673002/diff/20001/chrome/browser/devtools/devtools_ui_bindings.cc#newcode252 chrome/browser/devtools/devtools_ui_bindings.cc:252: content::RenderFrameHost* render_frame_host, Let's use |old_host| and |new_host| for consistency. ...
5 years, 11 months ago (2015-01-22 13:54:09 UTC) #4
nasko
My overall concern is that we are planning to remove AboutToNavigateRenderFrame if possible. I am ...
5 years, 11 months ago (2015-01-22 21:20:13 UTC) #5
dgozman
On 2015/01/22 21:20:13, nasko wrote: > My overall concern is that we are planning to ...
5 years, 11 months ago (2015-01-22 21:25:57 UTC) #6
pfeldman
I now remember that we wanted to share a doc with scenarios with you. But ...
5 years, 11 months ago (2015-01-22 21:37:43 UTC) #7
nasko
> - One about render frame host started navigation. This one should be as early ...
5 years, 11 months ago (2015-01-22 21:53:07 UTC) #8
pfeldman
> Granted, what I described above isn't working quite yet. It will be very useful ...
5 years, 11 months ago (2015-01-22 21:58:58 UTC) #9
dgozman
On 2015/01/22 21:53:07, nasko wrote: > > - One about render frame host started navigation. ...
5 years, 11 months ago (2015-01-22 22:04:13 UTC) #10
pfeldman
https://codereview.chromium.org/868673002/diff/20001/chrome/browser/devtools/devtools_ui_bindings.cc File chrome/browser/devtools/devtools_ui_bindings.cc (right): https://codereview.chromium.org/868673002/diff/20001/chrome/browser/devtools/devtools_ui_bindings.cc#newcode252 chrome/browser/devtools/devtools_ui_bindings.cc:252: content::RenderFrameHost* render_frame_host, On 2015/01/22 13:54:08, dgozman wrote: > Let's ...
5 years, 11 months ago (2015-01-22 22:10:05 UTC) #11
dgozman
lgtm
5 years, 11 months ago (2015-01-22 22:12:46 UTC) #12
pfeldman
+kalman@ for chrome/browser/extensions/ owner stamp nasko@ for content/ stamp.
5 years, 11 months ago (2015-01-22 22:14:03 UTC) #14
nasko
We really need to take a hard look at how tracking of navigation works, not ...
5 years, 11 months ago (2015-01-22 22:20:50 UTC) #15
not at google - send to devlin
lgtm
5 years, 11 months ago (2015-01-22 22:40:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868673002/60001
5 years, 11 months ago (2015-01-23 12:38:20 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/37901)
5 years, 11 months ago (2015-01-23 12:44:10 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868673002/60001
5 years, 11 months ago (2015-01-23 16:16:29 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/37899)
5 years, 11 months ago (2015-01-23 16:17:08 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868673002/60001
5 years, 11 months ago (2015-01-23 16:30:30 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 11 months ago (2015-01-23 16:58:50 UTC) #28
commit-bot: I haz the power
5 years, 11 months ago (2015-01-23 17:00:01 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f87691ac9d552d351400ce111794b598bd3bb499
Cr-Commit-Position: refs/heads/master@{#312862}

Powered by Google App Engine
This is Rietveld 408576698