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

Side by Side Diff: Source/core/svg/SVGViewSpec.cpp

Issue 24469004: Amusingly deprecate the generic version of 'ExceptionState::throwDOMException'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/properties/SVGListProperty.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/properties/SVGListProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698