Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: Source/core/svg/SVGElementRareData.h

Issue 272523002: Remove SVGElementInstance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address esprehns nits Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/svg/SVGElementInstance.idl ('k') | Source/core/svg/SVGUseElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstances() { return m_elementInstances; } 53 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstances() { return m_elementInstances; }
54 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstanc es() const { return m_elementInstances; } 54 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& elementInstanc es() const { return m_elementInstances; }
55 55
56 bool instanceUpdatesBlocked() const { return m_instancesUpdatesBlocked; } 56 bool instanceUpdatesBlocked() const { return m_instancesUpdatesBlocked; }
57 void setInstanceUpdatesBlocked(bool value) { m_instancesUpdatesBlocked = val ue; } 57 void setInstanceUpdatesBlocked(bool value) { m_instancesUpdatesBlocked = val ue; }
58 58
59 SVGCursorElement* cursorElement() const { return m_cursorElement; } 59 SVGCursorElement* cursorElement() const { return m_cursorElement; }
60 void setCursorElement(SVGCursorElement* cursorElement) { m_cursorElement = c ursorElement; } 60 void setCursorElement(SVGCursorElement* cursorElement) { m_cursorElement = c ursorElement; }
61 61
62 SVGElement* correspondingElement() { return m_correspondingElement; } 62 SVGElement* correspondingElement() { return m_correspondingElement.get(); }
63 void setCorrespondingElement(SVGElement* correspondingElement) { m_correspon dingElement = correspondingElement; } 63 void setCorrespondingElement(SVGElement* correspondingElement) { m_correspon dingElement = correspondingElement; }
64 64
65 CSSCursorImageValue* cursorImageValue() const { return m_cursorImageValue; } 65 CSSCursorImageValue* cursorImageValue() const { return m_cursorImageValue; }
66 void setCursorImageValue(CSSCursorImageValue* cursorImageValue) { m_cursorIm ageValue = cursorImageValue; } 66 void setCursorImageValue(CSSCursorImageValue* cursorImageValue) { m_cursorIm ageValue = cursorImageValue; }
67 67
68 MutableStylePropertySet* animatedSMILStyleProperties() const { return m_anim atedSMILStyleProperties.get(); } 68 MutableStylePropertySet* animatedSMILStyleProperties() const { return m_anim atedSMILStyleProperties.get(); }
69 MutableStylePropertySet* ensureAnimatedSMILStyleProperties() 69 MutableStylePropertySet* ensureAnimatedSMILStyleProperties()
70 { 70 {
71 if (!m_animatedSMILStyleProperties) 71 if (!m_animatedSMILStyleProperties)
72 m_animatedSMILStyleProperties = MutableStylePropertySet::create(SVGA ttributeMode); 72 m_animatedSMILStyleProperties = MutableStylePropertySet::create(SVGA ttributeMode);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 #endif 123 #endif
124 } 124 }
125 125
126 private: 126 private:
127 #if ENABLE(OILPAN) 127 #if ENABLE(OILPAN)
128 Member<SVGElement> m_owner; 128 Member<SVGElement> m_owner;
129 #endif 129 #endif
130 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances; 130 WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_elementInstances;
131 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement; 131 RawPtrWillBeWeakMember<SVGCursorElement> m_cursorElement;
132 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue; 132 RawPtrWillBeWeakMember<CSSCursorImageValue> m_cursorImageValue;
133 RawPtrWillBeMember<SVGElement> m_correspondingElement; 133 RefPtrWillBeMember<SVGElement> m_correspondingElement;
134 bool m_instancesUpdatesBlocked : 1; 134 bool m_instancesUpdatesBlocked : 1;
135 bool m_useOverrideComputedStyle : 1; 135 bool m_useOverrideComputedStyle : 1;
136 bool m_needsOverrideComputedStyleUpdate : 1; 136 bool m_needsOverrideComputedStyleUpdate : 1;
137 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties; 137 RefPtrWillBeMember<MutableStylePropertySet> m_animatedSMILStyleProperties;
138 RefPtr<RenderStyle> m_overrideComputedStyle; 138 RefPtr<RenderStyle> m_overrideComputedStyle;
139 }; 139 };
140 140
141 } 141 }
142 142
143 #endif 143 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElementInstance.idl ('k') | Source/core/svg/SVGUseElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698