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

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.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 | « no previous file | Source/core/css/CSSParser.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) 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. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 CSSPropertyWebkitColumnBreakInside, 247 CSSPropertyWebkitColumnBreakInside,
248 CSSPropertyWebkitColumnAxis, 248 CSSPropertyWebkitColumnAxis,
249 CSSPropertyWebkitColumnCount, 249 CSSPropertyWebkitColumnCount,
250 CSSPropertyWebkitColumnGap, 250 CSSPropertyWebkitColumnGap,
251 CSSPropertyWebkitColumnProgression, 251 CSSPropertyWebkitColumnProgression,
252 CSSPropertyWebkitColumnRuleColor, 252 CSSPropertyWebkitColumnRuleColor,
253 CSSPropertyWebkitColumnRuleStyle, 253 CSSPropertyWebkitColumnRuleStyle,
254 CSSPropertyWebkitColumnRuleWidth, 254 CSSPropertyWebkitColumnRuleWidth,
255 CSSPropertyWebkitColumnSpan, 255 CSSPropertyWebkitColumnSpan,
256 CSSPropertyWebkitColumnWidth, 256 CSSPropertyWebkitColumnWidth,
257 #if ENABLE(CURSOR_VISIBILITY)
258 CSSPropertyWebkitCursorVisibility,
259 #endif
260 CSSPropertyWebkitFilter, 257 CSSPropertyWebkitFilter,
261 CSSPropertyWebkitAlignContent, 258 CSSPropertyWebkitAlignContent,
262 CSSPropertyWebkitAlignItems, 259 CSSPropertyWebkitAlignItems,
263 CSSPropertyWebkitAlignSelf, 260 CSSPropertyWebkitAlignSelf,
264 CSSPropertyWebkitFlexBasis, 261 CSSPropertyWebkitFlexBasis,
265 CSSPropertyWebkitFlexGrow, 262 CSSPropertyWebkitFlexGrow,
266 CSSPropertyWebkitFlexShrink, 263 CSSPropertyWebkitFlexShrink,
267 CSSPropertyWebkitFlexDirection, 264 CSSPropertyWebkitFlexDirection,
268 CSSPropertyWebkitFlexWrap, 265 CSSPropertyWebkitFlexWrap,
269 CSSPropertyWebkitJustifyContent, 266 CSSPropertyWebkitJustifyContent,
(...skipping 1557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1827 if (StyleImage* image = cursors->at(i).image()) 1824 if (StyleImage* image = cursors->at(i).image())
1828 list->append(image->cssValue()); 1825 list->append(image->cssValue());
1829 } 1826 }
1830 RefPtr<CSSValue> value = cssValuePool().createValue(style->cursor()) ; 1827 RefPtr<CSSValue> value = cssValuePool().createValue(style->cursor()) ;
1831 if (list) { 1828 if (list) {
1832 list->append(value); 1829 list->append(value);
1833 return list.release(); 1830 return list.release();
1834 } 1831 }
1835 return value.release(); 1832 return value.release();
1836 } 1833 }
1837 #if ENABLE(CURSOR_VISIBILITY)
1838 case CSSPropertyWebkitCursorVisibility:
1839 return cssValuePool().createValue(style->cursorVisibility());
1840 #endif
1841 case CSSPropertyDirection: 1834 case CSSPropertyDirection:
1842 return cssValuePool().createValue(style->direction()); 1835 return cssValuePool().createValue(style->direction());
1843 case CSSPropertyDisplay: 1836 case CSSPropertyDisplay:
1844 return cssValuePool().createValue(style->display()); 1837 return cssValuePool().createValue(style->display());
1845 case CSSPropertyEmptyCells: 1838 case CSSPropertyEmptyCells:
1846 return cssValuePool().createValue(style->emptyCells()); 1839 return cssValuePool().createValue(style->emptyCells());
1847 case CSSPropertyWebkitAlignContent: 1840 case CSSPropertyWebkitAlignContent:
1848 return cssValuePool().createValue(style->alignContent()); 1841 return cssValuePool().createValue(style->alignContent());
1849 case CSSPropertyWebkitAlignItems: 1842 case CSSPropertyWebkitAlignItems:
1850 return cssValuePool().createValue(style->alignItems()); 1843 return cssValuePool().createValue(style->alignItems());
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
2999 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 2992 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3000 CSSPropertyB ackgroundClip }; 2993 CSSPropertyB ackgroundClip };
3001 2994
3002 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 2995 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
3003 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat or)))); 2996 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat or))));
3004 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator )))); 2997 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator ))));
3005 return list.release(); 2998 return list.release();
3006 } 2999 }
3007 3000
3008 } // namespace WebCore 3001 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698