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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGElementRareData.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CORE_EXPORT Created 5 years, 1 month 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/svg/SVGElementRareData.h" 6 #include "core/svg/SVGElementRareData.h"
7 7
8 #include "core/css/CSSCursorImageValue.h" 8 #include "core/css/CSSCursorImageValue.h"
9 #include "core/css/resolver/StyleResolver.h" 9 #include "core/css/resolver/StyleResolver.h"
10 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
11 #include "core/svg/SVGCursorElement.h" 11 #include "core/svg/SVGCursorElement.h"
12 #include "platform/transforms/AffineTransform.h" 12 #include "platform/transforms/AffineTransform.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 SVGCursorElement* SVGElementRareData::cursorElement() const
17 {
18 return m_cursorElement;
19 }
20
21 void SVGElementRareData::setCursorElement(SVGCursorElement* cursorElement)
22 {
23 m_cursorElement = cursorElement;
24 }
25
26 CSSCursorImageValue* SVGElementRareData::cursorImageValue() const
27 {
28 return m_cursorImageValue;
29 }
30
31 void SVGElementRareData::setCursorImageValue(CSSCursorImageValue* cursorImageVal ue)
32 {
33 m_cursorImageValue = cursorImageValue;
34 }
35
16 MutableStylePropertySet* SVGElementRareData::ensureAnimatedSMILStyleProperties() 36 MutableStylePropertySet* SVGElementRareData::ensureAnimatedSMILStyleProperties()
17 { 37 {
18 if (!m_animatedSMILStyleProperties) 38 if (!m_animatedSMILStyleProperties)
19 m_animatedSMILStyleProperties = MutableStylePropertySet::create(SVGAttri buteMode); 39 m_animatedSMILStyleProperties = MutableStylePropertySet::create(SVGAttri buteMode);
20 return m_animatedSMILStyleProperties.get(); 40 return m_animatedSMILStyleProperties.get();
21 } 41 }
22 42
23 ComputedStyle* SVGElementRareData::overrideComputedStyle(Element* element, const ComputedStyle* parentStyle) 43 ComputedStyle* SVGElementRareData::overrideComputedStyle(Element* element, const ComputedStyle* parentStyle)
24 { 44 {
25 ASSERT(element); 45 ASSERT(element);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 89 }
70 90
71 AffineTransform* SVGElementRareData::animateMotionTransform() 91 AffineTransform* SVGElementRareData::animateMotionTransform()
72 { 92 {
73 if (!m_animateMotionTransform) 93 if (!m_animateMotionTransform)
74 m_animateMotionTransform = adoptPtr(new AffineTransform); 94 m_animateMotionTransform = adoptPtr(new AffineTransform);
75 return m_animateMotionTransform.get(); 95 return m_animateMotionTransform.get();
76 } 96 }
77 97
78 } 98 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElementRareData.h ('k') | third_party/WebKit/Source/core/svg/SVGSVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698