| 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 |
| 11 * version 2 of the License, or (at your option) any later version. | 11 * version 2 of the License, or (at your option) any later version. |
| 12 * | 12 * |
| 13 * This library is distributed in the hope that it will be useful, | 13 * This library is distributed in the hope that it will be useful, |
| 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 * Library General Public License for more details. | 16 * Library General Public License for more details. |
| 17 * | 17 * |
| 18 * You should have received a copy of the GNU Library General Public License | 18 * You should have received a copy of the GNU Library General Public License |
| 19 * along with this library; see the file COPYING.LIB. If not, write to | 19 * along with this library; see the file COPYING.LIB. If not, write to |
| 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 21 * Boston, MA 02110-1301, USA. | 21 * Boston, MA 02110-1301, USA. |
| 22 * | 22 * |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #ifndef StyleRareInheritedData_h | 25 #ifndef StyleRareInheritedData_h |
| 26 #define StyleRareInheritedData_h | 26 #define StyleRareInheritedData_h |
| 27 | 27 |
| 28 #include "core/css/StyleColor.h" | |
| 29 #include "core/platform/Length.h" | 28 #include "core/platform/Length.h" |
| 29 #include "core/platform/graphics/Color.h" |
| 30 #include "wtf/PassRefPtr.h" | 30 #include "wtf/PassRefPtr.h" |
| 31 #include "wtf/RefCounted.h" | 31 #include "wtf/RefCounted.h" |
| 32 #include "wtf/text/AtomicString.h" | 32 #include "wtf/text/AtomicString.h" |
| 33 | 33 |
| 34 #include "core/rendering/style/DataRef.h" | 34 #include "core/rendering/style/DataRef.h" |
| 35 #include "core/rendering/style/StyleVariableData.h" | 35 #include "core/rendering/style/StyleVariableData.h" |
| 36 | 36 |
| 37 namespace WebCore { | 37 namespace WebCore { |
| 38 | 38 |
| 39 class CursorList; | 39 class CursorList; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 52 | 52 |
| 53 bool operator==(const StyleRareInheritedData& o) const; | 53 bool operator==(const StyleRareInheritedData& o) const; |
| 54 bool operator!=(const StyleRareInheritedData& o) const | 54 bool operator!=(const StyleRareInheritedData& o) const |
| 55 { | 55 { |
| 56 return !(*this == o); | 56 return !(*this == o); |
| 57 } | 57 } |
| 58 bool shadowDataEquivalent(const StyleRareInheritedData&) const; | 58 bool shadowDataEquivalent(const StyleRareInheritedData&) const; |
| 59 | 59 |
| 60 RefPtr<StyleImage> listStyleImage; | 60 RefPtr<StyleImage> listStyleImage; |
| 61 | 61 |
| 62 StyleColor textStrokeColor; | 62 Color textStrokeColor; |
| 63 float textStrokeWidth; | 63 float textStrokeWidth; |
| 64 StyleColor textFillColor; | 64 Color textFillColor; |
| 65 StyleColor textEmphasisColor; | 65 Color textEmphasisColor; |
| 66 | 66 |
| 67 StyleColor visitedLinkTextStrokeColor; | 67 Color visitedLinkTextStrokeColor; |
| 68 StyleColor visitedLinkTextFillColor; | 68 Color visitedLinkTextFillColor; |
| 69 StyleColor visitedLinkTextEmphasisColor; | 69 Color visitedLinkTextEmphasisColor; |
| 70 | 70 |
| 71 OwnPtr<ShadowData> textShadow; // Our text shadow information for shadowed t
ext drawing. | 71 OwnPtr<ShadowData> textShadow; // Our text shadow information for shadowed t
ext drawing. |
| 72 AtomicString highlight; // Apple-specific extension for custom highlight ren
dering. | 72 AtomicString highlight; // Apple-specific extension for custom highlight ren
dering. |
| 73 | 73 |
| 74 RefPtr<CursorList> cursorData; | 74 RefPtr<CursorList> cursorData; |
| 75 Length indent; | 75 Length indent; |
| 76 float m_effectiveZoom; | 76 float m_effectiveZoom; |
| 77 | 77 |
| 78 // Paged media properties. | 78 // Paged media properties. |
| 79 short widows; | 79 short widows; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 short hyphenationLimitLines; | 112 short hyphenationLimitLines; |
| 113 | 113 |
| 114 AtomicString locale; | 114 AtomicString locale; |
| 115 | 115 |
| 116 AtomicString textEmphasisCustomMark; | 116 AtomicString textEmphasisCustomMark; |
| 117 RefPtr<QuotesData> quotes; | 117 RefPtr<QuotesData> quotes; |
| 118 | 118 |
| 119 AtomicString m_lineGrid; | 119 AtomicString m_lineGrid; |
| 120 unsigned m_tabSize; | 120 unsigned m_tabSize; |
| 121 | 121 |
| 122 StyleColor tapHighlightColor; | 122 Color tapHighlightColor; |
| 123 | 123 |
| 124 DataRef<StyleVariableData> m_variables; | 124 DataRef<StyleVariableData> m_variables; |
| 125 | 125 |
| 126 private: | 126 private: |
| 127 StyleRareInheritedData(); | 127 StyleRareInheritedData(); |
| 128 StyleRareInheritedData(const StyleRareInheritedData&); | 128 StyleRareInheritedData(const StyleRareInheritedData&); |
| 129 }; | 129 }; |
| 130 | 130 |
| 131 } // namespace WebCore | 131 } // namespace WebCore |
| 132 | 132 |
| 133 #endif // StyleRareInheritedData_h | 133 #endif // StyleRareInheritedData_h |
| OLD | NEW |