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

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

Issue 265703012: Separate repaint and layout requirements of StyleDifference (Step 4) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
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 1763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1774 StyleColor visitedLinkTextStrokeColor() const { return rareInheritedData->vi sitedLinkTextStrokeColor(); } 1774 StyleColor visitedLinkTextStrokeColor() const { return rareInheritedData->vi sitedLinkTextStrokeColor(); }
1775 1775
1776 Color colorIncludingFallback(int colorProperty, bool visitedLink) const; 1776 Color colorIncludingFallback(int colorProperty, bool visitedLink) const;
1777 1777
1778 Color stopColor() const { return svgStyle()->stopColor(); } 1778 Color stopColor() const { return svgStyle()->stopColor(); }
1779 Color floodColor() const { return svgStyle()->floodColor(); } 1779 Color floodColor() const { return svgStyle()->floodColor(); }
1780 Color lightingColor() const { return svgStyle()->lightingColor(); } 1780 Color lightingColor() const { return svgStyle()->lightingColor(); }
1781 1781
1782 void appendContent(PassOwnPtr<ContentData>); 1782 void appendContent(PassOwnPtr<ContentData>);
1783 1783
1784 bool diffNeedsFullLayoutAndRepaint(const RenderStyle& other) const;
1784 bool diffNeedsFullLayout(const RenderStyle& other) const; 1785 bool diffNeedsFullLayout(const RenderStyle& other) const;
1785 bool diffNeedsRepaintLayer(const RenderStyle& other) const; 1786 bool diffNeedsRepaintLayer(const RenderStyle& other) const;
1786 bool diffNeedsRepaintObject(const RenderStyle& other) const; 1787 bool diffNeedsRepaintObject(const RenderStyle& other) const;
1787 bool diffNeedsRecompositeLayer(const RenderStyle& other) const; 1788 bool diffNeedsRecompositeLayer(const RenderStyle& other) const;
1788 unsigned computeChangedContextSensitiveProperties(const RenderStyle& other, StyleDifference) const; 1789 unsigned computeChangedContextSensitiveProperties(const RenderStyle& other, StyleDifference) const;
1789 }; 1790 };
1790 1791
1791 // FIXME: Reduce/remove the dependency on zoom adjusted int values. 1792 // FIXME: Reduce/remove the dependency on zoom adjusted int values.
1792 // The float or LayoutUnit versions of layout values should be used. 1793 // The float or LayoutUnit versions of layout values should be used.
1793 inline int adjustForAbsoluteZoom(int value, float zoomFactor) 1794 inline int adjustForAbsoluteZoom(int value, float zoomFactor)
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1878 inline bool RenderStyle::hasPseudoElementStyle() const 1879 inline bool RenderStyle::hasPseudoElementStyle() const
1879 { 1880 {
1880 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; 1881 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK;
1881 } 1882 }
1882 1883
1883 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1884 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1884 1885
1885 } // namespace WebCore 1886 } // namespace WebCore
1886 1887
1887 #endif // RenderStyle_h 1888 #endif // RenderStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698