| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2010 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2007, 2010 Rob Buis <buis@kde.org> |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 const AtomicString& SVGViewSpec::transformIdentifier() | 100 const AtomicString& SVGViewSpec::transformIdentifier() |
| 101 { | 101 { |
| 102 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGViewSpecTransformAttrib
ute", AtomicString::ConstructFromLiteral)); | 102 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGViewSpecTransformAttrib
ute", AtomicString::ConstructFromLiteral)); |
| 103 return s_identifier; | 103 return s_identifier; |
| 104 } | 104 } |
| 105 | 105 |
| 106 void SVGViewSpec::setZoomAndPan(unsigned short, ExceptionState& es) | 106 void SVGViewSpec::setZoomAndPan(unsigned short, ExceptionState& es) |
| 107 { | 107 { |
| 108 // SVGViewSpec and all of its content is read-only. | 108 // SVGViewSpec and all of its content is read-only. |
| 109 es.throwDOMException(NoModificationAllowedError); | 109 es.throwUninformativeAndGenericDOMException(NoModificationAllowedError); |
| 110 } | 110 } |
| 111 | 111 |
| 112 void SVGViewSpec::setTransformString(const String& transform) | 112 void SVGViewSpec::setTransformString(const String& transform) |
| 113 { | 113 { |
| 114 if (!m_contextElement) | 114 if (!m_contextElement) |
| 115 return; | 115 return; |
| 116 | 116 |
| 117 SVGTransformList newList; | 117 SVGTransformList newList; |
| 118 newList.parse(transform); | 118 newList.parse(transform); |
| 119 | 119 |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 const LChar* ptr = spec.characters8(); | 297 const LChar* ptr = spec.characters8(); |
| 298 const LChar* end = ptr + spec.length(); | 298 const LChar* end = ptr + spec.length(); |
| 299 return parseViewSpecInternal(ptr, end); | 299 return parseViewSpecInternal(ptr, end); |
| 300 } | 300 } |
| 301 const UChar* ptr = spec.characters16(); | 301 const UChar* ptr = spec.characters16(); |
| 302 const UChar* end = ptr + spec.length(); | 302 const UChar* end = ptr + spec.length(); |
| 303 return parseViewSpecInternal(ptr, end); | 303 return parseViewSpecInternal(ptr, end); |
| 304 } | 304 } |
| 305 | 305 |
| 306 } | 306 } |
| OLD | NEW |