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

Unified Diff: cc/proto/skregion.proto

Issue 1399933004: Add Protobuf support for cc/playback skia usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_geo_proto
Patch Set: Addressed comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/proto/skia_conversions_unittest.cc ('k') | cc/proto/skrrect.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/skregion.proto
diff --git a/cc/proto/rectf.proto b/cc/proto/skregion.proto
similarity index 59%
copy from cc/proto/rectf.proto
copy to cc/proto/skregion.proto
index 5bd56f1cb9f2d09c42146476d6b81165fa5da160..1f6b337e9b39c5e926b1ff497263b46687c0b760 100644
--- a/cc/proto/rectf.proto
+++ b/cc/proto/skregion.proto
@@ -4,14 +4,17 @@
syntax = "proto2";
-import "pointf.proto";
-import "sizef.proto";
-
option optimize_for = LITE_RUNTIME;
package cc.proto;
-message RectF {
- optional cc.proto.PointF origin = 1;
- optional cc.proto.SizeF size = 2;
-}
+message SkRegion {
+ enum Op {
+ Op_Difference = 0;
+ Op_Intersect = 1;
+ Op_Union = 2;
+ Op_XOR = 3;
+ Op_ReverseDifference = 4;
+ Op_Replace = 5;
+ }
+}
« no previous file with comments | « cc/proto/skia_conversions_unittest.cc ('k') | cc/proto/skrrect.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698