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

Issue 2156883002: Use content::FrameOwnerProperties instead of blink::WebFrameOwnerProperties in content/ (Closed)

Created:
4 years, 5 months ago by raymes
Modified:
4 years, 5 months ago
Reviewers:
esprehn, alexmos, nasko
CC:
blink-reviews, blink-reviews-api_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@permission-delegation-frame-owner-properties
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use content::FrameOwnerProperties instead of blink::WebFrameOwnerProperties in content/ In https://codereview.chromium.org/2146803004 we introduced content::FrameOwnerProperties which was used to transport blink::WebFrameOwnerProperties over IPC. This CL changes content/ to use this new struct wherever possible to avoid converting back and forth between the two structs as much. BUG=614608 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/3145780a24db76c6fc4131cfdaea6dcd21131c22 Cr-Commit-Position: refs/heads/master@{#406504}

Patch Set 1 #

Patch Set 2 : Use this everywhere #

Total comments: 10

Patch Set 3 : Use this everywhere #

Total comments: 2

Patch Set 4 : Use this everywhere #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -176 lines) Patch
M content/browser/DEPS View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/frame_tree.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/frame_host/frame_tree.cc View 3 chunks +10 lines, -10 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.h View 4 chunks +5 lines, -5 lines 0 comments Download
M content/browser/frame_host/frame_tree_node.cc View 1 chunk +10 lines, -11 lines 0 comments Download
M content/browser/frame_host/frame_tree_node_blame_context_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/frame_host/frame_tree_unittest.cc View 11 chunks +35 lines, -38 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 9 chunks +8 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 2 chunks +6 lines, -11 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 3 chunks +3 lines, -7 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 11 chunks +15 lines, -15 lines 0 comments Download
M content/browser/frame_host/render_frame_message_filter.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_message_filter.cc View 2 chunks +9 lines, -11 lines 0 comments Download
M content/browser/frame_host/render_frame_proxy_host.cc View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M content/common/frame_owner_properties.h View 3 chunks +7 lines, -1 line 0 comments Download
M content/common/frame_owner_properties.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M content/public/test/mock_render_thread.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 chunks +9 lines, -11 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl_browsertest.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_browsertest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/test/test_render_frame_host.cc View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/public/web/WebFrameOwnerProperties.h View 1 chunk +0 lines, -16 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (10 generated)
raymes
4 years, 5 months ago (2016-07-18 05:00:19 UTC) #3
alexmos
Looks good - just a couple of comments. Also, does this now allow us to ...
4 years, 5 months ago (2016-07-19 00:15:56 UTC) #4
raymes
https://codereview.chromium.org/2156883002/diff/20001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h (right): https://codereview.chromium.org/2156883002/diff/20001/content/browser/frame_host/render_frame_host_impl.h#newcode97 content/browser/frame_host/render_frame_host_impl.h:97: struct FileChooserParams; There were already 2 in the list ...
4 years, 5 months ago (2016-07-19 05:53:09 UTC) #5
alexmos
Thanks, LGTM.
4 years, 5 months ago (2016-07-19 06:38:42 UTC) #8
raymes
+nasko for content/ +esprehn for third_party/WebKit/public/web/WebFrameOwnerProperties.h
4 years, 5 months ago (2016-07-19 06:40:42 UTC) #10
esprehn
lgtm
4 years, 5 months ago (2016-07-19 07:06:40 UTC) #11
nasko
LGTM with a nit. https://codereview.chromium.org/2156883002/diff/40001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h (left): https://codereview.chromium.org/2156883002/diff/40001/content/browser/frame_host/render_frame_host_impl.h#oldcode103 content/browser/frame_host/render_frame_host_impl.h:103: struct FileChooserParams; Why is this ...
4 years, 5 months ago (2016-07-19 21:32:43 UTC) #14
raymes
https://codereview.chromium.org/2156883002/diff/40001/content/browser/frame_host/render_frame_host_impl.h File content/browser/frame_host/render_frame_host_impl.h (left): https://codereview.chromium.org/2156883002/diff/40001/content/browser/frame_host/render_frame_host_impl.h#oldcode103 content/browser/frame_host/render_frame_host_impl.h:103: struct FileChooserParams; On 2016/07/19 21:32:43, nasko wrote: > Why ...
4 years, 5 months ago (2016-07-20 03:22:18 UTC) #15
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/2156883002/60001
4 years, 5 months ago (2016-07-20 03:23:10 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-20 06:08:30 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 06:10:31 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3145780a24db76c6fc4131cfdaea6dcd21131c22
Cr-Commit-Position: refs/heads/master@{#406504}

Powered by Google App Engine
This is Rietveld 408576698