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

Side by Side Diff: WebCore/css/StyleBuilder.cpp

Issue 14295007: Remove the CSS_COMPOSITING define, the CSS blending and compositing (Closed) Base URL: http://src.chromium.org/blink/trunk/Source/
Patch Set: Created 7 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 | « WebCore/css/CSSProperty.cpp ('k') | WebCore/rendering/RenderLayer.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) 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 2190 matching lines...) Expand 10 before | Expand all | Expand 10 after
2201 setPropertyHandler(CSSPropertyWebkitAnimationName, ApplyPropertyAnimation<co nst String&, &Animation::name, &Animation::setName, &Animation::isNameSet, &Anim ation::clearName, &Animation::initialAnimationName, &CSSToStyleMap::mapAnimation Name, &RenderStyle::accessAnimations, &RenderStyle::animations>::createHandler() ); 2201 setPropertyHandler(CSSPropertyWebkitAnimationName, ApplyPropertyAnimation<co nst String&, &Animation::name, &Animation::setName, &Animation::isNameSet, &Anim ation::clearName, &Animation::initialAnimationName, &CSSToStyleMap::mapAnimation Name, &RenderStyle::accessAnimations, &RenderStyle::animations>::createHandler() );
2202 setPropertyHandler(CSSPropertyWebkitAnimationPlayState, ApplyPropertyAnimati on<EAnimPlayState, &Animation::playState, &Animation::setPlayState, &Animation:: isPlayStateSet, &Animation::clearPlayState, &Animation::initialAnimationPlayStat e, &CSSToStyleMap::mapAnimationPlayState, &RenderStyle::accessAnimations, &Rende rStyle::animations>::createHandler()); 2202 setPropertyHandler(CSSPropertyWebkitAnimationPlayState, ApplyPropertyAnimati on<EAnimPlayState, &Animation::playState, &Animation::setPlayState, &Animation:: isPlayStateSet, &Animation::clearPlayState, &Animation::initialAnimationPlayStat e, &CSSToStyleMap::mapAnimationPlayState, &RenderStyle::accessAnimations, &Rende rStyle::animations>::createHandler());
2203 setPropertyHandler(CSSPropertyWebkitAnimationTimingFunction, ApplyPropertyAn imation<const PassRefPtr<TimingFunction>, &Animation::timingFunction, &Animation ::setTimingFunction, &Animation::isTimingFunctionSet, &Animation::clearTimingFun ction, &Animation::initialAnimationTimingFunction, &CSSToStyleMap::mapAnimationT imingFunction, &RenderStyle::accessAnimations, &RenderStyle::animations>::create Handler()); 2203 setPropertyHandler(CSSPropertyWebkitAnimationTimingFunction, ApplyPropertyAn imation<const PassRefPtr<TimingFunction>, &Animation::timingFunction, &Animation ::setTimingFunction, &Animation::isTimingFunctionSet, &Animation::clearTimingFun ction, &Animation::initialAnimationTimingFunction, &CSSToStyleMap::mapAnimationT imingFunction, &RenderStyle::accessAnimations, &RenderStyle::animations>::create Handler());
2204 setPropertyHandler(CSSPropertyWebkitAppearance, ApplyPropertyDefault<Control Part, &RenderStyle::appearance, ControlPart, &RenderStyle::setAppearance, Contro lPart, &RenderStyle::initialAppearance>::createHandler()); 2204 setPropertyHandler(CSSPropertyWebkitAppearance, ApplyPropertyDefault<Control Part, &RenderStyle::appearance, ControlPart, &RenderStyle::setAppearance, Contro lPart, &RenderStyle::initialAppearance>::createHandler());
2205 setPropertyHandler(CSSPropertyWebkitAspectRatio, ApplyPropertyAspectRatio::c reateHandler()); 2205 setPropertyHandler(CSSPropertyWebkitAspectRatio, ApplyPropertyAspectRatio::c reateHandler());
2206 setPropertyHandler(CSSPropertyWebkitBackfaceVisibility, ApplyPropertyDefault <EBackfaceVisibility, &RenderStyle::backfaceVisibility, EBackfaceVisibility, &Re nderStyle::setBackfaceVisibility, EBackfaceVisibility, &RenderStyle::initialBack faceVisibility>::createHandler()); 2206 setPropertyHandler(CSSPropertyWebkitBackfaceVisibility, ApplyPropertyDefault <EBackfaceVisibility, &RenderStyle::backfaceVisibility, EBackfaceVisibility, &Re nderStyle::setBackfaceVisibility, EBackfaceVisibility, &RenderStyle::initialBack faceVisibility>::createHandler());
2207 setPropertyHandler(CSSPropertyWebkitBackgroundClip, CSSPropertyBackgroundCli p); 2207 setPropertyHandler(CSSPropertyWebkitBackgroundClip, CSSPropertyBackgroundCli p);
2208 setPropertyHandler(CSSPropertyWebkitBackgroundComposite, ApplyPropertyFillLa yer<CompositeOperator, CSSPropertyWebkitBackgroundComposite, BackgroundFillLayer , &RenderStyle::accessBackgroundLayers, &RenderStyle::backgroundLayers, &FillLay er::isCompositeSet, &FillLayer::composite, &FillLayer::setComposite, &FillLayer: :clearComposite, &FillLayer::initialFillComposite, &CSSToStyleMap::mapFillCompos ite>::createHandler()); 2208 setPropertyHandler(CSSPropertyWebkitBackgroundComposite, ApplyPropertyFillLa yer<CompositeOperator, CSSPropertyWebkitBackgroundComposite, BackgroundFillLayer , &RenderStyle::accessBackgroundLayers, &RenderStyle::backgroundLayers, &FillLay er::isCompositeSet, &FillLayer::composite, &FillLayer::setComposite, &FillLayer: :clearComposite, &FillLayer::initialFillComposite, &CSSToStyleMap::mapFillCompos ite>::createHandler());
2209 setPropertyHandler(CSSPropertyWebkitBackgroundOrigin, CSSPropertyBackgroundO rigin); 2209 setPropertyHandler(CSSPropertyWebkitBackgroundOrigin, CSSPropertyBackgroundO rigin);
2210 setPropertyHandler(CSSPropertyWebkitBackgroundSize, CSSPropertyBackgroundSiz e); 2210 setPropertyHandler(CSSPropertyWebkitBackgroundSize, CSSPropertyBackgroundSiz e);
2211 #if ENABLE(CSS_COMPOSITING)
2212 setPropertyHandler(CSSPropertyWebkitBlendMode, ApplyPropertyDefault<BlendMod e, &RenderStyle::blendMode, BlendMode, &RenderStyle::setBlendMode, BlendMode, &R enderStyle::initialBlendMode>::createHandler()); 2211 setPropertyHandler(CSSPropertyWebkitBlendMode, ApplyPropertyDefault<BlendMod e, &RenderStyle::blendMode, BlendMode, &RenderStyle::setBlendMode, BlendMode, &R enderStyle::initialBlendMode>::createHandler());
2213 setPropertyHandler(CSSPropertyWebkitBackgroundBlendMode, ApplyPropertyFillLa yer<BlendMode, CSSPropertyWebkitBackgroundBlendMode, BackgroundFillLayer, &Rende rStyle::accessBackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isBl endModeSet, &FillLayer::blendMode, &FillLayer::setBlendMode, &FillLayer::clearBl endMode, &FillLayer::initialFillBlendMode, &CSSToStyleMap::mapFillBlendMode>::cr eateHandler()); 2212 setPropertyHandler(CSSPropertyWebkitBackgroundBlendMode, ApplyPropertyFillLa yer<BlendMode, CSSPropertyWebkitBackgroundBlendMode, BackgroundFillLayer, &Rende rStyle::accessBackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isBl endModeSet, &FillLayer::blendMode, &FillLayer::setBlendMode, &FillLayer::clearBl endMode, &FillLayer::initialFillBlendMode, &CSSToStyleMap::mapFillBlendMode>::cr eateHandler());
2214 #endif
2215 setPropertyHandler(CSSPropertyWebkitBorderFit, ApplyPropertyDefault<EBorderF it, &RenderStyle::borderFit, EBorderFit, &RenderStyle::setBorderFit, EBorderFit, &RenderStyle::initialBorderFit>::createHandler()); 2213 setPropertyHandler(CSSPropertyWebkitBorderFit, ApplyPropertyDefault<EBorderF it, &RenderStyle::borderFit, EBorderFit, &RenderStyle::setBorderFit, EBorderFit, &RenderStyle::initialBorderFit>::createHandler());
2216 setPropertyHandler(CSSPropertyWebkitBorderHorizontalSpacing, ApplyPropertyCo mputeLength<short, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHoriz ontalBorderSpacing, &RenderStyle::initialHorizontalBorderSpacing>::createHandler ()); 2214 setPropertyHandler(CSSPropertyWebkitBorderHorizontalSpacing, ApplyPropertyCo mputeLength<short, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHoriz ontalBorderSpacing, &RenderStyle::initialHorizontalBorderSpacing>::createHandler ());
2217 setPropertyHandler(CSSPropertyWebkitBorderImage, ApplyPropertyBorderImage<Bo rderImage, CSSPropertyWebkitBorderImage, &RenderStyle::borderImage, &RenderStyle ::setBorderImage>::createHandler()); 2215 setPropertyHandler(CSSPropertyWebkitBorderImage, ApplyPropertyBorderImage<Bo rderImage, CSSPropertyWebkitBorderImage, &RenderStyle::borderImage, &RenderStyle ::setBorderImage>::createHandler());
2218 setPropertyHandler(CSSPropertyWebkitBorderVerticalSpacing, ApplyPropertyComp uteLength<short, &RenderStyle::verticalBorderSpacing, &RenderStyle::setVerticalB orderSpacing, &RenderStyle::initialVerticalBorderSpacing>::createHandler()); 2216 setPropertyHandler(CSSPropertyWebkitBorderVerticalSpacing, ApplyPropertyComp uteLength<short, &RenderStyle::verticalBorderSpacing, &RenderStyle::setVerticalB orderSpacing, &RenderStyle::initialVerticalBorderSpacing>::createHandler());
2219 setPropertyHandler(CSSPropertyWebkitBoxAlign, ApplyPropertyDefault<EBoxAlign ment, &RenderStyle::boxAlign, EBoxAlignment, &RenderStyle::setBoxAlign, EBoxAlig nment, &RenderStyle::initialBoxAlign>::createHandler()); 2217 setPropertyHandler(CSSPropertyWebkitBoxAlign, ApplyPropertyDefault<EBoxAlign ment, &RenderStyle::boxAlign, EBoxAlignment, &RenderStyle::setBoxAlign, EBoxAlig nment, &RenderStyle::initialBoxAlign>::createHandler());
2220 setPropertyHandler(CSSPropertyWebkitBoxDecorationBreak, ApplyPropertyDefault <EBoxDecorationBreak, &RenderStyle::boxDecorationBreak, EBoxDecorationBreak, &Re nderStyle::setBoxDecorationBreak, EBoxDecorationBreak, &RenderStyle::initialBoxD ecorationBreak>::createHandler()); 2218 setPropertyHandler(CSSPropertyWebkitBoxDecorationBreak, ApplyPropertyDefault <EBoxDecorationBreak, &RenderStyle::boxDecorationBreak, EBoxDecorationBreak, &Re nderStyle::setBoxDecorationBreak, EBoxDecorationBreak, &RenderStyle::initialBoxD ecorationBreak>::createHandler());
2221 setPropertyHandler(CSSPropertyWebkitBoxDirection, ApplyPropertyDefault<EBoxD irection, &RenderStyle::boxDirection, EBoxDirection, &RenderStyle::setBoxDirecti on, EBoxDirection, &RenderStyle::initialBoxDirection>::createHandler()); 2219 setPropertyHandler(CSSPropertyWebkitBoxDirection, ApplyPropertyDefault<EBoxD irection, &RenderStyle::boxDirection, EBoxDirection, &RenderStyle::setBoxDirecti on, EBoxDirection, &RenderStyle::initialBoxDirection>::createHandler());
2222 setPropertyHandler(CSSPropertyWebkitBoxFlex, ApplyPropertyDefault<float, &Re nderStyle::boxFlex, float, &RenderStyle::setBoxFlex, float, &RenderStyle::initia lBoxFlex>::createHandler()); 2220 setPropertyHandler(CSSPropertyWebkitBoxFlex, ApplyPropertyDefault<float, &Re nderStyle::boxFlex, float, &RenderStyle::setBoxFlex, float, &RenderStyle::initia lBoxFlex>::createHandler());
2223 setPropertyHandler(CSSPropertyWebkitBoxFlexGroup, ApplyPropertyDefault<unsig ned int, &RenderStyle::boxFlexGroup, unsigned int, &RenderStyle::setBoxFlexGroup , unsigned int, &RenderStyle::initialBoxFlexGroup>::createHandler()); 2221 setPropertyHandler(CSSPropertyWebkitBoxFlexGroup, ApplyPropertyDefault<unsig ned int, &RenderStyle::boxFlexGroup, unsigned int, &RenderStyle::setBoxFlexGroup , unsigned int, &RenderStyle::initialBoxFlexGroup>::createHandler());
2224 setPropertyHandler(CSSPropertyWebkitBoxLines, ApplyPropertyDefault<EBoxLines , &RenderStyle::boxLines, EBoxLines, &RenderStyle::setBoxLines, EBoxLines, &Rend erStyle::initialBoxLines>::createHandler()); 2222 setPropertyHandler(CSSPropertyWebkitBoxLines, ApplyPropertyDefault<EBoxLines , &RenderStyle::boxLines, EBoxLines, &RenderStyle::setBoxLines, EBoxLines, &Rend erStyle::initialBoxLines>::createHandler());
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
2340 setPropertyHandler(CSSPropertyWordBreak, ApplyPropertyDefault<EWordBreak, &R enderStyle::wordBreak, EWordBreak, &RenderStyle::setWordBreak, EWordBreak, &Rend erStyle::initialWordBreak>::createHandler()); 2338 setPropertyHandler(CSSPropertyWordBreak, ApplyPropertyDefault<EWordBreak, &R enderStyle::wordBreak, EWordBreak, &RenderStyle::setWordBreak, EWordBreak, &Rend erStyle::initialWordBreak>::createHandler());
2341 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, & RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler ()); 2339 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, & RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler ());
2342 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers. 2340 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers.
2343 setPropertyHandler(CSSPropertyWordWrap, ApplyPropertyDefault<EOverflowWrap, &RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EOverf lowWrap, &RenderStyle::initialOverflowWrap>::createHandler()); 2341 setPropertyHandler(CSSPropertyWordWrap, ApplyPropertyDefault<EOverflowWrap, &RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EOverf lowWrap, &RenderStyle::initialOverflowWrap>::createHandler());
2344 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa sAutoZIndex>::createHandler()); 2342 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa sAutoZIndex>::createHandler());
2345 setPropertyHandler(CSSPropertyZoom, ApplyPropertyZoom::createHandler()); 2343 setPropertyHandler(CSSPropertyZoom, ApplyPropertyZoom::createHandler());
2346 } 2344 }
2347 2345
2348 2346
2349 } 2347 }
OLDNEW
« no previous file with comments | « WebCore/css/CSSProperty.cpp ('k') | WebCore/rendering/RenderLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698