OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 CSSPrimitiveValue* offset() const { return m_offset.get(); } | 47 CSSPrimitiveValue* offset() const { return m_offset.get(); } |
48 CSSValue* mask() const { return m_mask.get(); } | 48 CSSValue* mask() const { return m_mask.get(); } |
49 | 49 |
50 String customCssText() const; | 50 String customCssText() const; |
51 String customSerializeResolvingVariables(const HashMap<AtomicString, String>
&) const; | 51 String customSerializeResolvingVariables(const HashMap<AtomicString, String>
&) const; |
52 | 52 |
53 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*)
const; | 53 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*)
const; |
54 | 54 |
55 bool equals(const CSSReflectValue&) const; | 55 bool equals(const CSSReflectValue&) const; |
56 | 56 |
57 void reportDescendantMemoryUsage(MemoryObjectInfo*) const; | |
58 | |
59 private: | 57 private: |
60 CSSReflectValue(PassRefPtr<CSSPrimitiveValue> direction, PassRefPtr<CSSPrimi
tiveValue> offset, PassRefPtr<CSSValue> mask) | 58 CSSReflectValue(PassRefPtr<CSSPrimitiveValue> direction, PassRefPtr<CSSPrimi
tiveValue> offset, PassRefPtr<CSSValue> mask) |
61 : CSSValue(ReflectClass) | 59 : CSSValue(ReflectClass) |
62 , m_direction(direction) | 60 , m_direction(direction) |
63 , m_offset(offset) | 61 , m_offset(offset) |
64 , m_mask(mask) | 62 , m_mask(mask) |
65 { | 63 { |
66 } | 64 } |
67 | 65 |
68 RefPtr<CSSPrimitiveValue> m_direction; | 66 RefPtr<CSSPrimitiveValue> m_direction; |
69 RefPtr<CSSPrimitiveValue> m_offset; | 67 RefPtr<CSSPrimitiveValue> m_offset; |
70 RefPtr<CSSValue> m_mask; | 68 RefPtr<CSSValue> m_mask; |
71 }; | 69 }; |
72 | 70 |
73 } // namespace WebCore | 71 } // namespace WebCore |
74 | 72 |
75 #endif // CSSReflectValue_h | 73 #endif // CSSReflectValue_h |
OLD | NEW |