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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 StyleInheritedVariables; | 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 |
53 // By grouping them together, we save space, and only allocate this object when
someone | 53 // properties. By grouping them together, we save space, and only allocate this |
54 // actually uses one of these properties. | 54 // object when someone 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. |
58 class CORE_EXPORT StyleRareInheritedData | 58 class CORE_EXPORT StyleRareInheritedData |
59 : public RefCounted<StyleRareInheritedData> { | 59 : public RefCounted<StyleRareInheritedData> { |
60 public: | 60 public: |
61 static PassRefPtr<StyleRareInheritedData> create() { | 61 static PassRefPtr<StyleRareInheritedData> create() { |
62 return adoptRef(new StyleRareInheritedData); | 62 return adoptRef(new StyleRareInheritedData); |
63 } | 63 } |
64 PassRefPtr<StyleRareInheritedData> copy() const { | 64 PassRefPtr<StyleRareInheritedData> copy() const { |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 TextSizeAdjust m_textSizeAdjust; | 209 TextSizeAdjust m_textSizeAdjust; |
210 | 210 |
211 private: | 211 private: |
212 StyleRareInheritedData(); | 212 StyleRareInheritedData(); |
213 StyleRareInheritedData(const StyleRareInheritedData&); | 213 StyleRareInheritedData(const StyleRareInheritedData&); |
214 }; | 214 }; |
215 | 215 |
216 } // namespace blink | 216 } // namespace blink |
217 | 217 |
218 #endif // StyleRareInheritedData_h | 218 #endif // StyleRareInheritedData_h |
OLD | NEW |