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

Issue 2810703004: Add observers to FrameSinkManagerHost. (Closed)

Created:
3 years, 8 months ago by kylechar
Modified:
3 years, 7 months ago
Reviewers:
Fady Samuel, piman
CC:
chromium-reviews, jam, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add observers to FrameSinkManagerHost. Add list of in process observers to FrameSinkManagerHost. These work the same way as SurfaceManager observers, except there is an asynchronous Mojo call from MojoFrameSinkManager to FrameSinkManagerHost first. BUG=657959 Review-Url: https://codereview.chromium.org/2810703004 Cr-Commit-Position: refs/heads/master@{#468789} Committed: https://chromium.googlesource.com/chromium/src/+/8b18a094308ec78705a5aa9aaadd90456b011c61

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix test and add to OCCFSM #

Patch Set 3 : Make work with tests. #

Patch Set 4 : Rebase. #

Patch Set 5 : Change unittests. #

Patch Set 6 : Make more better. #

Total comments: 14

Patch Set 7 : Comments. #

Patch Set 8 : Add OWNERS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -1 line) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/OWNERS View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/compositor/frame_sink_manager_host.h View 1 2 3 4 5 3 chunks +8 lines, -0 lines 0 comments Download
M content/browser/compositor/frame_sink_manager_host.cc View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download
A content/browser/compositor/frame_sink_observer.h View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (21 generated)
Fady Samuel
https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h File content/browser/compositor/frame_sink_manager_host.h (right): https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h#newcode35 content/browser/compositor/frame_sink_manager_host.h:35: void AddObserver(cc::SurfaceObserver* observer); Maybe I'm being pedantic but SurfaceObserver ...
3 years, 8 months ago (2017-04-11 16:43:53 UTC) #3
kylechar
https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h File content/browser/compositor/frame_sink_manager_host.h (right): https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h#newcode35 content/browser/compositor/frame_sink_manager_host.h:35: void AddObserver(cc::SurfaceObserver* observer); On 2017/04/11 16:43:53, Fady Samuel wrote: ...
3 years, 8 months ago (2017-04-11 16:52:39 UTC) #4
kylechar
https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h File content/browser/compositor/frame_sink_manager_host.h (right): https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h#newcode35 content/browser/compositor/frame_sink_manager_host.h:35: void AddObserver(cc::SurfaceObserver* observer); On 2017/04/11 16:52:39, kylechar wrote: > ...
3 years, 8 months ago (2017-04-11 16:53:31 UTC) #5
Fady Samuel
https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h File content/browser/compositor/frame_sink_manager_host.h (right): https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h#newcode35 content/browser/compositor/frame_sink_manager_host.h:35: void AddObserver(cc::SurfaceObserver* observer); On 2017/04/11 16:53:30, kylechar wrote: > ...
3 years, 8 months ago (2017-04-11 17:02:47 UTC) #6
kylechar
On 2017/04/11 17:02:47, Fady Samuel wrote: > https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h > File content/browser/compositor/frame_sink_manager_host.h (right): > > https://codereview.chromium.org/2810703004/diff/1/content/browser/compositor/frame_sink_manager_host.h#newcode35 ...
3 years, 8 months ago (2017-04-11 17:09:04 UTC) #7
Fady Samuel
https://codereview.chromium.org/2810703004/diff/120001/content/browser/compositor/frame_sink_manager_host.h File content/browser/compositor/frame_sink_manager_host.h (right): https://codereview.chromium.org/2810703004/diff/120001/content/browser/compositor/frame_sink_manager_host.h#newcode38 content/browser/compositor/frame_sink_manager_host.h:38: void AddObserver(FrameSinkObserver* observer); I had envisioned this would take ...
3 years, 7 months ago (2017-04-28 04:58:01 UTC) #17
kylechar
https://codereview.chromium.org/2810703004/diff/120001/content/browser/compositor/frame_sink_manager_host.h File content/browser/compositor/frame_sink_manager_host.h (right): https://codereview.chromium.org/2810703004/diff/120001/content/browser/compositor/frame_sink_manager_host.h#newcode38 content/browser/compositor/frame_sink_manager_host.h:38: void AddObserver(FrameSinkObserver* observer); On 2017/04/28 04:58:00, Fady Samuel wrote: ...
3 years, 7 months ago (2017-05-01 19:07:48 UTC) #19
kylechar
I moved the offscreen canvas specifics to https://codereview.chromium.org/2851243002.
3 years, 7 months ago (2017-05-01 19:08:15 UTC) #20
Fady Samuel
OK, lgtm
3 years, 7 months ago (2017-05-01 19:13:41 UTC) #21
kylechar
+piman for OWNERS approval.
3 years, 7 months ago (2017-05-02 15:55:54 UTC) #23
piman
lgtm
3 years, 7 months ago (2017-05-02 20:37:09 UTC) #24
kylechar
Thanks!
3 years, 7 months ago (2017-05-02 22:05:32 UTC) #29
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/2810703004/160001
3 years, 7 months ago (2017-05-02 22:06:10 UTC) #32
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 22:11:10 UTC) #35
Message was sent while issue was closed.
Committed patchset #8 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/8b18a094308ec78705a5aa9aaadd...

Powered by Google App Engine
This is Rietveld 408576698