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

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

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 years, 1 month 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
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGViewSpecPreserveAspectR atioAttribute", AtomicString::ConstructFromLiteral)); 95 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGViewSpecPreserveAspectR atioAttribute", AtomicString::ConstructFromLiteral));
96 return s_identifier; 96 return s_identifier;
97 } 97 }
98 98
99 const AtomicString& SVGViewSpec::transformIdentifier() 99 const AtomicString& SVGViewSpec::transformIdentifier()
100 { 100 {
101 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGViewSpecTransformAttrib ute", AtomicString::ConstructFromLiteral)); 101 DEFINE_STATIC_LOCAL(AtomicString, s_identifier, ("SVGViewSpecTransformAttrib ute", AtomicString::ConstructFromLiteral));
102 return s_identifier; 102 return s_identifier;
103 } 103 }
104 104
105 void SVGViewSpec::setZoomAndPan(unsigned short, ExceptionState& es) 105 void SVGViewSpec::setZoomAndPan(unsigned short, ExceptionState& exceptionState)
106 { 106 {
107 // SVGViewSpec and all of its content is read-only. 107 // SVGViewSpec and all of its content is read-only.
108 es.throwUninformativeAndGenericDOMException(NoModificationAllowedError); 108 exceptionState.throwUninformativeAndGenericDOMException(NoModificationAllowe dError);
109 } 109 }
110 110
111 void SVGViewSpec::setTransformString(const String& transform) 111 void SVGViewSpec::setTransformString(const String& transform)
112 { 112 {
113 if (!m_contextElement) 113 if (!m_contextElement)
114 return; 114 return;
115 115
116 SVGTransformList newList; 116 SVGTransformList newList;
117 newList.parse(transform); 117 newList.parse(transform);
118 118
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 const LChar* ptr = spec.characters8(); 296 const LChar* ptr = spec.characters8();
297 const LChar* end = ptr + spec.length(); 297 const LChar* end = ptr + spec.length();
298 return parseViewSpecInternal(ptr, end); 298 return parseViewSpecInternal(ptr, end);
299 } 299 }
300 const UChar* ptr = spec.characters16(); 300 const UChar* ptr = spec.characters16();
301 const UChar* end = ptr + spec.length(); 301 const UChar* end = ptr + spec.length();
302 return parseViewSpecInternal(ptr, end); 302 return parseViewSpecInternal(ptr, end);
303 } 303 }
304 304
305 } 305 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/properties/SVGAnimatedEnumerationPropertyTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698