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

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

Issue 185333004: [SVG] Refactor getIntersectionList() and getEnclosureList() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Build fix. 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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 bool isOutermostSVGSVGElement() const; 55 bool isOutermostSVGSVGElement() const;
56 56
57 virtual String title() const OVERRIDE; 57 virtual String title() const OVERRIDE;
58 bool hasRelativeLengths() const { return !m_elementsWithRelativeLengths.isEm pty(); } 58 bool hasRelativeLengths() const { return !m_elementsWithRelativeLengths.isEm pty(); }
59 virtual bool supportsMarkers() const { return false; } 59 virtual bool supportsMarkers() const { return false; }
60 PassRefPtrWillBeRawPtr<CSSValue> getPresentationAttribute(const AtomicString & name); 60 PassRefPtrWillBeRawPtr<CSSValue> getPresentationAttribute(const AtomicString & name);
61 static bool isAnimatableCSSProperty(const QualifiedName&); 61 static bool isAnimatableCSSProperty(const QualifiedName&);
62 enum CTMScope { 62 enum CTMScope {
63 NearestViewportScope, // Used by SVGGraphicsElement::getCTM() 63 NearestViewportScope, // Used by SVGGraphicsElement::getCTM()
64 ScreenScope // Used by SVGGraphicsElement::getScreenCTM() 64 ScreenScope, // Used by SVGGraphicsElement::getScreenCTM()
65 AncestorScope // Used by SVGSVGElemeng::get{Enclosure|Intersection}List( )
fs 2014/03/03 10:44:32 Nit: typo SVGSVGElemeng
65 }; 66 };
66 virtual AffineTransform localCoordinateSpaceTransform(CTMScope) const; 67 virtual AffineTransform localCoordinateSpaceTransform(CTMScope) const;
67 virtual bool needsPendingResourceHandling() const { return true; } 68 virtual bool needsPendingResourceHandling() const { return true; }
68 69
69 bool instanceUpdatesBlocked() const; 70 bool instanceUpdatesBlocked() const;
70 void setInstanceUpdatesBlocked(bool); 71 void setInstanceUpdatesBlocked(bool);
71 72
72 const AtomicString& xmlbase() const; 73 const AtomicString& xmlbase() const;
73 void setXMLbase(const AtomicString&); 74 void setXMLbase(const AtomicString&);
74 75
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 return DefaultHash<QualifiedName>::Hash::hash(key); 251 return DefaultHash<QualifiedName>::Hash::hash(key);
251 } 252 }
252 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 253 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
253 }; 254 };
254 255
255 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); 256 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement());
256 257
257 } 258 }
258 259
259 #endif 260 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698