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

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

Issue 986603002: Move "zoomAndPan enabled" logic from SVGDocumentExtensions to SVGSVGElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/SVGDocumentExtensions.cpp ('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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 static PassRefPtrWillBeRawPtr<SVGAngleTearOff> createSVGAngle(); 103 static PassRefPtrWillBeRawPtr<SVGAngleTearOff> createSVGAngle();
104 static PassRefPtrWillBeRawPtr<SVGPointTearOff> createSVGPoint(); 104 static PassRefPtrWillBeRawPtr<SVGPointTearOff> createSVGPoint();
105 static PassRefPtrWillBeRawPtr<SVGMatrixTearOff> createSVGMatrix(); 105 static PassRefPtrWillBeRawPtr<SVGMatrixTearOff> createSVGMatrix();
106 static PassRefPtrWillBeRawPtr<SVGRectTearOff> createSVGRect(); 106 static PassRefPtrWillBeRawPtr<SVGRectTearOff> createSVGRect();
107 static PassRefPtrWillBeRawPtr<SVGTransformTearOff> createSVGTransform(); 107 static PassRefPtrWillBeRawPtr<SVGTransformTearOff> createSVGTransform();
108 static PassRefPtrWillBeRawPtr<SVGTransformTearOff> createSVGTransformFromMat rix(PassRefPtrWillBeRawPtr<SVGMatrixTearOff>); 108 static PassRefPtrWillBeRawPtr<SVGTransformTearOff> createSVGTransformFromMat rix(PassRefPtrWillBeRawPtr<SVGMatrixTearOff>);
109 109
110 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst; 110 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst;
111 111
112 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode) ; 112 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode) ;
113 bool zoomAndPanEnabled() const;
113 114
114 bool hasIntrinsicWidth() const; 115 bool hasIntrinsicWidth() const;
115 bool hasIntrinsicHeight() const; 116 bool hasIntrinsicHeight() const;
116 117
117 SVGAnimatedLength* x() const { return m_x.get(); } 118 SVGAnimatedLength* x() const { return m_x.get(); }
118 SVGAnimatedLength* y() const { return m_y.get(); } 119 SVGAnimatedLength* y() const { return m_y.get(); }
119 SVGAnimatedLength* width() const { return m_width.get(); } 120 SVGAnimatedLength* width() const { return m_width.get(); }
120 SVGAnimatedLength* height() const { return m_height.get(); } 121 SVGAnimatedLength* height() const { return m_height.get(); }
121 122
122 DECLARE_VIRTUAL_TRACE(); 123 DECLARE_VIRTUAL_TRACE();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; 166 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer;
166 RefPtrWillBeMember<SVGPoint> m_translation; 167 RefPtrWillBeMember<SVGPoint> m_translation;
167 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; 168 RefPtrWillBeMember<SVGViewSpec> m_viewSpec;
168 169
169 friend class SVGCurrentTranslateTearOff; 170 friend class SVGCurrentTranslateTearOff;
170 }; 171 };
171 172
172 } // namespace blink 173 } // namespace blink
173 174
174 #endif // SVGSVGElement_h 175 #endif // SVGSVGElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGDocumentExtensions.cpp ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698