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

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

Issue 251633002: Add support for DocumentFragment.getElementById() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix createElement() calls Created 6 years, 7 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/dom/shadow/ShadowRoot.h ('k') | Source/core/svg/SVGSVGElement.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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org>
4 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 static PassRefPtr<SVGPointTearOff> createSVGPoint(); 101 static PassRefPtr<SVGPointTearOff> createSVGPoint();
102 static PassRefPtr<SVGMatrixTearOff> createSVGMatrix(); 102 static PassRefPtr<SVGMatrixTearOff> createSVGMatrix();
103 static PassRefPtr<SVGRectTearOff> createSVGRect(); 103 static PassRefPtr<SVGRectTearOff> createSVGRect();
104 static PassRefPtr<SVGTransformTearOff> createSVGTransform(); 104 static PassRefPtr<SVGTransformTearOff> createSVGTransform();
105 static PassRefPtr<SVGTransformTearOff> createSVGTransformFromMatrix(PassRefP tr<SVGMatrixTearOff>); 105 static PassRefPtr<SVGTransformTearOff> createSVGTransformFromMatrix(PassRefP tr<SVGMatrixTearOff>);
106 106
107 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst; 107 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst;
108 108
109 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode) ; 109 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode) ;
110 110
111 Element* getElementById(const AtomicString&) const;
112
113 bool hasIntrinsicWidth() const; 111 bool hasIntrinsicWidth() const;
114 bool hasIntrinsicHeight() const; 112 bool hasIntrinsicHeight() const;
115 113
116 SVGAnimatedLength* x() const { return m_x.get(); } 114 SVGAnimatedLength* x() const { return m_x.get(); }
117 SVGAnimatedLength* y() const { return m_y.get(); } 115 SVGAnimatedLength* y() const { return m_y.get(); }
118 SVGAnimatedLength* width() const { return m_width.get(); } 116 SVGAnimatedLength* width() const { return m_width.get(); }
119 SVGAnimatedLength* height() const { return m_height.get(); } 117 SVGAnimatedLength* height() const { return m_height.get(); }
120 118
121 private: 119 private:
122 explicit SVGSVGElement(Document&); 120 explicit SVGSVGElement(Document&);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 RefPtr<SMILTimeContainer> m_timeContainer; 157 RefPtr<SMILTimeContainer> m_timeContainer;
160 RefPtr<SVGPoint> m_translation; 158 RefPtr<SVGPoint> m_translation;
161 RefPtr<SVGViewSpec> m_viewSpec; 159 RefPtr<SVGViewSpec> m_viewSpec;
162 160
163 friend class SVGCurrentTranslateTearOff; 161 friend class SVGCurrentTranslateTearOff;
164 }; 162 };
165 163
166 } // namespace WebCore 164 } // namespace WebCore
167 165
168 #endif 166 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/shadow/ShadowRoot.h ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698