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

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

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests build Created 7 years, 3 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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2008 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 14 matching lines...) Expand all
25 25
26 #include "core/svg/SVGAnimateElement.h" 26 #include "core/svg/SVGAnimateElement.h"
27 #include "core/svg/SVGTransform.h" 27 #include "core/svg/SVGTransform.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 class AffineTransform; 31 class AffineTransform;
32 32
33 class SVGAnimateTransformElement FINAL : public SVGAnimateElement { 33 class SVGAnimateTransformElement FINAL : public SVGAnimateElement {
34 public: 34 public:
35 static PassRefPtr<SVGAnimateTransformElement> create(const QualifiedName&, D ocument*); 35 static PassRefPtr<SVGAnimateTransformElement> create(const QualifiedName&, D ocument&);
36 36
37 SVGTransform::SVGTransformType transformType() const { return m_type; } 37 SVGTransform::SVGTransformType transformType() const { return m_type; }
38 38
39 private: 39 private:
40 SVGAnimateTransformElement(const QualifiedName&, Document*); 40 SVGAnimateTransformElement(const QualifiedName&, Document&);
41 41
42 virtual bool hasValidAttributeType(); 42 virtual bool hasValidAttributeType();
43 43
44 bool isSupportedAttribute(const QualifiedName&); 44 bool isSupportedAttribute(const QualifiedName&);
45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
46 46
47 SVGTransform::SVGTransformType m_type; 47 SVGTransform::SVGTransformType m_type;
48 }; 48 };
49 49
50 } // namespace WebCore 50 } // namespace WebCore
51 51
52 #endif // SVGAnimateTransformElement_h 52 #endif // SVGAnimateTransformElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698