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

Side by Side Diff: third_party/WebKit/WebCore/svg/SVGElementInstance.h

Issue 21165: Revert the merge. Mac build is mysteriously broken. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 3
4 This file is part of the KDE project 4 This file is part of the KDE project
5 5
6 This library is free software; you can redistribute it and/or 6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public 7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either 8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version. 9 version 2 of the License, or (at your option) any later version.
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 { 48 {
49 public: 49 public:
50 SVGElementInstance(SVGUseElement*, SVGElement* originalElement); 50 SVGElementInstance(SVGUseElement*, SVGElement* originalElement);
51 virtual ~SVGElementInstance(); 51 virtual ~SVGElementInstance();
52 52
53 bool needsUpdate() const { return m_needsUpdate; } 53 bool needsUpdate() const { return m_needsUpdate; }
54 void setNeedsUpdate(bool); 54 void setNeedsUpdate(bool);
55 55
56 virtual ScriptExecutionContext* scriptExecutionContext() const; 56 virtual ScriptExecutionContext* scriptExecutionContext() const;
57 57
58 virtual Node* toNode() { return shadowTreeElement(); } 58 virtual EventTargetNode* toNode() { return shadowTreeElement(); }
59 virtual SVGElementInstance* toSVGElementInstance() { return this; } 59 virtual SVGElementInstance* toSVGElementInstance() { return this; }
60 60
61 virtual void addEventListener(const AtomicString& eventType, PassRefPtr< EventListener>, bool useCapture); 61 virtual void addEventListener(const AtomicString& eventType, PassRefPtr< EventListener>, bool useCapture);
62 virtual void removeEventListener(const AtomicString& eventType, EventLis tener*, bool useCapture); 62 virtual void removeEventListener(const AtomicString& eventType, EventLis tener*, bool useCapture);
63 virtual bool dispatchEvent(PassRefPtr<Event>, ExceptionCode&); 63 virtual bool dispatchEvent(PassRefPtr<Event>, ExceptionCode&);
64 64
65 SVGElement* correspondingElement() const { return m_element.get(); } 65 SVGElement* correspondingElement() const { return m_element.get(); }
66 SVGUseElement* correspondingUseElement() const { return m_useElement; } 66 SVGUseElement* correspondingUseElement() const { return m_useElement; }
67 SVGElement* shadowTreeElement() const { return m_shadowTreeElement.get() ; } 67 SVGElement* shadowTreeElement() const { return m_shadowTreeElement.get() ; }
68 68
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 SVGElementInstance* m_nextSibling; 202 SVGElementInstance* m_nextSibling;
203 203
204 SVGElementInstance* m_firstChild; 204 SVGElementInstance* m_firstChild;
205 SVGElementInstance* m_lastChild; 205 SVGElementInstance* m_lastChild;
206 }; 206 };
207 207
208 } // namespace WebCore 208 } // namespace WebCore
209 209
210 #endif // ENABLE(SVG) 210 #endif // ENABLE(SVG)
211 #endif 211 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/rendering/style/RenderStyle.cpp ('k') | third_party/WebKit/WebCore/wml/WMLGoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698