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

Issue 1229413003: DelegatedFrameHost should handle satisfied sequences in frame metadata. (Closed)

Created:
5 years, 5 months ago by wjmaclean
Modified:
5 years, 5 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, miu+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, piman+watch_chromium.org, shuchen+watch_chromium.org, sievers+watch_chromium.org, James Su, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DelegatedFrameHost should handle satisfied sequences in frame metadata. When a RenderWidgetHostViewAura is acting as a guest view, it may need to process satisifed sequences, received in the frame metadata, for its embedder. This CL adds the satsfied sequence list to the data passed to SwapDelegatedFrame() and includes it in the metadata subsequently passed to SubmitFrame(). The CL also adds a dedicated BrowserPlugin satisfy callback in ChildFrameCompositingHelper, just to make sure that these callbacks are routed properly. BUG=503594 Committed: https://crrev.com/1e720d2f120ba0cf3293a642285af3d9d987f28e Cr-Commit-Position: refs/heads/master@{#338696}

Patch Set 1 #

Patch Set 2 : Fix Mac compile. #

Patch Set 3 : Fix reversed callbacks. #

Total comments: 2

Patch Set 4 : Pass sequence vector as pointer. #

Total comments: 2

Patch Set 5 : Add comment stating that |satifies_sequences| is cleared on call to SwapDelegatedFrame. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -6 lines) Patch
M content/browser/compositor/delegated_frame_host.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/compositor/delegated_frame_host.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/child_frame_compositing_helper.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/child_frame_compositing_helper.cc View 1 2 2 chunks +17 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229413003/1
5 years, 5 months ago (2015-07-13 13:21:18 UTC) #2
wjmaclean
Small-ish CL ... ptal?
5 years, 5 months ago (2015-07-13 13:23:04 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/29887) (exceeded global ...
5 years, 5 months ago (2015-07-13 13:41:36 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229413003/20001
5 years, 5 months ago (2015-07-13 14:02:54 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/29896) (exceeded global ...
5 years, 5 months ago (2015-07-13 14:21:09 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229413003/40001
5 years, 5 months ago (2015-07-13 15:33:44 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-13 18:23:39 UTC) #14
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1229413003/diff/40001/content/browser/compositor/delegated_frame_host.h File content/browser/compositor/delegated_frame_host.h (right): https://codereview.chromium.org/1229413003/diff/40001/content/browser/compositor/delegated_frame_host.h#newcode127 content/browser/compositor/delegated_frame_host.h:127: std::vector<uint32_t> satifies_sequences); why is this pass by value? I'd ...
5 years, 5 months ago (2015-07-14 14:33:00 UTC) #16
wjmaclean
Updated, ptal? https://codereview.chromium.org/1229413003/diff/40001/content/browser/compositor/delegated_frame_host.h File content/browser/compositor/delegated_frame_host.h (right): https://codereview.chromium.org/1229413003/diff/40001/content/browser/compositor/delegated_frame_host.h#newcode127 content/browser/compositor/delegated_frame_host.h:127: std::vector<uint32_t> satifies_sequences); On 2015/07/14 14:33:00, jochen wrote: ...
5 years, 5 months ago (2015-07-14 14:58:01 UTC) #17
jochen (gone - plz use gerrit)
lgtm with comment https://codereview.chromium.org/1229413003/diff/60001/content/browser/compositor/delegated_frame_host.h File content/browser/compositor/delegated_frame_host.h (right): https://codereview.chromium.org/1229413003/diff/60001/content/browser/compositor/delegated_frame_host.h#newcode127 content/browser/compositor/delegated_frame_host.h:127: std::vector<uint32_t>* satifies_sequences); can you please add ...
5 years, 5 months ago (2015-07-14 14:59:50 UTC) #18
wjmaclean
On 2015/07/14 14:59:50, jochen wrote: > lgtm with comment > > https://codereview.chromium.org/1229413003/diff/60001/content/browser/compositor/delegated_frame_host.h > File content/browser/compositor/delegated_frame_host.h ...
5 years, 5 months ago (2015-07-14 15:04:24 UTC) #19
wjmaclean
https://codereview.chromium.org/1229413003/diff/60001/content/browser/compositor/delegated_frame_host.h File content/browser/compositor/delegated_frame_host.h (right): https://codereview.chromium.org/1229413003/diff/60001/content/browser/compositor/delegated_frame_host.h#newcode127 content/browser/compositor/delegated_frame_host.h:127: std::vector<uint32_t>* satifies_sequences); On 2015/07/14 14:59:50, jochen wrote: > can ...
5 years, 5 months ago (2015-07-14 15:08:29 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229413003/80001
5 years, 5 months ago (2015-07-14 15:09:24 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 5 months ago (2015-07-14 16:10:09 UTC) #24
commit-bot: I haz the power
5 years, 5 months ago (2015-07-14 16:10:59 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1e720d2f120ba0cf3293a642285af3d9d987f28e
Cr-Commit-Position: refs/heads/master@{#338696}

Powered by Google App Engine
This is Rietveld 408576698