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

Issue 2656893003: Let DelegateFrameHost in Mac and Android use correct FrameSinkId during creation (Closed)

Created:
3 years, 11 months ago by xlai (Olivia)
Modified:
3 years, 10 months ago
Reviewers:
bo658713, Fady Samuel, jam, boliu
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, mac-reviews_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let DelegateFrameHost in Mac and Android use correct FrameSinkId during creation BUG=685426 Review-Url: https://codereview.chromium.org/2656893003 Cr-Commit-Position: refs/heads/master@{#446720} Committed: https://chromium.googlesource.com/chromium/src/+/9351829f20da199ef48bc3aaaa70f2172baab179

Patch Set 1 #

Patch Set 2 : Android #

Total comments: 5

Patch Set 3 : nits #

Total comments: 11

Patch Set 4 : fix android browser #

Total comments: 2

Patch Set 5 : fix #

Patch Set 6 : fix in process context factory #

Total comments: 1

Patch Set 7 : more comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -20 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/browser_compositor_view_mac.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/browser_compositor_view_mac.mm View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M content/browser/renderer_host/context_provider_factory_impl_android.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/context_provider_factory_impl_android.cc View 1 2 3 4 5 6 2 chunks +7 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 1 chunk +8 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 1 chunk +17 lines, -2 lines 0 comments Download
M ui/android/delegated_frame_host_android.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ui/android/delegated_frame_host_android.cc View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 2 3 4 5 6 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 48 (23 generated)
xlai (Olivia)
3 years, 11 months ago (2017-01-25 23:19:13 UTC) #2
Fady Samuel
https://codereview.chromium.org/2656893003/diff/20001/content/browser/renderer_host/browser_compositor_view_mac.h File content/browser/renderer_host/browser_compositor_view_mac.h (right): https://codereview.chromium.org/2656893003/diff/20001/content/browser/renderer_host/browser_compositor_view_mac.h#newcode54 content/browser/renderer_host/browser_compositor_view_mac.h:54: cc::FrameSinkId frame_sink_id); const cc::FrameSinkId& https://codereview.chromium.org/2656893003/diff/20001/content/browser/renderer_host/browser_compositor_view_mac.mm File content/browser/renderer_host/browser_compositor_view_mac.mm (right): https://codereview.chromium.org/2656893003/diff/20001/content/browser/renderer_host/browser_compositor_view_mac.mm#newcode172 ...
3 years, 11 months ago (2017-01-25 23:23:48 UTC) #5
Fady Samuel
lgtm + nits
3 years, 11 months ago (2017-01-25 23:24:01 UTC) #6
xlai (Olivia)
This is a fix which is similar to the code in render widget host view ...
3 years, 11 months ago (2017-01-25 23:43:26 UTC) #9
boliu
https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode453 content/browser/renderer_host/render_widget_host_view_android.cc:453: base::checked_cast<uint32_t>(host_->GetProcess()->GetID()), these numbers are ok as the "client id" ...
3 years, 11 months ago (2017-01-26 00:14:39 UTC) #10
xlai (Olivia)
https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode453 content/browser/renderer_host/render_widget_host_view_android.cc:453: base::checked_cast<uint32_t>(host_->GetProcess()->GetID()), On 2017/01/26 00:14:39, boliu wrote: > these numbers ...
3 years, 11 months ago (2017-01-26 15:56:11 UTC) #11
Fady Samuel
https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode453 content/browser/renderer_host/render_widget_host_view_android.cc:453: base::checked_cast<uint32_t>(host_->GetProcess()->GetID()), On 2017/01/26 15:56:11, xlai (Olivia) wrote: > On ...
3 years, 11 months ago (2017-01-26 16:06:36 UTC) #12
jam
lgtm
3 years, 11 months ago (2017-01-26 19:04:26 UTC) #13
boliu
https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode453 content/browser/renderer_host/render_widget_host_view_android.cc:453: base::checked_cast<uint32_t>(host_->GetProcess()->GetID()), On 2017/01/26 16:06:36, Fady Samuel wrote: > On ...
3 years, 11 months ago (2017-01-26 19:24:46 UTC) #14
Fady Samuel
https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode453 content/browser/renderer_host/render_widget_host_view_android.cc:453: base::checked_cast<uint32_t>(host_->GetProcess()->GetID()), On 2017/01/26 19:24:45, boliu wrote: > On 2017/01/26 ...
3 years, 11 months ago (2017-01-26 20:15:22 UTC) #15
xlai (Olivia)
https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/2656893003/diff/40001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode453 content/browser/renderer_host/render_widget_host_view_android.cc:453: base::checked_cast<uint32_t>(host_->GetProcess()->GetID()), On 2017/01/26 20:15:22, Fady Samuel wrote: > On ...
3 years, 11 months ago (2017-01-26 20:50:21 UTC) #18
Fady Samuel
https://codereview.chromium.org/2656893003/diff/60001/content/browser/renderer_host/context_provider_factory_impl_android.cc File content/browser/renderer_host/context_provider_factory_impl_android.cc (right): https://codereview.chromium.org/2656893003/diff/60001/content/browser/renderer_host/context_provider_factory_impl_android.cc#newcode139 content/browser/renderer_host/context_provider_factory_impl_android.cc:139: return cc::FrameSinkId(0 /* client_id */, ++next_sink_id_); next_sink_id_++ to match ...
3 years, 11 months ago (2017-01-26 20:52:20 UTC) #19
xlai (Olivia)
https://codereview.chromium.org/2656893003/diff/60001/content/browser/renderer_host/context_provider_factory_impl_android.cc File content/browser/renderer_host/context_provider_factory_impl_android.cc (right): https://codereview.chromium.org/2656893003/diff/60001/content/browser/renderer_host/context_provider_factory_impl_android.cc#newcode139 content/browser/renderer_host/context_provider_factory_impl_android.cc:139: return cc::FrameSinkId(0 /* client_id */, ++next_sink_id_); On 2017/01/26 20:52:20, ...
3 years, 11 months ago (2017-01-26 20:59:44 UTC) #20
boliu
What about InProcessContextFactory::AllocateFrameSinkId? Anything uses that? Do we need to audit all the places FrameSinkIds ...
3 years, 11 months ago (2017-01-26 21:04:48 UTC) #23
Fady Samuel
On 2017/01/26 21:04:48, boliu wrote: > What about InProcessContextFactory::AllocateFrameSinkId? Anything uses that? Do > we ...
3 years, 11 months ago (2017-01-26 21:09:14 UTC) #24
xlai (Olivia)
I've fixed InProcessContextFactory::AllocateFrameSinkId as well. The current allocation of frame_sink_id being spread all the places ...
3 years, 11 months ago (2017-01-26 21:55:16 UTC) #28
boliu
On 2017/01/26 21:09:14, Fady Samuel wrote: > Note that eventually the Mus window server will ...
3 years, 11 months ago (2017-01-26 22:52:41 UTC) #29
Fady Samuel
On 2017/01/26 22:52:41, boliu wrote: > On 2017/01/26 21:09:14, Fady Samuel wrote: > > Note ...
3 years, 11 months ago (2017-01-27 01:09:55 UTC) #32
boliu
Please make the comment refer to other code that it needs to be globally unique ...
3 years, 11 months ago (2017-01-27 02:24:34 UTC) #33
xlai (Olivia)
boliu@: I have updated the comments in the context factories where FrameSinkId is allocated, to ...
3 years, 10 months ago (2017-01-27 16:32:16 UTC) #34
xlai (Olivia)
boliu@: I have updated the comments in the context factories where FrameSinkId is allocated, to ...
3 years, 10 months ago (2017-01-27 16:46:19 UTC) #35
bo658713
lgtm On Jan 27, 2017 08:46, <xlai@chromium.org> wrote: > boliu@: I have updated the comments ...
3 years, 10 months ago (2017-01-27 16:59:35 UTC) #37
boliu
lgtm Er.. sorry about that
3 years, 10 months ago (2017-01-27 17:49:46 UTC) #40
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/2656893003/160001
3 years, 10 months ago (2017-01-27 18:30:49 UTC) #45
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 18:39:55 UTC) #48
Message was sent while issue was closed.
Committed patchset #7 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/9351829f20da199ef48bc3aaaa70...

Powered by Google App Engine
This is Rietveld 408576698