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

Side by Side Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2915543002: Generate enum/getters/setters/mappings for text-align-last. (Closed)
Patch Set: Rebase Created 3 years, 6 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 /* 1 /*
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
4 * All rights reserved. 4 * All rights reserved.
5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 5 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 6 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
7 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 7 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
8 * Copyright (C) 2015 Google Inc. All rights reserved. 8 * Copyright (C) 2015 Google Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 2805 matching lines...) Expand 10 before | Expand all | Expand 10 after
2816 return ValueForPositionOffset(style, CSSPropertyRight, layout_object); 2816 return ValueForPositionOffset(style, CSSPropertyRight, layout_object);
2817 case CSSPropertyWebkitRubyPosition: 2817 case CSSPropertyWebkitRubyPosition:
2818 return CSSIdentifierValue::Create(style.GetRubyPosition()); 2818 return CSSIdentifierValue::Create(style.GetRubyPosition());
2819 case CSSPropertyScrollBehavior: 2819 case CSSPropertyScrollBehavior:
2820 return CSSIdentifierValue::Create(style.GetScrollBehavior()); 2820 return CSSIdentifierValue::Create(style.GetScrollBehavior());
2821 case CSSPropertyTableLayout: 2821 case CSSPropertyTableLayout:
2822 return CSSIdentifierValue::Create(style.TableLayout()); 2822 return CSSIdentifierValue::Create(style.TableLayout());
2823 case CSSPropertyTextAlign: 2823 case CSSPropertyTextAlign:
2824 return CSSIdentifierValue::Create(style.GetTextAlign()); 2824 return CSSIdentifierValue::Create(style.GetTextAlign());
2825 case CSSPropertyTextAlignLast: 2825 case CSSPropertyTextAlignLast:
2826 return CSSIdentifierValue::Create(style.GetTextAlignLast()); 2826 return CSSIdentifierValue::Create(style.TextAlignLast());
2827 case CSSPropertyTextDecoration: 2827 case CSSPropertyTextDecoration:
2828 if (RuntimeEnabledFeatures::css3TextDecorationsEnabled()) 2828 if (RuntimeEnabledFeatures::css3TextDecorationsEnabled())
2829 return ValuesForShorthandProperty(textDecorationShorthand(), style, 2829 return ValuesForShorthandProperty(textDecorationShorthand(), style,
2830 layout_object, styled_node, 2830 layout_object, styled_node,
2831 allow_visited_style); 2831 allow_visited_style);
2832 // Fall through. 2832 // Fall through.
2833 case CSSPropertyTextDecorationLine: 2833 case CSSPropertyTextDecorationLine:
2834 return RenderTextDecorationFlagsToCSSValue(style.GetTextDecoration()); 2834 return RenderTextDecorationFlagsToCSSValue(style.GetTextDecoration());
2835 case CSSPropertyTextDecorationSkip: 2835 case CSSPropertyTextDecorationSkip:
2836 return ValueForTextDecorationSkip(style.GetTextDecorationSkip()); 2836 return ValueForTextDecorationSkip(style.GetTextDecorationSkip());
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
3750 case CSSPropertyAll: 3750 case CSSPropertyAll:
3751 return nullptr; 3751 return nullptr;
3752 default: 3752 default:
3753 break; 3753 break;
3754 } 3754 }
3755 NOTREACHED(); 3755 NOTREACHED();
3756 return nullptr; 3756 return nullptr;
3757 } 3757 }
3758 3758
3759 } // namespace blink 3759 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698