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

Side by Side Diff: Source/core/rendering/style/RenderStyle.h

Issue 328553004: Get rid of scheduleSVGFilterLayerUpdateHack call for plugins. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: get rid of style recalc Created 6 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
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 Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc tion, t); } 1387 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc tion, t); }
1388 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_ touchActionDelay, t); } 1388 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_ touchActionDelay, t); }
1389 1389
1390 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s crollBehavior, b); } 1390 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s crollBehavior, b); }
1391 1391
1392 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_ VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } 1392 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_ VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); }
1393 void setWillChangeContents(bool b) { SET_VAR(rareNonInheritedData.access()-> m_willChange, m_contents, b); } 1393 void setWillChangeContents(bool b) { SET_VAR(rareNonInheritedData.access()-> m_willChange, m_contents, b); }
1394 void setWillChangeScrollPosition(bool b) { SET_VAR(rareNonInheritedData.acce ss()->m_willChange, m_scrollPosition, b); } 1394 void setWillChangeScrollPosition(bool b) { SET_VAR(rareNonInheritedData.acce ss()->m_willChange, m_scrollPosition, b); }
1395 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub treeWillChangeContents, b); } 1395 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub treeWillChangeContents, b); }
1396 1396
1397 bool requiresAcceleratedCompositingForExternalReasons(bool b) { return rareN onInheritedData->m_requiresAcceleratedCompositingForExternalReasons; }
1398 void setRequiresAcceleratedCompositingForExternalReasons(bool b) { SET_VAR(r areNonInheritedData, m_requiresAcceleratedCompositingForExternalReasons, b); }
1399
1397 const SVGRenderStyle* svgStyle() const { return m_svgStyle.get(); } 1400 const SVGRenderStyle* svgStyle() const { return m_svgStyle.get(); }
1398 SVGRenderStyle* accessSVGStyle() { return m_svgStyle.access(); } 1401 SVGRenderStyle* accessSVGStyle() { return m_svgStyle.access(); }
1399 1402
1400 const SVGPaint::SVGPaintType& fillPaintType() const { return svgStyle()->fil lPaintType(); } 1403 const SVGPaint::SVGPaintType& fillPaintType() const { return svgStyle()->fil lPaintType(); }
1401 Color fillPaintColor() const { return svgStyle()->fillPaintColor(); } 1404 Color fillPaintColor() const { return svgStyle()->fillPaintColor(); }
1402 void setFillPaintColor(const Color& c) { accessSVGStyle()->setFillPaint(SVGP aint::SVG_PAINTTYPE_RGBCOLOR, c, ""); } 1405 void setFillPaintColor(const Color& c) { accessSVGStyle()->setFillPaint(SVGP aint::SVG_PAINTTYPE_RGBCOLOR, c, ""); }
1403 float fillOpacity() const { return svgStyle()->fillOpacity(); } 1406 float fillOpacity() const { return svgStyle()->fillOpacity(); }
1404 void setFillOpacity(float f) { accessSVGStyle()->setFillOpacity(f); } 1407 void setFillOpacity(float f) { accessSVGStyle()->setFillOpacity(f); }
1405 1408
1406 const SVGPaint::SVGPaintType& strokePaintType() const { return svgStyle()->s trokePaintType(); } 1409 const SVGPaint::SVGPaintType& strokePaintType() const { return svgStyle()->s trokePaintType(); }
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
1879 inline bool RenderStyle::hasPseudoElementStyle() const 1882 inline bool RenderStyle::hasPseudoElementStyle() const
1880 { 1883 {
1881 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; 1884 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK;
1882 } 1885 }
1883 1886
1884 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1887 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1885 1888
1886 } // namespace WebCore 1889 } // namespace WebCore
1887 1890
1888 #endif // RenderStyle_h 1891 #endif // RenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/core/rendering/style/StyleRareNonInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698