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

Issue 172063002: Unify frame IDs with RenderFrameHost routing IDs. (Closed)

Created:
6 years, 10 months ago by Charlie Reis
Modified:
6 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, miu+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Unify frame IDs with RenderFrameHost routing IDs. This eliminates a lot of unnecessary code around FrameTreeNode::frame_id_, which was also incorrect if two frames had the same frame ID in different processes. BUG=314791 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252370

Patch Set 1 #

Patch Set 2 : Clean up #

Total comments: 8

Patch Set 3 : Remove callers of WebFrame::create(client) #

Patch Set 4 : Fixes for Albert's comments #

Total comments: 7

Patch Set 5 : Fix type #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -314 lines) Patch
M android_webview/renderer/print_web_view_helper.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/printing/print_web_view_helper.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M components/plugins/renderer/webview_plugin.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/frame_tree.h View 1 2 3 6 chunks +9 lines, -32 lines 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 2 3 6 chunks +30 lines, -65 lines 0 comments Download
M content/browser/frame_host/frame_tree_browsertest.cc View 1 4 chunks +6 lines, -18 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.h View 1 4 chunks +0 lines, -18 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.cc View 4 chunks +0 lines, -4 lines 0 comments Download
M content/browser/frame_host/frame_tree_unittest.cc View 1 3 chunks +34 lines, -53 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 2 chunks +5 lines, -10 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 chunks +4 lines, -18 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_message_filter.h View 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_message_filter.cc View 2 chunks +9 lines, -17 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 2 chunks +0 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 4 chunks +2 lines, -6 lines 0 comments Download
M content/browser/security_exploit_browsertest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 3 chunks +5 lines, -4 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 chunks +4 lines, -3 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 1 chunk +5 lines, -14 lines 0 comments Download
M content/public/test/mock_render_thread.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/test/mock_render_thread.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 3 chunks +6 lines, -14 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/test/test_render_view_host.cc View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Charlie Reis
6 years, 10 months ago (2014-02-19 21:57:30 UTC) #1
dcheng
Would it make sense to get rid of the remaining calls to WebFrame::create() in your ...
6 years, 10 months ago (2014-02-19 23:55:36 UTC) #2
Charlie Reis
On 2014/02/19 23:55:36, dcheng wrote: > Would it make sense to get rid of the ...
6 years, 10 months ago (2014-02-20 00:01:46 UTC) #3
Charlie Reis
On 2014/02/20 00:01:46, Charlie Reis wrote: > On 2014/02/19 23:55:36, dcheng wrote: > > Would ...
6 years, 10 months ago (2014-02-20 00:20:22 UTC) #4
awong
OMG this is so so sooo much nicer. Have a couple of comments. Mostly superficial. ...
6 years, 10 months ago (2014-02-20 00:25:29 UTC) #5
Charlie Reis
Thanks! PTAL. https://codereview.chromium.org/172063002/diff/90001/content/browser/frame_host/frame_tree.h File content/browser/frame_host/frame_tree.h (right): https://codereview.chromium.org/172063002/diff/90001/content/browser/frame_host/frame_tree.h#newcode73 content/browser/frame_host/frame_tree.h:73: void SetFrameUrl(int routing_id, int process_id, const GURL& ...
6 years, 10 months ago (2014-02-20 00:43:52 UTC) #6
awong
LGTM I have one comment, but fixing is seems like it's beyond this CL. https://codereview.chromium.org/172063002/diff/280001/android_webview/renderer/print_web_view_helper.cc ...
6 years, 10 months ago (2014-02-20 00:49:15 UTC) #7
Charlie Reis
https://codereview.chromium.org/172063002/diff/280001/android_webview/renderer/print_web_view_helper.cc File android_webview/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/172063002/diff/280001/android_webview/renderer/print_web_view_helper.cc#newcode659 android_webview/renderer/print_web_view_helper.cc:659: web_view->setMainFrame(blink::WebFrame::create(this, 0)); On 2014/02/20 00:49:16, awong wrote: > Are ...
6 years, 10 months ago (2014-02-20 00:51:32 UTC) #8
Charlie Reis
Time for owners reviews... mkosiba: Can you review android_webview/renderer/print_web_view_helper.cc? dpapad: Can you review chrome/renderer/printing/print_web_view_helper.cc? jochen: ...
6 years, 10 months ago (2014-02-20 00:59:59 UTC) #9
dcheng
Would it make sense to just remove this concept from Blink completely and only store ...
6 years, 10 months ago (2014-02-20 01:28:03 UTC) #10
Lei Zhang
chrome/ lgtm, given it's identical to android_view/
6 years, 10 months ago (2014-02-20 01:37:28 UTC) #11
Charlie Reis
On 2014/02/20 01:28:03, dcheng wrote: > Would it make sense to just remove this concept ...
6 years, 10 months ago (2014-02-20 01:49:08 UTC) #12
jochen (gone - plz use gerrit)
components/ lgtm
6 years, 10 months ago (2014-02-20 08:02:28 UTC) #13
dcheng
On 2014/02/20 01:49:08, Charlie Reis wrote: > On 2014/02/20 01:28:03, dcheng wrote: > > Would ...
6 years, 10 months ago (2014-02-20 10:44:42 UTC) #14
mkosiba (inactive)
android_webview/ LGTM
6 years, 10 months ago (2014-02-20 11:55:30 UTC) #15
Charlie Reis
The CQ bit was checked by creis@chromium.org
6 years, 10 months ago (2014-02-20 17:41:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/172063002/540001
6 years, 10 months ago (2014-02-20 17:44:19 UTC) #17
commit-bot: I haz the power
6 years, 10 months ago (2014-02-20 21:04:03 UTC) #18
Message was sent while issue was closed.
Change committed as 252370

Powered by Google App Engine
This is Rietveld 408576698