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

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

Issue 1766723004: style: Remame values in EOverflow and EVerticalAlign to CamelCase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enum-clash-EOverflowEVerticalAlign: rebase Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | 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 #include "core/animation/LengthPropertyFunctions.h" 5 #include "core/animation/LengthPropertyFunctions.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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 case CSSPropertyPerspective: 284 case CSSPropertyPerspective:
285 if (!style.hasPerspective()) 285 if (!style.hasPerspective())
286 return false; 286 return false;
287 result = Length(style.perspective(), Fixed); 287 result = Length(style.perspective(), Fixed);
288 return true; 288 return true;
289 case CSSPropertyStrokeWidth: 289 case CSSPropertyStrokeWidth:
290 ASSERT(!isZoomedLength(CSSPropertyStrokeWidth)); 290 ASSERT(!isZoomedLength(CSSPropertyStrokeWidth));
291 result = style.strokeWidth().length(); 291 result = style.strokeWidth().length();
292 return true; 292 return true;
293 case CSSPropertyVerticalAlign: 293 case CSSPropertyVerticalAlign:
294 if (style.verticalAlign() != LENGTH) 294 if (style.verticalAlign() != VerticalAlignLength)
295 return false; 295 return false;
296 result = style.verticalAlignLength(); 296 result = style.getVerticalAlignLength();
297 return true; 297 return true;
298 case CSSPropertyColumnWidth: 298 case CSSPropertyColumnWidth:
299 if (style.hasAutoColumnWidth()) 299 if (style.hasAutoColumnWidth())
300 return false; 300 return false;
301 result = Length(style.columnWidth(), Fixed); 301 result = Length(style.columnWidth(), Fixed);
302 return true; 302 return true;
303 default: 303 default:
304 return false; 304 return false;
305 } 305 }
306 } 306 }
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 case CSSPropertyWebkitTransformOriginZ: 438 case CSSPropertyWebkitTransformOriginZ:
439 case CSSPropertyWordSpacing: 439 case CSSPropertyWordSpacing:
440 return false; 440 return false;
441 441
442 default: 442 default:
443 return false; 443 return false;
444 } 444 }
445 } 445 }
446 446
447 } // namespace blink 447 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698