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

Side by Side Diff: sky/engine/core/css/CSSComputedStyleDeclaration.cpp

Issue 1076353003: Remove -webkit-user-drag (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: First patch didn't seem to appear? Created 5 years, 8 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 | sky/engine/core/css/CSSPrimitiveValueMappings.h » ('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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 CSSPropertyWebkitTextFillColor, 221 CSSPropertyWebkitTextFillColor,
222 CSSPropertyWebkitTextOrientation, 222 CSSPropertyWebkitTextOrientation,
223 CSSPropertyWebkitTextStrokeColor, 223 CSSPropertyWebkitTextStrokeColor,
224 CSSPropertyWebkitTextStrokeWidth, 224 CSSPropertyWebkitTextStrokeWidth,
225 CSSPropertyTransform, 225 CSSPropertyTransform,
226 CSSPropertyWebkitTransform, 226 CSSPropertyWebkitTransform,
227 CSSPropertyTransformOrigin, 227 CSSPropertyTransformOrigin,
228 CSSPropertyWebkitTransformOrigin, 228 CSSPropertyWebkitTransformOrigin,
229 CSSPropertyTransformStyle, 229 CSSPropertyTransformStyle,
230 CSSPropertyWebkitTransformStyle, 230 CSSPropertyWebkitTransformStyle,
231 CSSPropertyWebkitUserDrag,
232 CSSPropertyWebkitUserModify, 231 CSSPropertyWebkitUserModify,
233 CSSPropertyWebkitUserSelect, 232 CSSPropertyWebkitUserSelect,
234 }; 233 };
235 234
236 static const Vector<CSSPropertyID>& computableProperties() 235 static const Vector<CSSPropertyID>& computableProperties()
237 { 236 {
238 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ()); 237 DEFINE_STATIC_LOCAL(Vector<CSSPropertyID>, properties, ());
239 if (properties.isEmpty()) 238 if (properties.isEmpty())
240 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties); 239 CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(staticComputab leProperties, WTF_ARRAY_LENGTH(staticComputableProperties), properties);
241 return properties; 240 return properties;
(...skipping 1625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1867 list->append(pixelValueForLength(style->perspectiveOriginX(), *s tyle)); 1866 list->append(pixelValueForLength(style->perspectiveOriginX(), *s tyle));
1868 list->append(pixelValueForLength(style->perspectiveOriginY(), *s tyle)); 1867 list->append(pixelValueForLength(style->perspectiveOriginY(), *s tyle));
1869 1868
1870 } 1869 }
1871 return list.release(); 1870 return list.release();
1872 } 1871 }
1873 case CSSPropertyWebkitRtlOrdering: 1872 case CSSPropertyWebkitRtlOrdering:
1874 return cssValuePool().createIdentifierValue(style->rtlOrdering() ? C SSValueVisual : CSSValueLogical); 1873 return cssValuePool().createIdentifierValue(style->rtlOrdering() ? C SSValueVisual : CSSValueLogical);
1875 case CSSPropertyWebkitTapHighlightColor: 1874 case CSSPropertyWebkitTapHighlightColor:
1876 return currentColorOrValidColor(*style, style->tapHighlightColor()); 1875 return currentColorOrValidColor(*style, style->tapHighlightColor());
1877 case CSSPropertyWebkitUserDrag:
1878 return cssValuePool().createValue(style->userDrag());
1879 case CSSPropertyWebkitUserSelect: 1876 case CSSPropertyWebkitUserSelect:
1880 return cssValuePool().createValue(style->userSelect()); 1877 return cssValuePool().createValue(style->userSelect());
1881 case CSSPropertyBorderBottomLeftRadius: 1878 case CSSPropertyBorderBottomLeftRadius:
1882 return valueForBorderRadiusCorner(style->borderBottomLeftRadius(), * style); 1879 return valueForBorderRadiusCorner(style->borderBottomLeftRadius(), * style);
1883 case CSSPropertyBorderBottomRightRadius: 1880 case CSSPropertyBorderBottomRightRadius:
1884 return valueForBorderRadiusCorner(style->borderBottomRightRadius(), *style); 1881 return valueForBorderRadiusCorner(style->borderBottomRightRadius(), *style);
1885 case CSSPropertyBorderTopLeftRadius: 1882 case CSSPropertyBorderTopLeftRadius:
1886 return valueForBorderRadiusCorner(style->borderTopLeftRadius(), *sty le); 1883 return valueForBorderRadiusCorner(style->borderTopLeftRadius(), *sty le);
1887 case CSSPropertyBorderTopRightRadius: 1884 case CSSPropertyBorderTopRightRadius:
1888 return valueForBorderRadiusCorner(style->borderTopRightRadius(), *st yle); 1885 return valueForBorderRadiusCorner(style->borderTopRightRadius(), *st yle);
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 2231 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
2235 CSSPropertyB ackgroundClip }; 2232 CSSPropertyB ackgroundClip };
2236 2233
2237 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 2234 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
2238 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator)))); 2235 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator))));
2239 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator)))); 2236 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator))));
2240 return list.release(); 2237 return list.release();
2241 } 2238 }
2242 2239
2243 } // namespace blink 2240 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/css/CSSPrimitiveValueMappings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698