| OLD | NEW |
| 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 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1362 StyleColor textFillColor() const { return rareInheritedData->textFillColor()
; } | 1362 StyleColor textFillColor() const { return rareInheritedData->textFillColor()
; } |
| 1363 StyleColor textStrokeColor() const { return rareInheritedData->textStrokeCol
or(); } | 1363 StyleColor textStrokeColor() const { return rareInheritedData->textStrokeCol
or(); } |
| 1364 | 1364 |
| 1365 StyleColor textDecorationColor() const { return rareNonInheritedData->m_text
DecorationColor; } | 1365 StyleColor textDecorationColor() const { return rareNonInheritedData->m_text
DecorationColor; } |
| 1366 | 1366 |
| 1367 void addAppliedTextDecoration(const AppliedTextDecoration&); | 1367 void addAppliedTextDecoration(const AppliedTextDecoration&); |
| 1368 | 1368 |
| 1369 // FIXME(sky): Combine these first two. | 1369 // FIXME(sky): Combine these first two. |
| 1370 bool diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& other) const
; | 1370 bool diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& other) const
; |
| 1371 bool diffNeedsFullLayout(const RenderStyle& other) const; | 1371 bool diffNeedsFullLayout(const RenderStyle& other) const; |
| 1372 bool diffNeedsPaintInvalidation(const RenderStyle& other) const; | |
| 1373 bool diffNeedsRecompositeLayer(const RenderStyle& other) const; | 1372 bool diffNeedsRecompositeLayer(const RenderStyle& other) const; |
| 1374 void updatePropertySpecificDifferences(const RenderStyle& other, StyleDiffer
ence&) const; | 1373 void updatePropertySpecificDifferences(const RenderStyle& other, StyleDiffer
ence&) const; |
| 1375 }; | 1374 }; |
| 1376 | 1375 |
| 1377 inline bool RenderStyle::isSharable() const | 1376 inline bool RenderStyle::isSharable() const |
| 1378 { | 1377 { |
| 1379 return !unique(); | 1378 return !unique(); |
| 1380 } | 1379 } |
| 1381 | 1380 |
| 1382 inline bool RenderStyle::setTextOrientation(TextOrientation textOrientation) | 1381 inline bool RenderStyle::setTextOrientation(TextOrientation textOrientation) |
| 1383 { | 1382 { |
| 1384 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) | 1383 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) |
| 1385 return false; | 1384 return false; |
| 1386 | 1385 |
| 1387 rareInheritedData.access()->m_textOrientation = textOrientation; | 1386 rareInheritedData.access()->m_textOrientation = textOrientation; |
| 1388 return true; | 1387 return true; |
| 1389 } | 1388 } |
| 1390 | 1389 |
| 1391 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1390 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1392 | 1391 |
| 1393 } // namespace blink | 1392 } // namespace blink |
| 1394 | 1393 |
| 1395 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ | 1394 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ |
| OLD | NEW |