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

Issue 2478383002: Remove SurfaceSequence from mus client code. (Closed)

Created:
4 years, 1 month ago by kylechar
Modified:
4 years, 1 month ago
Reviewers:
Tom Sepez, Fady Samuel, sky
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove SurfaceSequence from mus client code. This is a first step in replacing all SurfaceSequences in mus. We were passing a sequence from WT to WTC and the client was storing it. The client would later return the sequence. However, we never registered the sequence as a dependency so it was one big no-op. Remove all of the no-op code. Drop OnWindowSurfacedDetached() since it's not needed now. Something along these lines will need to be added in the future, but it will need to be synchronized with SubmitCompositorFrame() so would need to be in a different interface anyways. BUG=659227 Committed: https://crrev.com/8f4cf6a6f7c47173fe85f7f6022bd5f64b84eb04 Cr-Commit-Position: refs/heads/master@{#430841}

Patch Set 1 #

Patch Set 2 : Remove more used code. #

Patch Set 3 : Rebase. #

Patch Set 4 : Remove OnWindowSurfaceDetached(). #

Patch Set 5 : Only cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -113 lines) Patch
M services/ui/public/cpp/surface_id_handler.h View 2 chunks +0 lines, -4 lines 0 comments Download
M services/ui/public/cpp/tests/test_window_tree.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M services/ui/public/cpp/tests/test_window_tree.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M services/ui/public/cpp/window.cc View 1 2 3 4 1 chunk +1 line, -5 lines 0 comments Download
M services/ui/public/cpp/window_tree_client.h View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M services/ui/public/cpp/window_tree_client.cc View 1 2 3 4 3 chunks +0 lines, -9 lines 0 comments Download
M services/ui/public/interfaces/window_tree.mojom View 1 2 3 4 2 chunks +1 line, -5 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.h View 1 2 3 4 5 chunks +3 lines, -9 lines 0 comments Download
M services/ui/ws/server_window_compositor_frame_sink_manager.cc View 1 2 3 4 2 chunks +0 lines, -12 lines 0 comments Download
M services/ui/ws/test_change_tracker.h View 2 chunks +0 lines, -2 lines 0 comments Download
M services/ui/ws/test_change_tracker.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M services/ui/ws/test_utils.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/ws/test_utils.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/ws/window_server.h View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M services/ui/ws/window_tree.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M services/ui/ws/window_tree.cc View 1 2 3 4 2 chunks +2 lines, -18 lines 0 comments Download
M services/ui/ws/window_tree_client_unittest.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M ui/aura/mus/surface_id_handler.h View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M ui/aura/mus/window_port_mus.cc View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M ui/aura/mus/window_tree_client.h View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M ui/aura/mus/window_tree_client.cc View 1 2 3 4 3 chunks +0 lines, -8 lines 0 comments Download
M ui/aura/test/mus/test_window_tree.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M ui/aura/test/mus/test_window_tree.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
kylechar
I'm going to start with a mechanical switch from SurfaceSequence to references here instead of ...
4 years, 1 month ago (2016-11-07 18:34:08 UTC) #5
Fady Samuel
lgtm
4 years, 1 month ago (2016-11-07 18:38:43 UTC) #6
kylechar
fsamuel: Maybe take another look. I've removed the changes from FrameGenerator and will follow up ...
4 years, 1 month ago (2016-11-08 20:16:21 UTC) #10
Tom Sepez
OWNERS LGTM
4 years, 1 month ago (2016-11-08 20:22:01 UTC) #11
Fady Samuel
lgtm
4 years, 1 month ago (2016-11-08 20:56:54 UTC) #12
sky
LGTM
4 years, 1 month ago (2016-11-09 00:08:25 UTC) #13
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/2478383002/120001
4 years, 1 month ago (2016-11-09 02:38:26 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 1 month ago (2016-11-09 03:17:49 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 03:22:28 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8f4cf6a6f7c47173fe85f7f6022bd5f64b84eb04
Cr-Commit-Position: refs/heads/master@{#430841}

Powered by Google App Engine
This is Rietveld 408576698