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 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1485 void setEmptyState(bool b) { setUnique(); noninherited_flags.emptyState = b;
} | 1485 void setEmptyState(bool b) { setUnique(); noninherited_flags.emptyState = b;
} |
1486 bool firstChildState() const { return noninherited_flags.firstChildState; } | 1486 bool firstChildState() const { return noninherited_flags.firstChildState; } |
1487 void setFirstChildState() { setUnique(); noninherited_flags.firstChildState
= true; } | 1487 void setFirstChildState() { setUnique(); noninherited_flags.firstChildState
= true; } |
1488 bool lastChildState() const { return noninherited_flags.lastChildState; } | 1488 bool lastChildState() const { return noninherited_flags.lastChildState; } |
1489 void setLastChildState() { setUnique(); noninherited_flags.lastChildState =
true; } | 1489 void setLastChildState() { setUnique(); noninherited_flags.lastChildState =
true; } |
1490 | 1490 |
1491 Color visitedDependentColor(int colorProperty) const; | 1491 Color visitedDependentColor(int colorProperty) const; |
1492 | 1492 |
1493 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe
ritance = true; } | 1493 void setHasExplicitlyInheritedProperties() { noninherited_flags.explicitInhe
ritance = true; } |
1494 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex
plicitInheritance; } | 1494 bool hasExplicitlyInheritedProperties() const { return noninherited_flags.ex
plicitInheritance; } |
1495 | |
1496 void reportMemoryUsage(MemoryObjectInfo*) const; | |
1497 | 1495 |
1498 // Initial values for all the properties | 1496 // Initial values for all the properties |
1499 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } | 1497 static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } |
1500 static EBorderStyle initialBorderStyle() { return BNONE; } | 1498 static EBorderStyle initialBorderStyle() { return BNONE; } |
1501 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } | 1499 static OutlineIsAuto initialOutlineStyleIsAuto() { return AUTO_OFF; } |
1502 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } | 1500 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } |
1503 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } | 1501 static LengthSize initialBorderRadius() { return LengthSize(Length(0, Fixed)
, Length(0, Fixed)); } |
1504 static ECaptionSide initialCaptionSide() { return CAPTOP; } | 1502 static ECaptionSide initialCaptionSide() { return CAPTOP; } |
1505 static EClear initialClear() { return CNONE; } | 1503 static EClear initialClear() { return CNONE; } |
1506 static ColorSpace initialColorSpace() { return ColorSpaceDeviceRGB; } | 1504 static ColorSpace initialColorSpace() { return ColorSpaceDeviceRGB; } |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1805 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) | 1803 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) |
1806 return false; | 1804 return false; |
1807 | 1805 |
1808 rareInheritedData.access()->m_textOrientation = textOrientation; | 1806 rareInheritedData.access()->m_textOrientation = textOrientation; |
1809 return true; | 1807 return true; |
1810 } | 1808 } |
1811 | 1809 |
1812 } // namespace WebCore | 1810 } // namespace WebCore |
1813 | 1811 |
1814 #endif // RenderStyle_h | 1812 #endif // RenderStyle_h |
OLD | NEW |