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

Issue 2776973002: DelegatedFrameHost should not create an ExternalBeginFrameSource (Closed)

Created:
3 years, 9 months ago by Saman Sami
Modified:
3 years, 9 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, piman+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, mac-reviews_chromium.org, kalyank, danakj+watch_chromium.org, James Su, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DelegatedFrameHost should not create an ExternalBeginFrameSource There is currently some unnecessary complexity in the code because DelegatedFrameHost creates an ExternalBeginFrameSource which its client use to get BeginFrames instead of sending BeginFrames directly to its clients. Review-Url: https://codereview.chromium.org/2776973002 Cr-Commit-Position: refs/heads/master@{#459863} Committed: https://chromium.googlesource.com/chromium/src/+/ba666778f77e419a4983f1a7b9e59d7bef0654d9

Patch Set 1 #

Patch Set 2 : c #

Patch Set 3 : c #

Patch Set 4 : c #

Patch Set 5 : c #

Patch Set 6 : c #

Total comments: 4

Patch Set 7 : Addressed comments #

Patch Set 8 : Fixed mac #

Patch Set 9 : Added comment #

Total comments: 1

Patch Set 10 : c #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -147 lines) Patch
M content/browser/renderer_host/browser_compositor_view_mac.h View 1 3 chunks +2 lines, -13 lines 0 comments Download
M content/browser/renderer_host/browser_compositor_view_mac.mm View 1 2 3 4 5 8 9 4 chunks +4 lines, -37 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.h View 1 2 3 4 5 6 7 8 9 5 chunks +6 lines, -7 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 2 3 4 5 6 7 8 9 9 chunks +40 lines, -35 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host_client_aura.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/delegated_frame_host_client_aura.cc View 1 chunk +3 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 7 8 4 chunks +3 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 5 chunks +9 lines, -33 lines 0 comments Download

Messages

Total messages: 46 (36 generated)
Saman Sami
3 years, 9 months ago (2017-03-27 12:04:18 UTC) #19
Saman Sami
PTAL
3 years, 9 months ago (2017-03-27 12:04:28 UTC) #20
Fady Samuel
LGTM! Yay for cleanups! Please pass along to piman@ for final review! Thanks!
3 years, 9 months ago (2017-03-27 12:45:35 UTC) #24
Saman Sami
Thanks for the LGTM! eseckler@: Can you please check that I haven't broken BeginFrames? piman@: ...
3 years, 9 months ago (2017-03-27 12:49:57 UTC) #26
Eric Seckler
https://codereview.chromium.org/2776973002/diff/100001/content/browser/renderer_host/delegated_frame_host.cc File content/browser/renderer_host/delegated_frame_host.cc (right): https://codereview.chromium.org/2776973002/diff/100001/content/browser/renderer_host/delegated_frame_host.cc#newcode238 content/browser/renderer_host/delegated_frame_host.cc:238: if (ack.source_id != latest_confirmed_begin_frame_source_id_) { The code that was ...
3 years, 9 months ago (2017-03-27 13:05:03 UTC) #27
Saman Sami
PTAL https://codereview.chromium.org/2776973002/diff/100001/content/browser/renderer_host/delegated_frame_host.cc File content/browser/renderer_host/delegated_frame_host.cc (right): https://codereview.chromium.org/2776973002/diff/100001/content/browser/renderer_host/delegated_frame_host.cc#newcode238 content/browser/renderer_host/delegated_frame_host.cc:238: if (ack.source_id != latest_confirmed_begin_frame_source_id_) { On 2017/03/27 13:05:03, ...
3 years, 9 months ago (2017-03-27 17:10:23 UTC) #32
piman
lgtm
3 years, 9 months ago (2017-03-27 18:08:46 UTC) #33
Eric Seckler
lgtm % nit. Thanks for simplifying this! https://codereview.chromium.org/2776973002/diff/160001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/2776973002/diff/160001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode919 content/browser/renderer_host/render_widget_host_view_aura.cc:919: delegated_frame_host_->DidFinishFrame(ack); Nit: ...
3 years, 9 months ago (2017-03-27 18:16:09 UTC) #36
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/2776973002/180001
3 years, 9 months ago (2017-03-27 19:56:22 UTC) #43
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 20:06:26 UTC) #46
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/ba666778f77e419a4983f1a7b9e5...

Powered by Google App Engine
This is Rietveld 408576698