Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007, 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 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 | 31 |
| 32 class RenderObject; | 32 class RenderObject; |
| 33 | 33 |
| 34 class SVGClipPathElement FINAL : public SVGGraphicsElement { | 34 class SVGClipPathElement FINAL : public SVGGraphicsElement { |
| 35 public: | 35 public: |
| 36 DECLARE_NODE_FACTORY(SVGClipPathElement); | 36 DECLARE_NODE_FACTORY(SVGClipPathElement); |
| 37 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* clipPathUnits() { return m_clipPathUnits.get(); } | 37 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* clipPathUnits() { return m_clipPathUnits.get(); } |
| 38 | 38 |
| 39 virtual bool supportsFocus() const OVERRIDE { return false; } | 39 virtual bool supportsFocus() const OVERRIDE { return false; } |
| 40 | 40 |
| 41 void addClient(Node*); | |
| 42 void removeClient(Node*); | |
| 43 | |
| 41 private: | 44 private: |
| 42 explicit SVGClipPathElement(Document&); | 45 explicit SVGClipPathElement(Document&); |
| 43 | 46 |
| 44 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; } | 47 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; } |
| 45 | 48 |
| 46 bool isSupportedAttribute(const QualifiedName&); | 49 bool isSupportedAttribute(const QualifiedName&); |
| 47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; | 50 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; |
| 48 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 51 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
| 49 virtual void childrenChanged(const ChildrenChange&) OVERRIDE; | 52 virtual void childrenChanged(const ChildrenChange&) OVERRIDE; |
| 50 | 53 |
| 51 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 54 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
| 52 | 55 |
| 53 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_clipPathUnits; | 56 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_clipPathUnits; |
| 57 | |
| 58 WillBeHeapHashSet<RefPtrWillBeMember<Node> > m_clientsToAdd; | |
|
pdr.
2014/08/04 17:06:32
You will need to add the trace(Visitor*) function
f(malita)
2014/08/05 14:13:08
Since this class hasn't been converted yet, we cou
| |
| 54 }; | 59 }; |
| 55 | 60 |
| 56 } | 61 } |
| 57 | 62 |
| 58 #endif | 63 #endif |
| OLD | NEW |