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

Side by Side Diff: third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp

Issue 1710003002: Unprefix multicol properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase master Created 4 years, 10 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
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 #include "core/animation/ColorPropertyFunctions.h" 5 #include "core/animation/ColorPropertyFunctions.h"
6 6
7 #include "core/style/ComputedStyle.h" 7 #include "core/style/ComputedStyle.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 12 matching lines...) Expand all
23 case CSSPropertyBorderRightColor: 23 case CSSPropertyBorderRightColor:
24 return style.borderRightColor(); 24 return style.borderRightColor();
25 case CSSPropertyBorderTopColor: 25 case CSSPropertyBorderTopColor:
26 return style.borderTopColor(); 26 return style.borderTopColor();
27 case CSSPropertyBorderBottomColor: 27 case CSSPropertyBorderBottomColor:
28 return style.borderBottomColor(); 28 return style.borderBottomColor();
29 case CSSPropertyColor: 29 case CSSPropertyColor:
30 return style.color(); 30 return style.color();
31 case CSSPropertyOutlineColor: 31 case CSSPropertyOutlineColor:
32 return style.outlineColor(); 32 return style.outlineColor();
33 case CSSPropertyWebkitColumnRuleColor: 33 case CSSPropertyColumnRuleColor:
34 return style.columnRuleColor(); 34 return style.columnRuleColor();
35 case CSSPropertyWebkitTextEmphasisColor: 35 case CSSPropertyWebkitTextEmphasisColor:
36 return style.textEmphasisColor(); 36 return style.textEmphasisColor();
37 case CSSPropertyWebkitTextFillColor: 37 case CSSPropertyWebkitTextFillColor:
38 return style.textFillColor(); 38 return style.textFillColor();
39 case CSSPropertyWebkitTextStrokeColor: 39 case CSSPropertyWebkitTextStrokeColor:
40 return style.textStrokeColor(); 40 return style.textStrokeColor();
41 case CSSPropertyFloodColor: 41 case CSSPropertyFloodColor:
42 return style.floodColor(); 42 return style.floodColor();
43 case CSSPropertyLightingColor: 43 case CSSPropertyLightingColor:
(...skipping 20 matching lines...) Expand all
64 case CSSPropertyBorderRightColor: 64 case CSSPropertyBorderRightColor:
65 return style.visitedLinkBorderRightColor(); 65 return style.visitedLinkBorderRightColor();
66 case CSSPropertyBorderTopColor: 66 case CSSPropertyBorderTopColor:
67 return style.visitedLinkBorderTopColor(); 67 return style.visitedLinkBorderTopColor();
68 case CSSPropertyBorderBottomColor: 68 case CSSPropertyBorderBottomColor:
69 return style.visitedLinkBorderBottomColor(); 69 return style.visitedLinkBorderBottomColor();
70 case CSSPropertyColor: 70 case CSSPropertyColor:
71 return style.visitedLinkColor(); 71 return style.visitedLinkColor();
72 case CSSPropertyOutlineColor: 72 case CSSPropertyOutlineColor:
73 return style.visitedLinkOutlineColor(); 73 return style.visitedLinkOutlineColor();
74 case CSSPropertyWebkitColumnRuleColor: 74 case CSSPropertyColumnRuleColor:
75 return style.visitedLinkColumnRuleColor(); 75 return style.visitedLinkColumnRuleColor();
76 case CSSPropertyWebkitTextEmphasisColor: 76 case CSSPropertyWebkitTextEmphasisColor:
77 return style.visitedLinkTextEmphasisColor(); 77 return style.visitedLinkTextEmphasisColor();
78 case CSSPropertyWebkitTextFillColor: 78 case CSSPropertyWebkitTextFillColor:
79 return style.visitedLinkTextFillColor(); 79 return style.visitedLinkTextFillColor();
80 case CSSPropertyWebkitTextStrokeColor: 80 case CSSPropertyWebkitTextStrokeColor:
81 return style.visitedLinkTextStrokeColor(); 81 return style.visitedLinkTextStrokeColor();
82 case CSSPropertyFloodColor: 82 case CSSPropertyFloodColor:
83 return style.floodColor(); 83 return style.floodColor();
84 case CSSPropertyLightingColor: 84 case CSSPropertyLightingColor:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 return; 124 return;
125 case CSSPropertyOutlineColor: 125 case CSSPropertyOutlineColor:
126 style.setOutlineColor(color); 126 style.setOutlineColor(color);
127 return; 127 return;
128 case CSSPropertyStopColor: 128 case CSSPropertyStopColor:
129 style.setStopColor(color); 129 style.setStopColor(color);
130 return; 130 return;
131 case CSSPropertyTextDecorationColor: 131 case CSSPropertyTextDecorationColor:
132 style.setTextDecorationColor(color); 132 style.setTextDecorationColor(color);
133 return; 133 return;
134 case CSSPropertyWebkitColumnRuleColor: 134 case CSSPropertyColumnRuleColor:
135 style.setColumnRuleColor(color); 135 style.setColumnRuleColor(color);
136 return; 136 return;
137 case CSSPropertyWebkitTextStrokeColor: 137 case CSSPropertyWebkitTextStrokeColor:
138 style.setTextStrokeColor(color); 138 style.setTextStrokeColor(color);
139 return; 139 return;
140 default: 140 default:
141 ASSERT_NOT_REACHED(); 141 ASSERT_NOT_REACHED();
142 return; 142 return;
143 } 143 }
144 } 144 }
(...skipping 27 matching lines...) Expand all
172 return; 172 return;
173 case CSSPropertyOutlineColor: 173 case CSSPropertyOutlineColor:
174 style.setVisitedLinkOutlineColor(color); 174 style.setVisitedLinkOutlineColor(color);
175 return; 175 return;
176 case CSSPropertyStopColor: 176 case CSSPropertyStopColor:
177 style.setStopColor(color); 177 style.setStopColor(color);
178 return; 178 return;
179 case CSSPropertyTextDecorationColor: 179 case CSSPropertyTextDecorationColor:
180 style.setVisitedLinkTextDecorationColor(color); 180 style.setVisitedLinkTextDecorationColor(color);
181 return; 181 return;
182 case CSSPropertyWebkitColumnRuleColor: 182 case CSSPropertyColumnRuleColor:
183 style.setVisitedLinkColumnRuleColor(color); 183 style.setVisitedLinkColumnRuleColor(color);
184 return; 184 return;
185 case CSSPropertyWebkitTextStrokeColor: 185 case CSSPropertyWebkitTextStrokeColor:
186 style.setVisitedLinkTextStrokeColor(color); 186 style.setVisitedLinkTextStrokeColor(color);
187 return; 187 return;
188 default: 188 default:
189 ASSERT_NOT_REACHED(); 189 ASSERT_NOT_REACHED();
190 return; 190 return;
191 } 191 }
192 } 192 }
193 193
194 } // namespace blink 194 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698