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

Issue 2684933003: Move frame_sink_id management to framesink_manager.cc/h from (Closed)

Created:
3 years, 10 months ago by k.devara
Modified:
3 years, 9 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, miu+watch_chromium.org, nasko+codewatch_chromium.org, piman+watch_chromium.org, rjkroege, Ian Vollick, xjz+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move frame_sink_id management to framesink_manager.cc/h from surface_manager.cc/h and modify calls to surface_manager accoridingly. BUG= R=fsamuel@chromium.org R=enne@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2684933003 Cr-Commit-Position: refs/heads/master@{#459703} Committed: https://chromium.googlesource.com/chromium/src/+/7ee8c7800de63a7616c093f6d2582c1b90aa1cf0

Patch Set 1 #

Total comments: 10

Patch Set 2 : Move frame_sink_id management to framesink_manager.cc/h from surface_manager.cc/h and modify calls … #

Patch Set 3 : Addressed core-review comments from patchset1, added an accessor fro valid_frame_sink_ids #

Patch Set 4 : added surface_factory null check as the reference is a weak_ptr. #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Patch Set 9 : Rebase #

Patch Set 10 : fixed an issue with declaring Test class as friend class #

Patch Set 11 : fixed ui/aur/demo_main.cc #

Patch Set 12 : fixed some errors in compositor_unittests #

Patch Set 13 : fixed ash/laser/laser_pointer_view.cc #

Patch Set 14 : fixed some unit tests #

Patch Set 15 : Rebase #

Patch Set 16 : Unit tests fro android neded fixing #

Patch Set 17 : Changed the patch to call frmesink_manager from surface_manager #

Total comments: 6

Patch Set 18 : Addressed CR comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+369 lines, -215 lines) Patch
M cc/surfaces/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
A cc/surfaces/framesink_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +122 lines, -0 lines 0 comments Download
A cc/surfaces/framesink_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +231 lines, -0 lines 0 comments Download
M cc/surfaces/surface_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +3 lines, -39 lines 0 comments Download
M cc/surfaces/surface_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +11 lines, -176 lines 0 comments Download

Messages

Total messages: 115 (94 generated)
Fady Samuel
I think you'll need to rebase. Once you rebase and the bots are happy, then ...
3 years, 10 months ago (2017-02-12 19:04:08 UTC) #3
k.devara
https://codereview.chromium.org/2684933003/diff/1/cc/surfaces/direct_compositor_frame_sink.cc File cc/surfaces/direct_compositor_frame_sink.cc (right): https://codereview.chromium.org/2684933003/diff/1/cc/surfaces/direct_compositor_frame_sink.cc#newcode82 cc/surfaces/direct_compositor_frame_sink.cc:82: display_->Initialize(this, surface_manager_, framesink_manager_); On 2017/02/12 19:04:07, Fady Samuel wrote: ...
3 years, 10 months ago (2017-02-13 06:47:34 UTC) #4
k.devara
https://codereview.chromium.org/2684933003/diff/1/cc/surfaces/surface_manager.h File cc/surfaces/surface_manager.h (right): https://codereview.chromium.org/2684933003/diff/1/cc/surfaces/surface_manager.h#newcode81 cc/surfaces/surface_manager.h:81: void RegisterFrameSinkId(const FrameSinkId& frame_sink_id); On 2017/02/12 19:04:08, Fady Samuel ...
3 years, 10 months ago (2017-02-13 06:52:00 UTC) #5
k.devara
https://codereview.chromium.org/2684933003/diff/1/cc/surfaces/framesink_manager.h File cc/surfaces/framesink_manager.h (right): https://codereview.chromium.org/2684933003/diff/1/cc/surfaces/framesink_manager.h#newcode38 cc/surfaces/framesink_manager.h:38: void RegisterFrameSinkId(const FrameSinkId& frame_sink_id); On 2017/02/12 19:04:07, Fady Samuel ...
3 years, 10 months ago (2017-02-13 07:00:52 UTC) #6
Fady Samuel
lgtm once the bots are happy.
3 years, 10 months ago (2017-02-16 11:04:23 UTC) #19
k.devara
On 2017/02/16 11:04:23, Fady Samuel wrote: > lgtm once the bots are happy. I changed ...
3 years, 9 months ago (2017-03-20 12:32:30 UTC) #93
k.devara
3 years, 9 months ago (2017-03-20 12:32:58 UTC) #94
enne (OOO)
This approach looks fine to me % fsamuel's review as well. I think this is ...
3 years, 9 months ago (2017-03-20 18:28:54 UTC) #95
Fady Samuel
I generally like this as well. https://codereview.chromium.org/2684933003/diff/320001/cc/surfaces/surface_manager.h File cc/surfaces/surface_manager.h (right): https://codereview.chromium.org/2684933003/diff/320001/cc/surfaces/surface_manager.h#newcode178 cc/surfaces/surface_manager.h:178: FrameSinkManager* framesink_manager_; On ...
3 years, 9 months ago (2017-03-20 18:36:30 UTC) #96
k.devara
On 2017/03/20 18:36:30, Fady Samuel wrote: > I generally like this as well. > > ...
3 years, 9 months ago (2017-03-24 01:51:14 UTC) #101
k.devara
3 years, 9 months ago (2017-03-24 01:51:34 UTC) #102
k.devara
3 years, 9 months ago (2017-03-24 01:51:40 UTC) #103
enne (OOO)
Could you also format your patch description like this: https://chris.beams.io/posts/git-commit/#seven-rules
3 years, 9 months ago (2017-03-24 16:48:54 UTC) #104
enne (OOO)
lgtm % fsamuel, and making the patch description better
3 years, 9 months ago (2017-03-24 16:49:11 UTC) #105
Fady Samuel
This is cool! Thanks! LGTM
3 years, 9 months ago (2017-03-24 20:35:14 UTC) #106
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/2684933003/340001
3 years, 9 months ago (2017-03-27 03:34:15 UTC) #108
commit-bot: I haz the power
Committed patchset #18 (id:340001) as https://chromium.googlesource.com/chromium/src/+/7ee8c7800de63a7616c093f6d2582c1b90aa1cf0
3 years, 9 months ago (2017-03-27 04:45:01 UTC) #111
k.devara
On 2017/03/24 16:49:11, enne wrote: > lgtm % fsamuel, and making the patch description better ...
3 years, 9 months ago (2017-03-27 05:02:55 UTC) #112
k.devara
On 2017/03/24 16:49:11, enne wrote: > lgtm % fsamuel, and making the patch description better ...
3 years, 9 months ago (2017-03-27 05:03:03 UTC) #113
k.devara
3 years, 9 months ago (2017-03-27 05:03:21 UTC) #114
enne (OOO)
3 years, 9 months ago (2017-03-27 13:15:44 UTC) #115
Message was sent while issue was closed.
No, there's not, sorry.

Powered by Google App Engine
This is Rietveld 408576698