| 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 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 ~StyleRareInheritedData(); | 63 ~StyleRareInheritedData(); |
| 64 | 64 |
| 65 bool operator==(const StyleRareInheritedData&) const; | 65 bool operator==(const StyleRareInheritedData&) const; |
| 66 bool operator!=(const StyleRareInheritedData& o) const | 66 bool operator!=(const StyleRareInheritedData& o) const |
| 67 { | 67 { |
| 68 return !(*this == o); | 68 return !(*this == o); |
| 69 } | 69 } |
| 70 bool shadowDataEquivalent(const StyleRareInheritedData&) const; | 70 bool shadowDataEquivalent(const StyleRareInheritedData&) const; |
| 71 bool quotesDataEquivalent(const StyleRareInheritedData&) const; | 71 bool quotesDataEquivalent(const StyleRareInheritedData&) const; |
| 72 | 72 |
| 73 RefPtrWillBePersistent<StyleImage> listStyleImage; | 73 Persistent<StyleImage> listStyleImage; |
| 74 | 74 |
| 75 StyleColor textStrokeColor() const { return m_textStrokeColorIsCurrentColor
? StyleColor::currentColor() : StyleColor(m_textStrokeColor); } | 75 StyleColor textStrokeColor() const { return m_textStrokeColorIsCurrentColor
? StyleColor::currentColor() : StyleColor(m_textStrokeColor); } |
| 76 StyleColor textFillColor() const { return m_textFillColorIsCurrentColor ? St
yleColor::currentColor() : StyleColor(m_textFillColor); } | 76 StyleColor textFillColor() const { return m_textFillColorIsCurrentColor ? St
yleColor::currentColor() : StyleColor(m_textFillColor); } |
| 77 StyleColor textEmphasisColor() const { return m_textEmphasisColorIsCurrentCo
lor ? StyleColor::currentColor() : StyleColor(m_textEmphasisColor); } | 77 StyleColor textEmphasisColor() const { return m_textEmphasisColorIsCurrentCo
lor ? StyleColor::currentColor() : StyleColor(m_textEmphasisColor); } |
| 78 StyleColor visitedLinkTextStrokeColor() const { return m_visitedLinkTextStro
keColorIsCurrentColor ? StyleColor::currentColor() : StyleColor(m_visitedLinkTex
tStrokeColor); } | 78 StyleColor visitedLinkTextStrokeColor() const { return m_visitedLinkTextStro
keColorIsCurrentColor ? StyleColor::currentColor() : StyleColor(m_visitedLinkTex
tStrokeColor); } |
| 79 StyleColor visitedLinkTextFillColor() const { return m_visitedLinkTextFillCo
lorIsCurrentColor ? StyleColor::currentColor() : StyleColor(m_visitedLinkTextFil
lColor); } | 79 StyleColor visitedLinkTextFillColor() const { return m_visitedLinkTextFillCo
lorIsCurrentColor ? StyleColor::currentColor() : StyleColor(m_visitedLinkTextFil
lColor); } |
| 80 StyleColor visitedLinkTextEmphasisColor() const { return m_visitedLinkTextEm
phasisColorIsCurrentColor ? StyleColor::currentColor() : StyleColor(m_visitedLin
kTextEmphasisColor); } | 80 StyleColor visitedLinkTextEmphasisColor() const { return m_visitedLinkTextEm
phasisColorIsCurrentColor ? StyleColor::currentColor() : StyleColor(m_visitedLin
kTextEmphasisColor); } |
| 81 | 81 |
| 82 void setTextStrokeColor(const StyleColor& color) { m_textStrokeColor = color
.resolve(Color()); m_textStrokeColorIsCurrentColor = color.isCurrentColor(); } | 82 void setTextStrokeColor(const StyleColor& color) { m_textStrokeColor = color
.resolve(Color()); m_textStrokeColorIsCurrentColor = color.isCurrentColor(); } |
| 83 void setTextFillColor(const StyleColor& color) { m_textFillColor = color.res
olve(Color()); m_textFillColorIsCurrentColor = color.isCurrentColor(); } | 83 void setTextFillColor(const StyleColor& color) { m_textFillColor = color.res
olve(Color()); m_textFillColorIsCurrentColor = color.isCurrentColor(); } |
| 84 void setTextEmphasisColor(const StyleColor& color) { m_textEmphasisColor = c
olor.resolve(Color()); m_textEmphasisColorIsCurrentColor = color.isCurrentColor(
); } | 84 void setTextEmphasisColor(const StyleColor& color) { m_textEmphasisColor = c
olor.resolve(Color()); m_textEmphasisColorIsCurrentColor = color.isCurrentColor(
); } |
| 85 void setVisitedLinkTextStrokeColor(const StyleColor& color) { m_visitedLinkT
extStrokeColor = color.resolve(Color()); m_visitedLinkTextStrokeColorIsCurrentCo
lor = color.isCurrentColor(); } | 85 void setVisitedLinkTextStrokeColor(const StyleColor& color) { m_visitedLinkT
extStrokeColor = color.resolve(Color()); m_visitedLinkTextStrokeColorIsCurrentCo
lor = color.isCurrentColor(); } |
| 86 void setVisitedLinkTextFillColor(const StyleColor& color) { m_visitedLinkTex
tFillColor = color.resolve(Color()); m_visitedLinkTextFillColorIsCurrentColor =
color.isCurrentColor(); } | 86 void setVisitedLinkTextFillColor(const StyleColor& color) { m_visitedLinkTex
tFillColor = color.resolve(Color()); m_visitedLinkTextFillColorIsCurrentColor =
color.isCurrentColor(); } |
| 87 void setVisitedLinkTextEmphasisColor(const StyleColor& color) { m_visitedLin
kTextEmphasisColor = color.resolve(Color()); m_visitedLinkTextEmphasisColorIsCur
rentColor = color.isCurrentColor(); } | 87 void setVisitedLinkTextEmphasisColor(const StyleColor& color) { m_visitedLin
kTextEmphasisColor = color.resolve(Color()); m_visitedLinkTextEmphasisColorIsCur
rentColor = color.isCurrentColor(); } |
| 88 | 88 |
| 89 Color m_textStrokeColor; | 89 Color m_textStrokeColor; |
| 90 float textStrokeWidth; | 90 float textStrokeWidth; |
| 91 Color m_textFillColor; | 91 Color m_textFillColor; |
| 92 Color m_textEmphasisColor; | 92 Color m_textEmphasisColor; |
| 93 | 93 |
| 94 Color m_visitedLinkTextStrokeColor; | 94 Color m_visitedLinkTextStrokeColor; |
| 95 Color m_visitedLinkTextFillColor; | 95 Color m_visitedLinkTextFillColor; |
| 96 Color m_visitedLinkTextEmphasisColor; | 96 Color m_visitedLinkTextEmphasisColor; |
| 97 | 97 |
| 98 RefPtr<ShadowList> textShadow; // Our text shadow information for shadowed t
ext drawing. | 98 RefPtr<ShadowList> textShadow; // Our text shadow information for shadowed t
ext drawing. |
| 99 AtomicString highlight; // Apple-specific extension for custom highlight ren
dering. | 99 AtomicString highlight; // Apple-specific extension for custom highlight ren
dering. |
| 100 | 100 |
| 101 RefPtrWillBePersistent<CursorList> cursorData; | 101 Persistent<CursorList> cursorData; |
| 102 | 102 |
| 103 Length indent; | 103 Length indent; |
| 104 float m_effectiveZoom; | 104 float m_effectiveZoom; |
| 105 | 105 |
| 106 // Paged media properties. | 106 // Paged media properties. |
| 107 short widows; | 107 short widows; |
| 108 short orphans; | 108 short orphans; |
| 109 unsigned m_hasAutoOrphans : 1; | 109 unsigned m_hasAutoOrphans : 1; |
| 110 | 110 |
| 111 unsigned m_textStrokeColorIsCurrentColor : 1; | 111 unsigned m_textStrokeColorIsCurrentColor : 1; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 RefPtr<StyleVariableData> variables; | 165 RefPtr<StyleVariableData> variables; |
| 166 | 166 |
| 167 private: | 167 private: |
| 168 StyleRareInheritedData(); | 168 StyleRareInheritedData(); |
| 169 StyleRareInheritedData(const StyleRareInheritedData&); | 169 StyleRareInheritedData(const StyleRareInheritedData&); |
| 170 }; | 170 }; |
| 171 | 171 |
| 172 } // namespace blink | 172 } // namespace blink |
| 173 | 173 |
| 174 #endif // StyleRareInheritedData_h | 174 #endif // StyleRareInheritedData_h |
| OLD | NEW |