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

Issue 2445873003: Pass root ServerWindow id to FrameGenerator. (Closed)

Created:
4 years, 1 month ago by kylechar
Modified:
4 years, 1 month ago
Reviewers:
Fady Samuel, sky
CC:
chromium-reviews, rjkroege
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass root ServerWindow id to FrameGenerator. The FrameSinkId for surfaces corresponding to a ServerWindow encodes the ServerWindow WindowId as the client_id. This doesn't happen for FrameGenerator because the display root ServerWindow was created after the display FrameGenerator. Change the order of creation and pass the WindowId to FrameGenerator. BUG=659227 Committed: https://crrev.com/09c16e13a45528abf1994e036f488a09dc97d76b Cr-Commit-Position: refs/heads/master@{#427699}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change hash function stuff elsewhere. #

Patch Set 3 : Change back to const ref. #

Total comments: 5

Patch Set 4 : Pass root ServerWindow instead of id. #

Total comments: 4

Patch Set 5 : Address nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -20 lines) Patch
M services/ui/ws/display.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M services/ui/ws/display.cc View 1 2 3 4 1 chunk +7 lines, -3 lines 0 comments Download
M services/ui/ws/frame_generator.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M services/ui/ws/frame_generator.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M services/ui/ws/frame_generator_unittest.cc View 1 2 3 4 5 chunks +10 lines, -2 lines 0 comments Download
M services/ui/ws/ids.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M services/ui/ws/platform_display.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M services/ui/ws/platform_display_delegate.h View 1 chunk +0 lines, -4 lines 0 comments Download
M services/ui/ws/platform_display_init_params.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M services/ui/ws/platform_display_init_params.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M services/ui/ws/test_utils.cc View 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
Fady Samuel
Generally looks good once my comments are addressed. Thanks! https://codereview.chromium.org/2445873003/diff/1/services/ui/ws/display.cc File services/ui/ws/display.cc (right): https://codereview.chromium.org/2445873003/diff/1/services/ui/ws/display.cc#newcode36 services/ui/ws/display.cc:36: ...
4 years, 1 month ago (2016-10-24 21:53:22 UTC) #2
kylechar
+sky for OWNERS review. https://codereview.chromium.org/2445873003/diff/1/services/ui/ws/display.cc File services/ui/ws/display.cc (right): https://codereview.chromium.org/2445873003/diff/1/services/ui/ws/display.cc#newcode36 services/ui/ws/display.cc:36: PlatformDisplayInitParams init_params) On 2016/10/24 21:53:22, ...
4 years, 1 month ago (2016-10-25 18:15:02 UTC) #6
Fady Samuel
https://codereview.chromium.org/2445873003/diff/40001/services/ui/ws/frame_generator.cc File services/ui/ws/frame_generator.cc (right): https://codereview.chromium.org/2445873003/diff/40001/services/ui/ws/frame_generator.cc#newcode27 services/ui/ws/frame_generator.cc:27: WindowId root_window_id, per offline discussion, we just pass in ...
4 years, 1 month ago (2016-10-25 18:18:05 UTC) #7
sky
LGTM https://codereview.chromium.org/2445873003/diff/40001/services/ui/ws/display.h File services/ui/ws/display.h (right): https://codereview.chromium.org/2445873003/diff/40001/services/ui/ws/display.h#newcode167 services/ui/ws/display.h:167: // |size| in DIP. I thought we were ...
4 years, 1 month ago (2016-10-25 19:23:31 UTC) #8
kylechar
https://codereview.chromium.org/2445873003/diff/40001/services/ui/ws/display.h File services/ui/ws/display.h (right): https://codereview.chromium.org/2445873003/diff/40001/services/ui/ws/display.h#newcode167 services/ui/ws/display.h:167: // |size| in DIP. On 2016/10/25 19:23:31, sky wrote: ...
4 years, 1 month ago (2016-10-26 14:13:16 UTC) #9
Fady Samuel
lgtm + nits https://codereview.chromium.org/2445873003/diff/60001/services/ui/ws/display.cc File services/ui/ws/display.cc (right): https://codereview.chromium.org/2445873003/diff/60001/services/ui/ws/display.cc#newcode40 services/ui/ws/display.cc:40: // Pass the display root ServerWindow ...
4 years, 1 month ago (2016-10-26 14:33:45 UTC) #12
kylechar
https://codereview.chromium.org/2445873003/diff/40001/services/ui/ws/display.h File services/ui/ws/display.h (right): https://codereview.chromium.org/2445873003/diff/40001/services/ui/ws/display.h#newcode167 services/ui/ws/display.h:167: // |size| in DIP. On 2016/10/26 14:13:16, kylechar wrote: ...
4 years, 1 month ago (2016-10-26 14:55:23 UTC) #13
kylechar
https://codereview.chromium.org/2445873003/diff/60001/services/ui/ws/display.cc File services/ui/ws/display.cc (right): https://codereview.chromium.org/2445873003/diff/60001/services/ui/ws/display.cc#newcode40 services/ui/ws/display.cc:40: // Pass the display root ServerWindow id to PlatformDisplay. ...
4 years, 1 month ago (2016-10-26 14:58:59 UTC) #14
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/2445873003/80001
4 years, 1 month ago (2016-10-26 14:59:19 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-26 15:49:03 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 16:15:27 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/09c16e13a45528abf1994e036f488a09dc97d76b
Cr-Commit-Position: refs/heads/master@{#427699}

Powered by Google App Engine
This is Rietveld 408576698