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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGRect.cpp

Issue 2390773004: reflow comments in core/svg/ (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2007 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 toAtEndOfDurationRect->width(), animatedWidth); 122 toAtEndOfDurationRect->width(), animatedWidth);
123 animationElement->animateAdditiveNumber( 123 animationElement->animateAdditiveNumber(
124 percentage, repeatCount, fromRect->height(), toRect->height(), 124 percentage, repeatCount, fromRect->height(), toRect->height(),
125 toAtEndOfDurationRect->height(), animatedHeight); 125 toAtEndOfDurationRect->height(), animatedHeight);
126 126
127 m_value = FloatRect(animatedX, animatedY, animatedWidth, animatedHeight); 127 m_value = FloatRect(animatedX, animatedY, animatedWidth, animatedHeight);
128 } 128 }
129 129
130 float SVGRect::calculateDistance(SVGPropertyBase* to, 130 float SVGRect::calculateDistance(SVGPropertyBase* to,
131 SVGElement* contextElement) { 131 SVGElement* contextElement) {
132 // FIXME: Distance calculation is not possible for SVGRect right now. We need the distance for every single value. 132 // FIXME: Distance calculation is not possible for SVGRect right now. We need
133 // the distance for every single value.
133 return -1; 134 return -1;
134 } 135 }
135 136
136 void SVGRect::setInvalid() { 137 void SVGRect::setInvalid() {
137 m_value = FloatRect(0.0f, 0.0f, 0.0f, 0.0f); 138 m_value = FloatRect(0.0f, 0.0f, 0.0f, 0.0f);
138 m_isValid = false; 139 m_isValid = false;
139 } 140 }
140 141
141 } // namespace blink 142 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGRadialGradientElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698