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

Issue 1159573002: cc: Move cc/quads/list_container.* files to cc/base. (Closed)

Created:
5 years, 7 months ago by prashant.n
Modified:
3 years, 3 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, jbroman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Move cc/quads/list_container.* files to cc/base. This change moves the list_container.* files from cc/quads to cc/base as these gets used in cc/quads as well as cc/playback. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;tryserver.blink:linux_blink_rel

Patch Set 1 #

Total comments: 4

Patch Set 2 : Merging list_container.cc in list_container.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -976 lines) Patch
A + cc/base/list_container.h View 1 3 chunks +226 lines, -8 lines 0 comments Download
M cc/cc.gyp View 2 chunks +1 line, -2 lines 0 comments Download
M cc/playback/display_item_list.h View 2 chunks +5 lines, -2 lines 0 comments Download
M cc/playback/display_item_list.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
D cc/quads/list_container.h View 1 chunk +0 lines, -242 lines 0 comments Download
D cc/quads/list_container.cc View 1 chunk +0 lines, -720 lines 0 comments Download
D cc/quads/list_container_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/quads/render_pass.h View 2 chunks +6 lines, -1 line 0 comments Download
M cc/quads/render_pass.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
prashant.n
Due to moving list_container.h and .cc file to cc/base, the template definitions done for SharedQuadState, ...
5 years, 7 months ago (2015-05-23 13:04:01 UTC) #2
enne (OOO)
https://codereview.chromium.org/1159573002/diff/1/cc/playback/display_item_list.cc File cc/playback/display_item_list.cc (right): https://codereview.chromium.org/1159573002/diff/1/cc/playback/display_item_list.cc#newcode11 cc/playback/display_item_list.cc:11: #include "cc/base/list_container.cc" Don't include cc files, please. Find some ...
5 years, 6 months ago (2015-05-26 18:31:28 UTC) #3
prashant.n
Please check the queries I've. https://codereview.chromium.org/1159573002/diff/1/cc/playback/display_item_list.cc File cc/playback/display_item_list.cc (right): https://codereview.chromium.org/1159573002/diff/1/cc/playback/display_item_list.cc#newcode11 cc/playback/display_item_list.cc:11: #include "cc/base/list_container.cc" We'll have ...
5 years, 6 months ago (2015-05-26 19:11:48 UTC) #4
prashant.n
Still working on moving list_container_unittest.cc to cc/base.
5 years, 6 months ago (2015-05-27 17:05:30 UTC) #5
enne (OOO)
On 2015/05/27 at 17:05:30, prashant.n wrote: > Still working on moving list_container_unittest.cc to cc/base.
5 years, 6 months ago (2015-05-28 17:19:54 UTC) #6
enne (OOO)
You need to add list_container.cc to this patch set. You don't have to merge all ...
5 years, 6 months ago (2015-05-28 17:20:03 UTC) #7
prashant.n
5 years, 6 months ago (2015-05-29 04:41:56 UTC) #8
On 2015/05/28 17:20:03, enne wrote:
> You need to add list_container.cc to this patch set.
> 
> You don't have to merge all of list_container.cc into list_container.h.  You
can
> put the non-templated stuff in the .cc file, and then include the header. 
It's
> a templated class, so it's not unexpected that the header is large if it wants
> to be used generally.

Yes.
> 
> If you can't include quads from cc/base, then list_container_unittest.cc
should
> be changed to be based on some mock class.  I don't think it makes sense to
test
> list container in cc/quads.

I'll put the CL for this if jbroman is not working on this.

Powered by Google App Engine
This is Rietveld 408576698