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

Side by Side Diff: Source/core/rendering/style/SVGRenderStyle.h

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/rendering/RenderNamedFlowThread.cpp ('k') | Source/core/svg/SVGAnimatedAngle.cpp » ('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) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 2004, 2005 Rob Buis <buis@kde.org> 3 2004, 2005 Rob Buis <buis@kde.org>
4 Copyright (C) 2005, 2006 Apple Computer, Inc. 4 Copyright (C) 2005, 2006 Apple Computer, Inc.
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 This library is free software; you can redistribute it and/or 7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public 8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either 9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version. 10 version 2 of the License, or (at your option) any later version.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 static String initialFilterResource() { return String(); } 90 static String initialFilterResource() { return String(); }
91 static String initialMaskerResource() { return String(); } 91 static String initialMaskerResource() { return String(); }
92 static String initialMarkerStartResource() { return String(); } 92 static String initialMarkerStartResource() { return String(); }
93 static String initialMarkerMidResource() { return String(); } 93 static String initialMarkerMidResource() { return String(); }
94 static String initialMarkerEndResource() { return String(); } 94 static String initialMarkerEndResource() { return String(); }
95 static EMaskType initialMaskType() { return MT_LUMINANCE; } 95 static EMaskType initialMaskType() { return MT_LUMINANCE; }
96 96
97 static SVGLength initialBaselineShiftValue() 97 static SVGLength initialBaselineShiftValue()
98 { 98 {
99 SVGLength length; 99 SVGLength length;
100 length.newValueSpecifiedUnits(LengthTypeNumber, 0, ASSERT_NO_EXCEPTION_S TATE); 100 length.newValueSpecifiedUnits(LengthTypeNumber, 0, ASSERT_NO_EXCEPTION);
101 return length; 101 return length;
102 } 102 }
103 103
104 static SVGLength initialKerning() 104 static SVGLength initialKerning()
105 { 105 {
106 SVGLength length; 106 SVGLength length;
107 length.newValueSpecifiedUnits(LengthTypeNumber, 0, ASSERT_NO_EXCEPTION_S TATE); 107 length.newValueSpecifiedUnits(LengthTypeNumber, 0, ASSERT_NO_EXCEPTION);
108 return length; 108 return length;
109 } 109 }
110 110
111 static SVGLength initialStrokeDashOffset() 111 static SVGLength initialStrokeDashOffset()
112 { 112 {
113 SVGLength length; 113 SVGLength length;
114 length.newValueSpecifiedUnits(LengthTypeNumber, 0, ASSERT_NO_EXCEPTION_S TATE); 114 length.newValueSpecifiedUnits(LengthTypeNumber, 0, ASSERT_NO_EXCEPTION);
115 return length; 115 return length;
116 } 116 }
117 117
118 static SVGLength initialStrokeWidth() 118 static SVGLength initialStrokeWidth()
119 { 119 {
120 SVGLength length; 120 SVGLength length;
121 length.newValueSpecifiedUnits(LengthTypeNumber, 1, ASSERT_NO_EXCEPTION_S TATE); 121 length.newValueSpecifiedUnits(LengthTypeNumber, 1, ASSERT_NO_EXCEPTION);
122 return length; 122 return length;
123 } 123 }
124 124
125 // SVG CSS Property setters 125 // SVG CSS Property setters
126 void setAlignmentBaseline(EAlignmentBaseline val) { svg_noninherited_flags.f ._alignmentBaseline = val; } 126 void setAlignmentBaseline(EAlignmentBaseline val) { svg_noninherited_flags.f ._alignmentBaseline = val; }
127 void setDominantBaseline(EDominantBaseline val) { svg_noninherited_flags.f._ dominantBaseline = val; } 127 void setDominantBaseline(EDominantBaseline val) { svg_noninherited_flags.f._ dominantBaseline = val; }
128 void setBaselineShift(EBaselineShift val) { svg_noninherited_flags.f._baseli neShift = val; } 128 void setBaselineShift(EBaselineShift val) { svg_noninherited_flags.f._baseli neShift = val; }
129 void setVectorEffect(EVectorEffect val) { svg_noninherited_flags.f._vectorEf fect = val; } 129 void setVectorEffect(EVectorEffect val) { svg_noninherited_flags.f._vectorEf fect = val; }
130 void setBufferedRendering(EBufferedRendering val) { svg_noninherited_flags.f .bufferedRendering = val; } 130 void setBufferedRendering(EBufferedRendering val) { svg_noninherited_flags.f .bufferedRendering = val; }
131 void setCapStyle(LineCap val) { svg_inherited_flags._capStyle = val; } 131 void setCapStyle(LineCap val) { svg_inherited_flags._capStyle = val; }
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 svg_noninherited_flags.f._baselineShift = initialBaselineShift(); 457 svg_noninherited_flags.f._baselineShift = initialBaselineShift();
458 svg_noninherited_flags.f._vectorEffect = initialVectorEffect(); 458 svg_noninherited_flags.f._vectorEffect = initialVectorEffect();
459 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); 459 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering();
460 svg_noninherited_flags.f.maskType = initialMaskType(); 460 svg_noninherited_flags.f.maskType = initialMaskType();
461 } 461 }
462 }; 462 };
463 463
464 } // namespace WebCore 464 } // namespace WebCore
465 465
466 #endif // SVGRenderStyle_h 466 #endif // SVGRenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderNamedFlowThread.cpp ('k') | Source/core/svg/SVGAnimatedAngle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698