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

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

Issue 1685353004: Clean up Image::computeIntrinsicDimensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits Created 4 years, 10 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 using SVGGraphicsElement::ref; 53 using SVGGraphicsElement::ref;
54 using SVGGraphicsElement::deref; 54 using SVGGraphicsElement::deref;
55 #endif 55 #endif
56 56
57 // 'SVGSVGElement' functions 57 // 'SVGSVGElement' functions
58 PassRefPtrWillBeRawPtr<SVGRectTearOff> viewport() const; 58 PassRefPtrWillBeRawPtr<SVGRectTearOff> viewport() const;
59 59
60 bool useCurrentView() const { return m_useCurrentView; } 60 bool useCurrentView() const { return m_useCurrentView; }
61 SVGViewSpec* currentView(); 61 SVGViewSpec* currentView();
62 62
63 Length intrinsicWidth() const; 63 float intrinsicWidth() const;
64 Length intrinsicHeight() const; 64 float intrinsicHeight() const;
65 FloatSize currentViewportSize() const; 65 FloatSize currentViewportSize() const;
66 FloatRect currentViewBoxRect() const; 66 FloatRect currentViewBoxRect() const;
67 67
68 float currentScale() const; 68 float currentScale() const;
69 void setCurrentScale(float scale); 69 void setCurrentScale(float scale);
70 70
71 FloatPoint currentTranslate() { return m_translation->value(); } 71 FloatPoint currentTranslate() { return m_translation->value(); }
72 void setCurrentTranslate(const FloatPoint&); 72 void setCurrentTranslate(const FloatPoint&);
73 PassRefPtrWillBeRawPtr<SVGPointTearOff> currentTranslateFromJavascript(); 73 PassRefPtrWillBeRawPtr<SVGPointTearOff> currentTranslateFromJavascript();
74 74
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; 161 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer;
162 RefPtrWillBeMember<SVGPoint> m_translation; 162 RefPtrWillBeMember<SVGPoint> m_translation;
163 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; 163 RefPtrWillBeMember<SVGViewSpec> m_viewSpec;
164 164
165 friend class SVGCurrentTranslateTearOff; 165 friend class SVGCurrentTranslateTearOff;
166 }; 166 };
167 167
168 } // namespace blink 168 } // namespace blink
169 169
170 #endif // SVGSVGElement_h 170 #endif // SVGSVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/StylePendingImage.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