OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2008, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 28 matching lines...) Expand all Loading... |
39 PassRefPtr<CSSPrimitiveValue> style, | 39 PassRefPtr<CSSPrimitiveValue> style, |
40 PassRefPtr<CSSPrimitiveValue> color) | 40 PassRefPtr<CSSPrimitiveValue> color) |
41 { | 41 { |
42 return adoptRef(new ShadowValue(x, y, blur, spread, style, color)); | 42 return adoptRef(new ShadowValue(x, y, blur, spread, style, color)); |
43 } | 43 } |
44 | 44 |
45 String customCssText() const; | 45 String customCssText() const; |
46 | 46 |
47 bool equals(const ShadowValue&) const; | 47 bool equals(const ShadowValue&) const; |
48 | 48 |
49 void reportDescendantMemoryUsage(MemoryObjectInfo*) const; | |
50 | |
51 RefPtr<CSSPrimitiveValue> x; | 49 RefPtr<CSSPrimitiveValue> x; |
52 RefPtr<CSSPrimitiveValue> y; | 50 RefPtr<CSSPrimitiveValue> y; |
53 RefPtr<CSSPrimitiveValue> blur; | 51 RefPtr<CSSPrimitiveValue> blur; |
54 RefPtr<CSSPrimitiveValue> spread; | 52 RefPtr<CSSPrimitiveValue> spread; |
55 RefPtr<CSSPrimitiveValue> style; | 53 RefPtr<CSSPrimitiveValue> style; |
56 RefPtr<CSSPrimitiveValue> color; | 54 RefPtr<CSSPrimitiveValue> color; |
57 | 55 |
58 private: | 56 private: |
59 ShadowValue(PassRefPtr<CSSPrimitiveValue> x, | 57 ShadowValue(PassRefPtr<CSSPrimitiveValue> x, |
60 PassRefPtr<CSSPrimitiveValue> y, | 58 PassRefPtr<CSSPrimitiveValue> y, |
61 PassRefPtr<CSSPrimitiveValue> blur, | 59 PassRefPtr<CSSPrimitiveValue> blur, |
62 PassRefPtr<CSSPrimitiveValue> spread, | 60 PassRefPtr<CSSPrimitiveValue> spread, |
63 PassRefPtr<CSSPrimitiveValue> style, | 61 PassRefPtr<CSSPrimitiveValue> style, |
64 PassRefPtr<CSSPrimitiveValue> color); | 62 PassRefPtr<CSSPrimitiveValue> color); |
65 }; | 63 }; |
66 | 64 |
67 } // namespace | 65 } // namespace |
68 | 66 |
69 #endif | 67 #endif |
OLD | NEW |