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

Side by Side Diff: cc/proto/skxfermode.proto

Issue 1492533003: Change Skia-related proto enums to uppercase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix another DIFFERENCE Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « cc/proto/skregion.proto ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 SkXfermode { 11 message SkXfermode {
12 enum Mode { 12 enum Mode {
13 Mode_Clear = 0; 13 CLEAR_ = 0; // Clear() is a method for protos.
14 Mode_Src = 1; 14 SRC = 1;
15 Mode_Dst = 2; 15 DST = 2;
16 Mode_SrcOver = 3; 16 SRC_OVER = 3;
17 Mode_DstOver = 4; 17 DST_OVER = 4;
18 Mode_SrcIn = 5; 18 SRC_IN = 5;
19 Mode_DstIn = 6; 19 DST_IN = 6;
20 Mode_SrcOut = 7; 20 SRC_OUT = 7;
21 Mode_DstOut = 8; 21 DST_OUT = 8;
22 Mode_SrcATop = 9; 22 SRC_A_TOP = 9;
23 Mode_DstATop = 10; 23 DST_A_TOP = 10;
24 Mode_XOR = 11; 24 XOR = 11;
25 Mode_Plus = 12; 25 PLUS = 12;
26 Mode_Modulate = 13; 26 MODULATE = 13;
27 27
28 Mode_Screen = 14; 28 SCREEN = 14;
29 29
30 Mode_Overlay = 15; 30 OVERLAY = 15;
31 Mode_Darken = 16; 31 DARKEN = 16;
32 Mode_Lighten = 17; 32 LIGHTEN = 17;
33 Mode_ColorDodge = 18; 33 COLOR_DODGE = 18;
34 Mode_ColorBurn = 19; 34 COLOR_BURN = 19;
35 Mode_HardLight = 20; 35 HARD_LIGHT = 20;
36 Mode_SoftLight = 21; 36 SOFT_LIGHT = 21;
37 Mode_Difference = 22; 37 DIFFERENCE_ = 22;
38 Mode_Exclusion = 23; 38 EXCLUSION = 23;
39 Mode_Multiply = 24; 39 MULTIPLY = 24;
40 40
41 Mode_Hue = 25; 41 HUE = 25;
42 Mode_Saturation = 26; 42 SATURATION = 26;
43 Mode_Color = 27; 43 COLOR = 27;
44 Mode_Luminosity = 28; 44 LUMINOSITY = 28;
45 } 45 }
46 } 46 }
OLDNEW
« no previous file with comments | « cc/proto/skregion.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698