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

Issue 2780043002: Aura-Mus: Allocate a LocalSurfaceId on size change (Closed)

Created:
3 years, 8 months ago by Fady Samuel
Modified:
3 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Aura-Mus: Allocate a LocalSurfaceId on size change If the window type is EMBED_IN_OWNER, or TOP_LEVEL_IN_WM, then allocate a cc::LocalSurfaceId on size change and propagate that new LocalSurfaceId down to the WindowTreeHost of the embedded client. The embedded client will use that LocalSurfaceId to submit CompositorFrames. If surface synchronization is enabled (subsequent patch), then the embedder can immediately embed the surface ID (if the FrameSinkId is available), and submit its own CompositorFrame with that embedding. The parent's CompositorFrame will block until the embedded client submits a CompositorFrame or a deadline is hit. BUG=672962 Review-Url: https://codereview.chromium.org/2780043002 Cr-Commit-Position: refs/heads/master@{#460597} Committed: https://chromium.googlesource.com/chromium/src/+/df6186f7c0a8611fdd4425338cc6a1dceeaa2e7e

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add unit tests #

Patch Set 3 : Cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -10 lines) Patch
M ui/aura/mus/window_mus.h View 1 2 3 chunks +10 lines, -1 line 0 comments Download
M ui/aura/mus/window_port_mus.h View 1 2 3 chunks +10 lines, -1 line 0 comments Download
M ui/aura/mus/window_port_mus.cc View 1 2 3 chunks +28 lines, -1 line 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 3 chunks +13 lines, -6 lines 0 comments Download
M ui/aura/mus/window_tree_client_unittest.cc View 1 2 3 chunks +80 lines, -1 line 0 comments Download
M ui/aura/test/mus/test_window_tree.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M ui/aura/test/mus/test_window_tree.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
Fady Samuel
PTAL Scott! I have GetOrAllocateSurfaceId so that I can use the before resize LocalSurfaceId in ...
3 years, 8 months ago (2017-03-28 23:35:34 UTC) #4
sky
https://codereview.chromium.org/2780043002/diff/1/ui/aura/mus/window_mus.h File ui/aura/mus/window_mus.h (right): https://codereview.chromium.org/2780043002/diff/1/ui/aura/mus/window_mus.h#newcode87 ui/aura/mus/window_mus.h:87: virtual const cc::LocalSurfaceId& GetLocalSurfaceId() = 0; Move this beneath ...
3 years, 8 months ago (2017-03-29 00:07:35 UTC) #5
Fady Samuel
PTAL Scott! Thanks! :-) https://codereview.chromium.org/2780043002/diff/1/ui/aura/mus/window_mus.h File ui/aura/mus/window_mus.h (right): https://codereview.chromium.org/2780043002/diff/1/ui/aura/mus/window_mus.h#newcode87 ui/aura/mus/window_mus.h:87: virtual const cc::LocalSurfaceId& GetLocalSurfaceId() = ...
3 years, 8 months ago (2017-03-29 22:10:14 UTC) #8
sky
LGTM
3 years, 8 months ago (2017-03-29 23:26:35 UTC) #11
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/2780043002/40001
3 years, 8 months ago (2017-03-30 00:24:26 UTC) #15
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 00:53:56 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/df6186f7c0a8611fdd4425338cc6...

Powered by Google App Engine
This is Rietveld 408576698