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

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

Issue 14612004: Remove CURSOR_VISIBILITY, it's always off (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix UseCounter 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/StyleResolver.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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 2167 matching lines...) Expand 10 before | Expand all | Expand 10 after
2178 setPropertyHandler(CSSPropertyWebkitColumnBreakBefore, ApplyPropertyDefault< EPageBreak, &RenderStyle::columnBreakBefore, EPageBreak, &RenderStyle::setColumn BreakBefore, EPageBreak, &RenderStyle::initialPageBreak>::createHandler()); 2178 setPropertyHandler(CSSPropertyWebkitColumnBreakBefore, ApplyPropertyDefault< EPageBreak, &RenderStyle::columnBreakBefore, EPageBreak, &RenderStyle::setColumn BreakBefore, EPageBreak, &RenderStyle::initialPageBreak>::createHandler());
2179 setPropertyHandler(CSSPropertyWebkitColumnBreakInside, ApplyPropertyDefault< EPageBreak, &RenderStyle::columnBreakInside, EPageBreak, &RenderStyle::setColumn BreakInside, EPageBreak, &RenderStyle::initialPageBreak>::createHandler()); 2179 setPropertyHandler(CSSPropertyWebkitColumnBreakInside, ApplyPropertyDefault< EPageBreak, &RenderStyle::columnBreakInside, EPageBreak, &RenderStyle::setColumn BreakInside, EPageBreak, &RenderStyle::initialPageBreak>::createHandler());
2180 setPropertyHandler(CSSPropertyWebkitColumnCount, ApplyPropertyAuto<unsigned short, &RenderStyle::columnCount, &RenderStyle::setColumnCount, &RenderStyle::ha sAutoColumnCount, &RenderStyle::setHasAutoColumnCount>::createHandler()); 2180 setPropertyHandler(CSSPropertyWebkitColumnCount, ApplyPropertyAuto<unsigned short, &RenderStyle::columnCount, &RenderStyle::setColumnCount, &RenderStyle::ha sAutoColumnCount, &RenderStyle::setHasAutoColumnCount>::createHandler());
2181 setPropertyHandler(CSSPropertyWebkitColumnGap, ApplyPropertyAuto<float, &Ren derStyle::columnGap, &RenderStyle::setColumnGap, &RenderStyle::hasNormalColumnGa p, &RenderStyle::setHasNormalColumnGap, ComputeLength, CSSValueNormal>::createHa ndler()); 2181 setPropertyHandler(CSSPropertyWebkitColumnGap, ApplyPropertyAuto<float, &Ren derStyle::columnGap, &RenderStyle::setColumnGap, &RenderStyle::hasNormalColumnGa p, &RenderStyle::setHasNormalColumnGap, ComputeLength, CSSValueNormal>::createHa ndler());
2182 setPropertyHandler(CSSPropertyWebkitColumnProgression, ApplyPropertyDefault< ColumnProgression, &RenderStyle::columnProgression, ColumnProgression, &RenderSt yle::setColumnProgression, ColumnProgression, &RenderStyle::initialColumnProgres sion>::createHandler()); 2182 setPropertyHandler(CSSPropertyWebkitColumnProgression, ApplyPropertyDefault< ColumnProgression, &RenderStyle::columnProgression, ColumnProgression, &RenderSt yle::setColumnProgression, ColumnProgression, &RenderStyle::initialColumnProgres sion>::createHandler());
2183 setPropertyHandler(CSSPropertyWebkitColumnRuleColor, ApplyPropertyColor<NoIn heritFromParent, &RenderStyle::columnRuleColor, &RenderStyle::setColumnRuleColor , &RenderStyle::setVisitedLinkColumnRuleColor, &RenderStyle::color>::createHandl er()); 2183 setPropertyHandler(CSSPropertyWebkitColumnRuleColor, ApplyPropertyColor<NoIn heritFromParent, &RenderStyle::columnRuleColor, &RenderStyle::setColumnRuleColor , &RenderStyle::setVisitedLinkColumnRuleColor, &RenderStyle::color>::createHandl er());
2184 setPropertyHandler(CSSPropertyWebkitColumnRuleWidth, ApplyPropertyComputeLen gth<unsigned short, &RenderStyle::columnRuleWidth, &RenderStyle::setColumnRuleWi dth, &RenderStyle::initialColumnRuleWidth, NormalDisabled, ThicknessEnabled>::cr eateHandler()); 2184 setPropertyHandler(CSSPropertyWebkitColumnRuleWidth, ApplyPropertyComputeLen gth<unsigned short, &RenderStyle::columnRuleWidth, &RenderStyle::setColumnRuleWi dth, &RenderStyle::initialColumnRuleWidth, NormalDisabled, ThicknessEnabled>::cr eateHandler());
2185 setPropertyHandler(CSSPropertyWebkitColumnSpan, ApplyPropertyDefault<ColumnS pan, &RenderStyle::columnSpan, ColumnSpan, &RenderStyle::setColumnSpan, ColumnSp an, &RenderStyle::initialColumnSpan>::createHandler()); 2185 setPropertyHandler(CSSPropertyWebkitColumnSpan, ApplyPropertyDefault<ColumnS pan, &RenderStyle::columnSpan, ColumnSpan, &RenderStyle::setColumnSpan, ColumnSp an, &RenderStyle::initialColumnSpan>::createHandler());
2186 setPropertyHandler(CSSPropertyWebkitColumnRuleStyle, ApplyPropertyDefault<EB orderStyle, &RenderStyle::columnRuleStyle, EBorderStyle, &RenderStyle::setColumn RuleStyle, EBorderStyle, &RenderStyle::initialBorderStyle>::createHandler()); 2186 setPropertyHandler(CSSPropertyWebkitColumnRuleStyle, ApplyPropertyDefault<EB orderStyle, &RenderStyle::columnRuleStyle, EBorderStyle, &RenderStyle::setColumn RuleStyle, EBorderStyle, &RenderStyle::initialBorderStyle>::createHandler());
2187 setPropertyHandler(CSSPropertyWebkitColumnWidth, ApplyPropertyAuto<float, &R enderStyle::columnWidth, &RenderStyle::setColumnWidth, &RenderStyle::hasAutoColu mnWidth, &RenderStyle::setHasAutoColumnWidth, ComputeLength>::createHandler()); 2187 setPropertyHandler(CSSPropertyWebkitColumnWidth, ApplyPropertyAuto<float, &R enderStyle::columnWidth, &RenderStyle::setColumnWidth, &RenderStyle::hasAutoColu mnWidth, &RenderStyle::setHasAutoColumnWidth, ComputeLength>::createHandler());
2188 #if ENABLE(CURSOR_VISIBILITY)
2189 setPropertyHandler(CSSPropertyWebkitCursorVisibility, ApplyPropertyDefault<C ursorVisibility, &RenderStyle::cursorVisibility, CursorVisibility, &RenderStyle: :setCursorVisibility, CursorVisibility, &RenderStyle::initialCursorVisibility>:: createHandler());
2190 #endif
2191 setPropertyHandler(CSSPropertyWebkitAlignContent, ApplyPropertyDefault<EAlig nContent, &RenderStyle::alignContent, EAlignContent, &RenderStyle::setAlignConte nt, EAlignContent, &RenderStyle::initialAlignContent>::createHandler()); 2188 setPropertyHandler(CSSPropertyWebkitAlignContent, ApplyPropertyDefault<EAlig nContent, &RenderStyle::alignContent, EAlignContent, &RenderStyle::setAlignConte nt, EAlignContent, &RenderStyle::initialAlignContent>::createHandler());
2192 setPropertyHandler(CSSPropertyWebkitAlignItems, ApplyPropertyDefault<EAlignI tems, &RenderStyle::alignItems, EAlignItems, &RenderStyle::setAlignItems, EAlign Items, &RenderStyle::initialAlignItems>::createHandler()); 2189 setPropertyHandler(CSSPropertyWebkitAlignItems, ApplyPropertyDefault<EAlignI tems, &RenderStyle::alignItems, EAlignItems, &RenderStyle::setAlignItems, EAlign Items, &RenderStyle::initialAlignItems>::createHandler());
2193 setPropertyHandler(CSSPropertyWebkitAlignSelf, ApplyPropertyDefault<EAlignIt ems, &RenderStyle::alignSelf, EAlignItems, &RenderStyle::setAlignSelf, EAlignIte ms, &RenderStyle::initialAlignSelf>::createHandler()); 2190 setPropertyHandler(CSSPropertyWebkitAlignSelf, ApplyPropertyDefault<EAlignIt ems, &RenderStyle::alignSelf, EAlignItems, &RenderStyle::setAlignSelf, EAlignIte ms, &RenderStyle::initialAlignSelf>::createHandler());
2194 setPropertyHandler(CSSPropertyWebkitFlexBasis, ApplyPropertyLength<&RenderSt yle::flexBasis, &RenderStyle::setFlexBasis, &RenderStyle::initialFlexBasis, Auto Enabled>::createHandler()); 2191 setPropertyHandler(CSSPropertyWebkitFlexBasis, ApplyPropertyLength<&RenderSt yle::flexBasis, &RenderStyle::setFlexBasis, &RenderStyle::initialFlexBasis, Auto Enabled>::createHandler());
2195 setPropertyHandler(CSSPropertyWebkitFlexDirection, ApplyPropertyDefault<EFle xDirection, &RenderStyle::flexDirection, EFlexDirection, &RenderStyle::setFlexDi rection, EFlexDirection, &RenderStyle::initialFlexDirection>::createHandler()); 2192 setPropertyHandler(CSSPropertyWebkitFlexDirection, ApplyPropertyDefault<EFle xDirection, &RenderStyle::flexDirection, EFlexDirection, &RenderStyle::setFlexDi rection, EFlexDirection, &RenderStyle::initialFlexDirection>::createHandler());
2196 setPropertyHandler(CSSPropertyWebkitFlexGrow, ApplyPropertyDefault<float, &R enderStyle::flexGrow, float, &RenderStyle::setFlexGrow, float, &RenderStyle::ini tialFlexGrow>::createHandler()); 2193 setPropertyHandler(CSSPropertyWebkitFlexGrow, ApplyPropertyDefault<float, &R enderStyle::flexGrow, float, &RenderStyle::setFlexGrow, float, &RenderStyle::ini tialFlexGrow>::createHandler());
2197 setPropertyHandler(CSSPropertyWebkitFlexShrink, ApplyPropertyDefault<float, &RenderStyle::flexShrink, float, &RenderStyle::setFlexShrink, float, &RenderStyl e::initialFlexShrink>::createHandler()); 2194 setPropertyHandler(CSSPropertyWebkitFlexShrink, ApplyPropertyDefault<float, &RenderStyle::flexShrink, float, &RenderStyle::setFlexShrink, float, &RenderStyl e::initialFlexShrink>::createHandler());
2198 setPropertyHandler(CSSPropertyWebkitFlexWrap, ApplyPropertyDefault<EFlexWrap , &RenderStyle::flexWrap, EFlexWrap, &RenderStyle::setFlexWrap, EFlexWrap, &Rend erStyle::initialFlexWrap>::createHandler()); 2195 setPropertyHandler(CSSPropertyWebkitFlexWrap, ApplyPropertyDefault<EFlexWrap , &RenderStyle::flexWrap, EFlexWrap, &RenderStyle::setFlexWrap, EFlexWrap, &Rend erStyle::initialFlexWrap>::createHandler());
2199 setPropertyHandler(CSSPropertyWebkitGridAutoFlow, ApplyPropertyDefault<GridA utoFlow, &RenderStyle::gridAutoFlow, GridAutoFlow, &RenderStyle::setGridAutoFlow , GridAutoFlow, &RenderStyle::initialGridAutoFlow>::createHandler()); 2196 setPropertyHandler(CSSPropertyWebkitGridAutoFlow, ApplyPropertyDefault<GridA utoFlow, &RenderStyle::gridAutoFlow, GridAutoFlow, &RenderStyle::setGridAutoFlow , GridAutoFlow, &RenderStyle::initialGridAutoFlow>::createHandler());
2200 setPropertyHandler(CSSPropertyWebkitJustifyContent, ApplyPropertyDefault<EJu stifyContent, &RenderStyle::justifyContent, EJustifyContent, &RenderStyle::setJu stifyContent, EJustifyContent, &RenderStyle::initialJustifyContent>::createHandl er()); 2197 setPropertyHandler(CSSPropertyWebkitJustifyContent, ApplyPropertyDefault<EJu stifyContent, &RenderStyle::justifyContent, EJustifyContent, &RenderStyle::setJu stifyContent, EJustifyContent, &RenderStyle::initialJustifyContent>::createHandl er());
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
2287 setPropertyHandler(CSSPropertyWordBreak, ApplyPropertyDefault<EWordBreak, &R enderStyle::wordBreak, EWordBreak, &RenderStyle::setWordBreak, EWordBreak, &Rend erStyle::initialWordBreak>::createHandler()); 2284 setPropertyHandler(CSSPropertyWordBreak, ApplyPropertyDefault<EWordBreak, &R enderStyle::wordBreak, EWordBreak, &RenderStyle::setWordBreak, EWordBreak, &Rend erStyle::initialWordBreak>::createHandler());
2288 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, & RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler ()); 2285 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, & RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler ());
2289 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers. 2286 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers.
2290 setPropertyHandler(CSSPropertyWordWrap, ApplyPropertyDefault<EOverflowWrap, &RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EOverf lowWrap, &RenderStyle::initialOverflowWrap>::createHandler()); 2287 setPropertyHandler(CSSPropertyWordWrap, ApplyPropertyDefault<EOverflowWrap, &RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EOverf lowWrap, &RenderStyle::initialOverflowWrap>::createHandler());
2291 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa sAutoZIndex>::createHandler()); 2288 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa sAutoZIndex>::createHandler());
2292 setPropertyHandler(CSSPropertyZoom, ApplyPropertyZoom::createHandler()); 2289 setPropertyHandler(CSSPropertyZoom, ApplyPropertyZoom::createHandler());
2293 } 2290 }
2294 2291
2295 2292
2296 } 2293 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSValueKeywords.in ('k') | Source/core/css/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698