| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 import "pointf.proto"; | |
| 8 import "sizef.proto"; | |
| 9 | |
| 10 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 11 | 8 |
| 12 package cc.proto; | 9 package cc.proto; |
| 13 | 10 |
| 14 message RectF { | 11 message SkRegion { |
| 15 optional cc.proto.PointF origin = 1; | 12 enum Op { |
| 16 optional cc.proto.SizeF size = 2; | 13 Op_Difference = 0; |
| 17 } | 14 Op_Intersect = 1; |
| 15 Op_Union = 2; |
| 16 Op_XOR = 3; |
| 17 Op_ReverseDifference = 4; |
| 18 Op_Replace = 5; |
| 19 } |
| 20 } |
| OLD | NEW |