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

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

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another Android build fix 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
« no previous file with comments | « Source/core/svg/SVGAltGlyphDefElement.cpp ('k') | Source/core/svg/SVGAltGlyphElement.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, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 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) 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008 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 17 matching lines...) Expand all
28 #include "wtf/Vector.h" 28 #include "wtf/Vector.h"
29 29
30 namespace WebCore { 30 namespace WebCore {
31 31
32 class ExceptionState; 32 class ExceptionState;
33 class SVGGlyphElement; 33 class SVGGlyphElement;
34 34
35 class SVGAltGlyphElement FINAL : public SVGTextPositioningElement, 35 class SVGAltGlyphElement FINAL : public SVGTextPositioningElement,
36 public SVGURIReference { 36 public SVGURIReference {
37 public: 37 public:
38 static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document* ); 38 static PassRefPtr<SVGAltGlyphElement> create(const QualifiedName&, Document& );
39 39
40 const AtomicString& glyphRef() const; 40 const AtomicString& glyphRef() const;
41 void setGlyphRef(const AtomicString&, ExceptionState&); 41 void setGlyphRef(const AtomicString&, ExceptionState&);
42 const AtomicString& format() const; 42 const AtomicString& format() const;
43 void setFormat(const AtomicString&, ExceptionState&); 43 void setFormat(const AtomicString&, ExceptionState&);
44 44
45 bool hasValidGlyphElements(Vector<String>& glyphNames) const; 45 bool hasValidGlyphElements(Vector<String>& glyphNames) const;
46 46
47 private: 47 private:
48 SVGAltGlyphElement(const QualifiedName&, Document*); 48 SVGAltGlyphElement(const QualifiedName&, Document&);
49 49
50 virtual RenderObject* createRenderer(RenderStyle*); 50 virtual RenderObject* createRenderer(RenderStyle*);
51 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; 51 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const;
52 52
53 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAltGlyphElement) 53 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAltGlyphElement)
54 DECLARE_ANIMATED_STRING(Href, href) 54 DECLARE_ANIMATED_STRING(Href, href)
55 END_DECLARE_ANIMATED_PROPERTIES 55 END_DECLARE_ANIMATED_PROPERTIES
56 }; 56 };
57 57
58 } // namespace WebCore 58 } // namespace WebCore
59 59
60 #endif 60 #endif
61 #endif 61 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAltGlyphDefElement.cpp ('k') | Source/core/svg/SVGAltGlyphElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698