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

Issue 2385363002: Pass the RenderProcessHost id on retargeting. (Closed)

Created:
4 years, 2 months ago by nasko
Modified:
4 years, 2 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, Avi (use Gerrit), nasko+codewatch_chromium.org, creis+watch_chromium.org, devtools-reviews_chromium.org, jam, darin-cc_chromium.org, ajwong+watch_chromium.org, chromium-apps-reviews_chromium.org, pfeldman, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass the RenderProcessHost id on retargeting. In cases of out-of-process iframes, RetargetingDetails doesn't currently contain enough information to find the correct RenderFrameHost. This CL adds the RenderProcessHost id in the RetargetingDetails struct to allow consumers of it to correctly discover RenderFrameHost that created the new WebContents. BUG=649855 Committed: https://crrev.com/e2df1d707cc2a7ba4a5b49f5f1f6be249ff05baf Cr-Commit-Position: refs/heads/master@{#422621}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address review feedback and compile problem. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -97 lines) Patch
M android_webview/native/aw_web_contents_delegate.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/native/aw_web_contents_delegate.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_window.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/devtools/devtools_window.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc View 1 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tab_contents/retargeting_details.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/webnavigation/userAction/a.html View 1 chunk +9 lines, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/webnavigation/userAction/a.js View 1 chunk +7 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/api_test/webnavigation/userAction/subframe.html View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/test/data/extensions/api_test/webnavigation/userAction/test_userAction.js View 1 chunk +128 lines, -83 lines 0 comments Download
M components/renderer_context_menu/render_view_context_menu_base.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M components/renderer_context_menu/render_view_context_menu_base.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M components/web_contents_delegate_android/web_contents_delegate_android.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/web_contents_delegate_android/web_contents_delegate_android.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.h View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
nasko
Hey Charlie, Can you review this CL for me? It passes the RPH id through ...
4 years, 2 months ago (2016-10-03 21:44:43 UTC) #2
dgozman
devtools lgtm
4 years, 2 months ago (2016-10-03 22:03:49 UTC) #6
lazyboy
web_view_guest.* lgtm.
4 years, 2 months ago (2016-10-03 22:06:58 UTC) #8
Charlie Reis
Thanks! LGTM with a few nits, and a possible Android issue. https://codereview.chromium.org/2385363002/diff/1/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc File chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc (right): ...
4 years, 2 months ago (2016-10-03 22:15:24 UTC) #11
Charlie Reis
https://codereview.chromium.org/2385363002/diff/1/chrome/test/data/extensions/api_test/webnavigation/userAction/test_userAction.js File chrome/test/data/extensions/api_test/webnavigation/userAction/test_userAction.js (right): https://codereview.chromium.org/2385363002/diff/1/chrome/test/data/extensions/api_test/webnavigation/userAction/test_userAction.js#newcode24 chrome/test/data/extensions/api_test/webnavigation/userAction/test_userAction.js:24: { label: "a-onBeforeNavigate", On 2016/10/03 22:15:23, Charlie Reis wrote: ...
4 years, 2 months ago (2016-10-03 22:32:51 UTC) #12
nasko
Hey John, Can you review for OWNERS on this CL? Thanks in advance! Nasko https://codereview.chromium.org/2385363002/diff/1/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc ...
4 years, 2 months ago (2016-10-03 22:38:04 UTC) #15
jam
lgtm
4 years, 2 months ago (2016-10-03 22:58:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2385363002/20001
4 years, 2 months ago (2016-10-03 23:24:54 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-04 00:20:37 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 00:23:55 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e2df1d707cc2a7ba4a5b49f5f1f6be249ff05baf
Cr-Commit-Position: refs/heads/master@{#422621}

Powered by Google App Engine
This is Rietveld 408576698