| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2007, 2009 Apple Inc. All rights reserved. |
| 3 * (C) 2005 Rob Buis <buis@kde.org> | 3 * (C) 2005 Rob Buis <buis@kde.org> |
| 4 * (C) 2006 Alexander Kellett <lypanov@kde.org> | 4 * (C) 2006 Alexander Kellett <lypanov@kde.org> |
| 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 SVGEnumerationStringEntries::const_iterator itEnd = entries.end(); | 165 SVGEnumerationStringEntries::const_iterator itEnd = entries.end(); |
| 166 for (; it != itEnd; ++it) { | 166 for (; it != itEnd; ++it) { |
| 167 if (value == it->first) | 167 if (value == it->first) |
| 168 return it->second; | 168 return it->second; |
| 169 } | 169 } |
| 170 | 170 |
| 171 ASSERT_NOT_REACHED(); | 171 ASSERT_NOT_REACHED(); |
| 172 return String(); | 172 return String(); |
| 173 } | 173 } |
| 174 | 174 |
| 175 } | 175 } // namespace |
| 176 | 176 |
| 177 static TextStream& operator<<(TextStream& ts, const SVGUnitTypes::SVGUnitType& u
nitType) | 177 static TextStream& operator<<(TextStream& ts, const SVGUnitTypes::SVGUnitType& u
nitType) |
| 178 { | 178 { |
| 179 ts << SVGEnumerationToString<SVGUnitTypes::SVGUnitType>(unitType); | 179 ts << SVGEnumerationToString<SVGUnitTypes::SVGUnitType>(unitType); |
| 180 return ts; | 180 return ts; |
| 181 } | 181 } |
| 182 | 182 |
| 183 static TextStream& operator<<(TextStream& ts, const SVGMarkerUnitsType& markerUn
it) | 183 static TextStream& operator<<(TextStream& ts, const SVGMarkerUnitsType& markerUn
it) |
| 184 { | 184 { |
| 185 ts << SVGEnumerationToString<SVGMarkerUnitsType>(markerUnit); | 185 ts << SVGEnumerationToString<SVGMarkerUnitsType>(markerUnit); |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 ts << " "; | 665 ts << " "; |
| 666 writeNameAndQuotedValue(ts, "filter", svgStyle.filterResource()); | 666 writeNameAndQuotedValue(ts, "filter", svgStyle.filterResource()); |
| 667 ts << " "; | 667 ts << " "; |
| 668 writeStandardPrefix(ts, *filter, 0); | 668 writeStandardPrefix(ts, *filter, 0); |
| 669 ts << " " << filter->resourceBoundingBox(&layoutObject) << "\n"; | 669 ts << " " << filter->resourceBoundingBox(&layoutObject) << "\n"; |
| 670 } | 670 } |
| 671 } | 671 } |
| 672 } | 672 } |
| 673 | 673 |
| 674 } // namespace blink | 674 } // namespace blink |
| OLD | NEW |