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

Side by Side Diff: Source/core/css/StyleResolver.cpp

Issue 14178009: Remove CSS_REGIONS compile flag from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use RuntimeEnabledFeatures::cssRegionsEnabled all over the places. Guard WEBKIT_REGION_RULE at runt… Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
(...skipping 3176 matching lines...) Expand 10 before | Expand all | Expand 10 after
3187 case CSSPropertyWebkitAlignContent: 3187 case CSSPropertyWebkitAlignContent:
3188 case CSSPropertyWebkitAlignItems: 3188 case CSSPropertyWebkitAlignItems:
3189 case CSSPropertyWebkitAlignSelf: 3189 case CSSPropertyWebkitAlignSelf:
3190 case CSSPropertyWebkitFlexBasis: 3190 case CSSPropertyWebkitFlexBasis:
3191 case CSSPropertyWebkitFlexDirection: 3191 case CSSPropertyWebkitFlexDirection:
3192 case CSSPropertyWebkitFlexGrow: 3192 case CSSPropertyWebkitFlexGrow:
3193 case CSSPropertyWebkitFlexShrink: 3193 case CSSPropertyWebkitFlexShrink:
3194 case CSSPropertyWebkitFlexWrap: 3194 case CSSPropertyWebkitFlexWrap:
3195 case CSSPropertyWebkitJustifyContent: 3195 case CSSPropertyWebkitJustifyContent:
3196 case CSSPropertyWebkitOrder: 3196 case CSSPropertyWebkitOrder:
3197 #if ENABLE(CSS_REGIONS)
3198 case CSSPropertyWebkitFlowFrom: 3197 case CSSPropertyWebkitFlowFrom:
3199 case CSSPropertyWebkitFlowInto: 3198 case CSSPropertyWebkitFlowInto:
3200 #endif
3201 case CSSPropertyWebkitFontKerning: 3199 case CSSPropertyWebkitFontKerning:
3202 case CSSPropertyWebkitFontSmoothing: 3200 case CSSPropertyWebkitFontSmoothing:
3203 case CSSPropertyWebkitFontVariantLigatures: 3201 case CSSPropertyWebkitFontVariantLigatures:
3204 case CSSPropertyWebkitHighlight: 3202 case CSSPropertyWebkitHighlight:
3205 case CSSPropertyWebkitHyphenateCharacter: 3203 case CSSPropertyWebkitHyphenateCharacter:
3206 case CSSPropertyWebkitHyphenateLimitAfter: 3204 case CSSPropertyWebkitHyphenateLimitAfter:
3207 case CSSPropertyWebkitHyphenateLimitBefore: 3205 case CSSPropertyWebkitHyphenateLimitBefore:
3208 case CSSPropertyWebkitHyphenateLimitLines: 3206 case CSSPropertyWebkitHyphenateLimitLines:
3209 case CSSPropertyWebkitHyphens: 3207 case CSSPropertyWebkitHyphens:
3210 case CSSPropertyWebkitLineAlign: 3208 case CSSPropertyWebkitLineAlign:
(...skipping 18 matching lines...) Expand all
3229 case CSSPropertyWebkitMaskOrigin: 3227 case CSSPropertyWebkitMaskOrigin:
3230 case CSSPropertyWebkitMaskPositionX: 3228 case CSSPropertyWebkitMaskPositionX:
3231 case CSSPropertyWebkitMaskPositionY: 3229 case CSSPropertyWebkitMaskPositionY:
3232 case CSSPropertyWebkitMaskRepeatX: 3230 case CSSPropertyWebkitMaskRepeatX:
3233 case CSSPropertyWebkitMaskRepeatY: 3231 case CSSPropertyWebkitMaskRepeatY:
3234 case CSSPropertyWebkitMaskSize: 3232 case CSSPropertyWebkitMaskSize:
3235 case CSSPropertyWebkitPerspectiveOrigin: 3233 case CSSPropertyWebkitPerspectiveOrigin:
3236 case CSSPropertyWebkitPerspectiveOriginX: 3234 case CSSPropertyWebkitPerspectiveOriginX:
3237 case CSSPropertyWebkitPerspectiveOriginY: 3235 case CSSPropertyWebkitPerspectiveOriginY:
3238 case CSSPropertyWebkitPrintColorAdjust: 3236 case CSSPropertyWebkitPrintColorAdjust:
3239 #if ENABLE(CSS_REGIONS)
3240 case CSSPropertyWebkitRegionBreakAfter: 3237 case CSSPropertyWebkitRegionBreakAfter:
eseidel 2013/04/30 00:11:09 Does StyleResolver::applyProperty check (or ASSERT
3241 case CSSPropertyWebkitRegionBreakBefore: 3238 case CSSPropertyWebkitRegionBreakBefore:
3242 case CSSPropertyWebkitRegionBreakInside: 3239 case CSSPropertyWebkitRegionBreakInside:
3243 case CSSPropertyWebkitRegionOverflow: 3240 case CSSPropertyWebkitRegionOverflow:
3244 #endif
3245 case CSSPropertyWebkitRtlOrdering: 3241 case CSSPropertyWebkitRtlOrdering:
3246 case CSSPropertyWebkitRubyPosition: 3242 case CSSPropertyWebkitRubyPosition:
3247 case CSSPropertyWebkitTextCombine: 3243 case CSSPropertyWebkitTextCombine:
3248 #if ENABLE(CSS3_TEXT) 3244 #if ENABLE(CSS3_TEXT)
3249 case CSSPropertyWebkitTextDecorationLine: 3245 case CSSPropertyWebkitTextDecorationLine:
3250 case CSSPropertyWebkitTextDecorationStyle: 3246 case CSSPropertyWebkitTextDecorationStyle:
3251 case CSSPropertyWebkitTextDecorationColor: 3247 case CSSPropertyWebkitTextDecorationColor:
3252 case CSSPropertyWebkitTextAlignLast: 3248 case CSSPropertyWebkitTextAlignLast:
3253 case CSSPropertyWebkitTextUnderlinePosition: 3249 case CSSPropertyWebkitTextUnderlinePosition:
3254 #endif // CSS3_TEXT 3250 #endif // CSS3_TEXT
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
4647 info.addMember(m_state, "state"); 4643 info.addMember(m_state, "state");
4648 4644
4649 // FIXME: move this to a place where it would be called only once? 4645 // FIXME: move this to a place where it would be called only once?
4650 info.addMember(CSSDefaultStyleSheets::defaultStyle, "defaultStyle"); 4646 info.addMember(CSSDefaultStyleSheets::defaultStyle, "defaultStyle");
4651 info.addMember(CSSDefaultStyleSheets::defaultQuirksStyle, "defaultQuirksStyl e"); 4647 info.addMember(CSSDefaultStyleSheets::defaultQuirksStyle, "defaultQuirksStyl e");
4652 info.addMember(CSSDefaultStyleSheets::defaultPrintStyle,"defaultPrintStyle") ; 4648 info.addMember(CSSDefaultStyleSheets::defaultPrintStyle,"defaultPrintStyle") ;
4653 info.addMember(CSSDefaultStyleSheets::defaultViewSourceStyle, "defaultViewSo urceStyle"); 4649 info.addMember(CSSDefaultStyleSheets::defaultViewSourceStyle, "defaultViewSo urceStyle");
4654 } 4650 }
4655 4651
4656 } // namespace WebCore 4652 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698