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

Issue 1407793002: Add protobuf serialization to DisplayItemList (Closed)

Created:
5 years, 2 months ago by David Trainor- moved to gerrit
Modified:
5 years, 1 month ago
Reviewers:
danakj, vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org, enne (OOO), Kevin M, Wez
Base URL:
https://chromium.googlesource.com/chromium/src.git@blimp_display2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add protobuf serialization to DisplayItemList Serialize the following classes: - DisplayItemListSettings - DisplayItemList - DisplayItem and all subclasses - Did not fully serialize FilterDisplayItem. Serializing FilterOperations will require more work. Will do in a follow up CL. Added unit tests for all DisplayItems serialized. BUG=541321 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/2191e4d3cb6b574fd532547a8f93e02f9168a706 Cr-Commit-Position: refs/heads/master@{#356563}

Patch Set 1 #

Patch Set 2 : Remove unused header. Added a few more comments to the unit test #

Total comments: 4

Patch Set 3 : Rebased #

Patch Set 4 : Addressed personal comments #

Patch Set 5 : Rebased #

Total comments: 19

Patch Set 6 : Address Comments #

Total comments: 12

Patch Set 7 : Updated comments, filed bugs. #

Total comments: 2

Patch Set 8 : Comments are hard #

Unified diffs Side-by-side diffs Delta from patch set Stats (+787 lines, -13 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M cc/playback/clip_display_item.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M cc/playback/clip_display_item.cc View 1 2 3 4 5 3 chunks +36 lines, -0 lines 0 comments Download
M cc/playback/clip_path_display_item.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M cc/playback/clip_path_display_item.cc View 1 2 3 4 5 3 chunks +43 lines, -0 lines 0 comments Download
M cc/playback/compositing_display_item.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M cc/playback/compositing_display_item.cc View 1 2 3 4 5 3 chunks +54 lines, -0 lines 0 comments Download
M cc/playback/display_item.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M cc/playback/display_item_list.h View 1 2 3 4 5 6 4 chunks +16 lines, -2 lines 0 comments Download
M cc/playback/display_item_list.cc View 1 2 3 4 5 6 8 chunks +41 lines, -11 lines 0 comments Download
M cc/playback/display_item_list_settings.h View 1 chunk +7 lines, -0 lines 0 comments Download
M cc/playback/display_item_list_settings.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M cc/playback/display_item_list_unittest.cc View 1 2 3 4 5 3 chunks +237 lines, -0 lines 0 comments Download
A cc/playback/display_item_proto_factory.h View 1 chunk +33 lines, -0 lines 0 comments Download
A cc/playback/display_item_proto_factory.cc View 1 2 3 4 5 6 7 1 chunk +55 lines, -0 lines 0 comments Download
M cc/playback/drawing_display_item.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cc/playback/drawing_display_item.cc View 1 2 3 4 5 6 2 chunks +37 lines, -0 lines 0 comments Download
M cc/playback/filter_display_item.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M cc/playback/filter_display_item.cc View 1 2 3 4 5 6 3 chunks +31 lines, -0 lines 0 comments Download
M cc/playback/float_clip_display_item.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M cc/playback/float_clip_display_item.cc View 1 2 3 4 5 3 chunks +26 lines, -0 lines 0 comments Download
M cc/playback/transform_display_item.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M cc/playback/transform_display_item.cc View 1 2 3 4 5 3 chunks +26 lines, -0 lines 0 comments Download
M cc/proto/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A cc/proto/display_item.proto View 1 2 3 4 5 1 chunk +93 lines, -0 lines 0 comments Download
M cc/proto/gfx_conversions.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cc/proto/skia_conversions.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
David Trainor- moved to gerrit
ptal... most is in display_item_list_unittests.cc and display_item.proto I swear! :(
5 years, 2 months ago (2015-10-14 22:33:38 UTC) #2
David Trainor- moved to gerrit
https://codereview.chromium.org/1407793002/diff/20001/cc/playback/clip_display_item.cc File cc/playback/clip_display_item.cc (right): https://codereview.chromium.org/1407793002/diff/20001/cc/playback/clip_display_item.cc#newcode43 cc/playback/clip_display_item.cc:43: DCHECK_EQ(0, details->rounded_rects_size()); TODO: details->clear_rounded_rects()? https://codereview.chromium.org/1407793002/diff/20001/cc/playback/display_item_list_unittest.cc File cc/playback/display_item_list_unittest.cc (right): https://codereview.chromium.org/1407793002/diff/20001/cc/playback/display_item_list_unittest.cc#newcode124 ...
5 years, 2 months ago (2015-10-14 23:09:28 UTC) #3
David Trainor- moved to gerrit
https://codereview.chromium.org/1407793002/diff/20001/cc/playback/clip_display_item.cc File cc/playback/clip_display_item.cc (right): https://codereview.chromium.org/1407793002/diff/20001/cc/playback/clip_display_item.cc#newcode43 cc/playback/clip_display_item.cc:43: DCHECK_EQ(0, details->rounded_rects_size()); On 2015/10/14 23:09:28, David Trainor wrote: > ...
5 years, 2 months ago (2015-10-20 20:26:49 UTC) #4
David Trainor- moved to gerrit
adding kmarshall@ and wez@ to cc for FYI, but feel free to review if you'd ...
5 years, 1 month ago (2015-10-26 16:04:35 UTC) #5
vmpstr
https://chromiumcodereview.appspot.com/1407793002/diff/80001/cc/playback/clip_display_item.cc File cc/playback/clip_display_item.cc (right): https://chromiumcodereview.appspot.com/1407793002/diff/80001/cc/playback/clip_display_item.cc#newcode43 cc/playback/clip_display_item.cc:43: details->clear_rounded_rects(); dcheck that the size is 0 instead https://chromiumcodereview.appspot.com/1407793002/diff/80001/cc/playback/clip_display_item.cc#newcode44 ...
5 years, 1 month ago (2015-10-26 17:46:17 UTC) #6
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1407793002/diff/80001/cc/playback/clip_display_item.cc File cc/playback/clip_display_item.cc (right): https://chromiumcodereview.appspot.com/1407793002/diff/80001/cc/playback/clip_display_item.cc#newcode43 cc/playback/clip_display_item.cc:43: details->clear_rounded_rects(); On 2015/10/26 17:46:17, vmpstr wrote: > dcheck that ...
5 years, 1 month ago (2015-10-26 20:42:56 UTC) #7
vmpstr
Looks good, just a few comments. https://codereview.chromium.org/1407793002/diff/100001/cc/playback/display_item_list.cc File cc/playback/display_item_list.cc (right): https://codereview.chromium.org/1407793002/diff/100001/cc/playback/display_item_list.cc#newcode55 cc/playback/display_item_list.cc:55: gfx::Rect layer_rect = ...
5 years, 1 month ago (2015-10-27 21:49:47 UTC) #8
David Trainor- moved to gerrit
filed the bugs :). https://codereview.chromium.org/1407793002/diff/100001/cc/playback/display_item_list.cc File cc/playback/display_item_list.cc (right): https://codereview.chromium.org/1407793002/diff/100001/cc/playback/display_item_list.cc#newcode55 cc/playback/display_item_list.cc:55: gfx::Rect layer_rect = ProtoToRect(proto.layer_rect()); On ...
5 years, 1 month ago (2015-10-27 22:49:24 UTC) #9
vmpstr
https://codereview.chromium.org/1407793002/diff/120001/cc/playback/display_item_proto_factory.cc File cc/playback/display_item_proto_factory.cc (right): https://codereview.chromium.org/1407793002/diff/120001/cc/playback/display_item_proto_factory.cc#newcode49 cc/playback/display_item_proto_factory.cc:49: default: <_<
5 years, 1 month ago (2015-10-27 23:03:01 UTC) #10
David Trainor- moved to gerrit
https://codereview.chromium.org/1407793002/diff/120001/cc/playback/display_item_proto_factory.cc File cc/playback/display_item_proto_factory.cc (right): https://codereview.chromium.org/1407793002/diff/120001/cc/playback/display_item_proto_factory.cc#newcode49 cc/playback/display_item_proto_factory.cc:49: default: On 2015/10/27 23:03:01, vmpstr wrote: > <_< (╯°□°)╯︵ ...
5 years, 1 month ago (2015-10-27 23:09:56 UTC) #11
vmpstr
lgtm
5 years, 1 month ago (2015-10-27 23:35:24 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1407793002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1407793002/140001
5 years, 1 month ago (2015-10-28 14:52:21 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-10-28 16:02:59 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 16:03:45 UTC) #16
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/2191e4d3cb6b574fd532547a8f93e02f9168a706
Cr-Commit-Position: refs/heads/master@{#356563}

Powered by Google App Engine
This is Rietveld 408576698