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

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

Issue 203143002: Simplify EventTarget bindings generation (2) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test Created 6 years, 9 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
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/svg/SVGElementInstance.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) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2009 Apple Inc. All rights reserved.
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 #ifndef NDEBUG 129 #ifndef NDEBUG
130 virtual bool isAnimatableAttribute(const QualifiedName&) const; 130 virtual bool isAnimatableAttribute(const QualifiedName&) const;
131 #endif 131 #endif
132 132
133 MutableStylePropertySet* animatedSMILStyleProperties() const; 133 MutableStylePropertySet* animatedSMILStyleProperties() const;
134 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); 134 MutableStylePropertySet* ensureAnimatedSMILStyleProperties();
135 void setUseOverrideComputedStyle(bool); 135 void setUseOverrideComputedStyle(bool);
136 136
137 virtual bool haveLoadedRequiredResources(); 137 virtual bool haveLoadedRequiredResources();
138 138
139 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE FINAL; 139 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture = false) OVERRIDE FINAL;
140 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE FINAL; 140 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture = false) OVERRIDE FINAL;
141 141
142 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0); 142 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0);
143 143
144 bool isContextElement() const { return m_isContextElement; } 144 bool isContextElement() const { return m_isContextElement; }
145 void setContextElement() { m_isContextElement = true; } 145 void setContextElement() { m_isContextElement = true; }
146 146
147 void addToPropertyMap(PassRefPtr<NewSVGAnimatedPropertyBase>); 147 void addToPropertyMap(PassRefPtr<NewSVGAnimatedPropertyBase>);
148 148
149 SVGAnimatedString* className() { return m_className.get(); } 149 SVGAnimatedString* className() { return m_className.get(); }
150 150
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 return DefaultHash<QualifiedName>::Hash::hash(key); 226 return DefaultHash<QualifiedName>::Hash::hash(key);
227 } 227 }
228 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 228 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
229 }; 229 };
230 230
231 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); 231 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement());
232 232
233 } 233 }
234 234
235 #endif 235 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/DOMWindow.h ('k') | Source/core/svg/SVGElementInstance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698