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 26 matching lines...) Expand all Loading... |
37 #include "wtf/RefVector.h" | 37 #include "wtf/RefVector.h" |
38 #include "wtf/text/AtomicString.h" | 38 #include "wtf/text/AtomicString.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class AppliedTextDecoration; | 42 class AppliedTextDecoration; |
43 class CursorData; | 43 class CursorData; |
44 class QuotesData; | 44 class QuotesData; |
45 class ShadowList; | 45 class ShadowList; |
46 class StyleImage; | 46 class StyleImage; |
47 class StyleVariableData; | 47 class StyleInheritedVariables; |
48 | 48 |
49 typedef RefVector<AppliedTextDecoration> AppliedTextDecorationList; | 49 typedef RefVector<AppliedTextDecoration> AppliedTextDecorationList; |
50 typedef HeapVector<CursorData> CursorList; | 50 typedef HeapVector<CursorData> CursorList; |
51 | 51 |
52 // This struct is for rarely used inherited CSS3, CSS2, and WebKit-specific prop
erties. | 52 // This struct is for rarely used inherited CSS3, CSS2, and WebKit-specific prop
erties. |
53 // By grouping them together, we save space, and only allocate this object when
someone | 53 // By grouping them together, we save space, and only allocate this object when
someone |
54 // actually uses one of these properties. | 54 // actually uses one of these properties. |
55 // TODO(sashab): Move this into a private class on ComputedStyle, and remove | 55 // TODO(sashab): Move this into a private class on ComputedStyle, and remove |
56 // all methods on it, merging them into copy/creation methods on ComputedStyle | 56 // all methods on it, merging them into copy/creation methods on ComputedStyle |
57 // instead. Keep the allocation logic, only allocating a new object if needed. | 57 // instead. Keep the allocation logic, only allocating a new object if needed. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 uint8_t m_snapHeightUnit; | 153 uint8_t m_snapHeightUnit; |
154 | 154 |
155 AtomicString textEmphasisCustomMark; | 155 AtomicString textEmphasisCustomMark; |
156 RefPtr<QuotesData> quotes; | 156 RefPtr<QuotesData> quotes; |
157 | 157 |
158 Color tapHighlightColor; | 158 Color tapHighlightColor; |
159 | 159 |
160 RefPtr<AppliedTextDecorationList> appliedTextDecorations; | 160 RefPtr<AppliedTextDecorationList> appliedTextDecorations; |
161 TabSize m_tabSize; | 161 TabSize m_tabSize; |
162 | 162 |
163 RefPtr<StyleVariableData> variables; | 163 RefPtr<StyleInheritedVariables> variables; |
164 TextSizeAdjust m_textSizeAdjust; | 164 TextSizeAdjust m_textSizeAdjust; |
165 | 165 |
166 private: | 166 private: |
167 StyleRareInheritedData(); | 167 StyleRareInheritedData(); |
168 StyleRareInheritedData(const StyleRareInheritedData&); | 168 StyleRareInheritedData(const StyleRareInheritedData&); |
169 }; | 169 }; |
170 | 170 |
171 } // namespace blink | 171 } // namespace blink |
172 | 172 |
173 #endif // StyleRareInheritedData_h | 173 #endif // StyleRareInheritedData_h |
OLD | NEW |