| 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 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 package cc.proto; | 9 package cc.proto; |
| 10 | 10 |
| 11 message SkRegion { | 11 message SkRegion { |
| 12 enum Op { | 12 enum Op { |
| 13 Op_Difference = 0; | 13 DIFFERENCE_ = 0; // On Windows, winuser.h defines DIFFERENCE. |
| 14 Op_Intersect = 1; | 14 INTERSECT = 1; |
| 15 Op_Union = 2; | 15 UNION = 2; |
| 16 Op_XOR = 3; | 16 XOR = 3; |
| 17 Op_ReverseDifference = 4; | 17 REVERSE_DIFFERENCE = 4; |
| 18 Op_Replace = 5; | 18 REPLACE = 5; |
| 19 } | 19 } |
| 20 } | 20 } |
| OLD | NEW |