summaryrefslogtreecommitdiffstats
path: root/cc/proto/gfx_conversions_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* (De)-serialize BeginMainFrameAndCommitState to protobuf.khushalsagar2016-01-151-0/+14
| | | | | | | | | BUG=550687 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1581773002 Cr-Commit-Position: refs/heads/master@{#369836}
* Add serialization to protobufs for property trees.khushalsagar2015-11-251-12/+62
| | | | | | | | | | | | Add serialization tests. Update existing tests to validate serialization. BUG=554319 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1417963011 Cr-Commit-Position: refs/heads/master@{#361574}
* Add support for converting more types to and from protobuf.nyquist2015-11-201-0/+46
| | | | | | | | | | | | | | | | | | | | | For the (de)serialization of property trees and layers, we need to be able to serialize more data types and this CL adds conversions and unit tests for the types Point3F, Vector2dF, ScrollOffset and LayerPositionConstraint. This is done in a separate CL to keep the logic-changing CLs clean and focused. This CL also changes the behavior of the conversions of gfx::Transform to ensure that it supports sending empty protobufs across the channel. BUG=538710 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1452323004 Cr-Commit-Position: refs/heads/master@{#360881}
* Add Protobuf support in cc for gfx objectsdtrainor2015-10-191-0/+177
Add protobuf serialization to the following: - gfx::Point - gfx::PointF - gfx::Rect - gfx::RectF - gfx::Size - gfx::SizeF - gfx::Transform Add a helper class to handle serialization and deserialization. Add unit tests as well. BUG=541321 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1394353002 Cr-Commit-Position: refs/heads/master@{#354846}