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

Side by Side Diff: Source/core/svg/SVGElement.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/core.gypi ('k') | Source/core/svg/SVGElement.cpp » ('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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class SVGDocumentExtensions; 42 class SVGDocumentExtensions;
43 class SVGElementRareData; 43 class SVGElementRareData;
44 class SVGFitToViewBox; 44 class SVGFitToViewBox;
45 class SVGSVGElement; 45 class SVGSVGElement;
46 46
47 void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName ToIdMap, const QualifiedName& attrName); 47 void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName ToIdMap, const QualifiedName& attrName);
48 48
49 class SVGElement : public Element { 49 class SVGElement : public Element {
50 public: 50 public:
51 virtual ~SVGElement(); 51 virtual ~SVGElement();
52 virtual void attach(const AttachContext&) OVERRIDE;
53 virtual void detach(const AttachContext&) OVERRIDE;
52 54
53 virtual short tabIndex() const OVERRIDE; 55 virtual short tabIndex() const OVERRIDE;
54 virtual bool supportsFocus() const OVERRIDE { return false; } 56 virtual bool supportsFocus() const OVERRIDE { return false; }
55 57
56 bool isOutermostSVGSVGElement() const; 58 bool isOutermostSVGSVGElement() const;
57 59
58 virtual String title() const OVERRIDE; 60 virtual String title() const OVERRIDE;
59 bool hasRelativeLengths() const { return !m_elementsWithRelativeLengths.isEm pty(); } 61 bool hasRelativeLengths() const { return !m_elementsWithRelativeLengths.isEm pty(); }
60 static bool isAnimatableCSSProperty(const QualifiedName&); 62 static bool isAnimatableCSSProperty(const QualifiedName&);
61 enum CTMScope { 63 enum CTMScope {
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 256 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
255 }; 257 };
256 258
257 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); 259 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement());
258 260
259 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re turn node.isSVGElement(); } 261 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re turn node.isSVGElement(); }
260 262
261 } 263 }
262 264
263 #endif 265 #endif
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698