| 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 19 matching lines...) Expand all Loading... |
| 30 #include "platform/Length.h" | 30 #include "platform/Length.h" |
| 31 #include "platform/graphics/Color.h" | 31 #include "platform/graphics/Color.h" |
| 32 #include "wtf/PassRefPtr.h" | 32 #include "wtf/PassRefPtr.h" |
| 33 #include "wtf/RefCounted.h" | 33 #include "wtf/RefCounted.h" |
| 34 #include "wtf/RefVector.h" | 34 #include "wtf/RefVector.h" |
| 35 #include "wtf/text/AtomicString.h" | 35 #include "wtf/text/AtomicString.h" |
| 36 | 36 |
| 37 namespace WebCore { | 37 namespace WebCore { |
| 38 | 38 |
| 39 class AppliedTextDecoration; | 39 class AppliedTextDecoration; |
| 40 class CursorList; | 40 class CursorData; |
| 41 class QuotesData; | 41 class QuotesData; |
| 42 class ShadowList; | 42 class ShadowList; |
| 43 class StyleImage; | 43 class StyleImage; |
| 44 | 44 |
| 45 typedef RefVector<AppliedTextDecoration> AppliedTextDecorationList; | 45 typedef RefVector<AppliedTextDecoration> AppliedTextDecorationList; |
| 46 typedef RefVector<CursorData> CursorList; |
| 46 | 47 |
| 47 // This struct is for rarely used inherited CSS3, CSS2, and WebKit-specific prop
erties. | 48 // This struct is for rarely used inherited CSS3, CSS2, and WebKit-specific prop
erties. |
| 48 // By grouping them together, we save space, and only allocate this object when
someone | 49 // By grouping them together, we save space, and only allocate this object when
someone |
| 49 // actually uses one of these properties. | 50 // actually uses one of these properties. |
| 50 class StyleRareInheritedData : public RefCounted<StyleRareInheritedData> { | 51 class StyleRareInheritedData : public RefCounted<StyleRareInheritedData> { |
| 51 public: | 52 public: |
| 52 static PassRefPtr<StyleRareInheritedData> create() { return adoptRef(new Sty
leRareInheritedData); } | 53 static PassRefPtr<StyleRareInheritedData> create() { return adoptRef(new Sty
leRareInheritedData); } |
| 53 PassRefPtr<StyleRareInheritedData> copy() const { return adoptRef(new StyleR
areInheritedData(*this)); } | 54 PassRefPtr<StyleRareInheritedData> copy() const { return adoptRef(new StyleR
areInheritedData(*this)); } |
| 54 ~StyleRareInheritedData(); | 55 ~StyleRareInheritedData(); |
| 55 | 56 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 RefPtr<AppliedTextDecorationList> appliedTextDecorations; | 148 RefPtr<AppliedTextDecorationList> appliedTextDecorations; |
| 148 | 149 |
| 149 private: | 150 private: |
| 150 StyleRareInheritedData(); | 151 StyleRareInheritedData(); |
| 151 StyleRareInheritedData(const StyleRareInheritedData&); | 152 StyleRareInheritedData(const StyleRareInheritedData&); |
| 152 }; | 153 }; |
| 153 | 154 |
| 154 } // namespace WebCore | 155 } // namespace WebCore |
| 155 | 156 |
| 156 #endif // StyleRareInheritedData_h | 157 #endif // StyleRareInheritedData_h |
| OLD | NEW |