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

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

Issue 2323653002: Remove SVGSVGElement.viewport attribute (Closed)
Patch Set: removed ::viewport() Created 4 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
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 class SVGSVGElement final : public SVGGraphicsElement, 44 class SVGSVGElement final : public SVGGraphicsElement,
45 public SVGFitToViewBox, 45 public SVGFitToViewBox,
46 public SVGZoomAndPan { 46 public SVGZoomAndPan {
47 DEFINE_WRAPPERTYPEINFO(); 47 DEFINE_WRAPPERTYPEINFO();
48 USING_GARBAGE_COLLECTED_MIXIN(SVGSVGElement); 48 USING_GARBAGE_COLLECTED_MIXIN(SVGSVGElement);
49 public: 49 public:
50 DECLARE_NODE_FACTORY(SVGSVGElement); 50 DECLARE_NODE_FACTORY(SVGSVGElement);
51 51
52 // 'SVGSVGElement' functions 52 // 'SVGSVGElement' functions
53 SVGRectTearOff* viewport() const;
54 53
fs 2016/09/08 10:15:38 Nit: Drop this blank line as well.
Shanmuga Pandi 2016/09/08 14:17:19 Done.
55 bool useCurrentView() const { return m_useCurrentView; } 54 bool useCurrentView() const { return m_useCurrentView; }
56 SVGViewSpec* currentView(); 55 SVGViewSpec* currentView();
57 56
58 float intrinsicWidth() const; 57 float intrinsicWidth() const;
59 float intrinsicHeight() const; 58 float intrinsicHeight() const;
60 FloatSize currentViewportSize() const; 59 FloatSize currentViewportSize() const;
61 FloatRect currentViewBoxRect() const; 60 FloatRect currentViewBoxRect() const;
62 SVGPreserveAspectRatio* currentPreserveAspectRatio() const; 61 SVGPreserveAspectRatio* currentPreserveAspectRatio() const;
63 62
64 float currentScale() const; 63 float currentScale() const;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 Member<SVGPoint> m_translation; 158 Member<SVGPoint> m_translation;
160 Member<SVGViewSpec> m_viewSpec; 159 Member<SVGViewSpec> m_viewSpec;
161 float m_currentScale; 160 float m_currentScale;
162 161
163 friend class SVGCurrentTranslateTearOff; 162 friend class SVGCurrentTranslateTearOff;
164 }; 163 };
165 164
166 } // namespace blink 165 } // namespace blink
167 166
168 #endif // SVGSVGElement_h 167 #endif // SVGSVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698