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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGAngle.h

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void notifyChange() override; 62 void notifyChange() override;
63 63
64 Member<SVGAngle> m_angle; 64 Member<SVGAngle> m_angle;
65 }; 65 };
66 66
67 class SVGAngle final : public SVGPropertyHelper<SVGAngle> { 67 class SVGAngle final : public SVGPropertyHelper<SVGAngle> {
68 public: 68 public:
69 typedef SVGAngleTearOff TearOffType; 69 typedef SVGAngleTearOff TearOffType;
70 70
71 enum SVGAngleType { 71 enum SVGAngleType {
72 SVG_ANGLETYPE_UNKNOWN = 0, 72 kSvgAngletypeUnknown = 0,
73 SVG_ANGLETYPE_UNSPECIFIED = 1, 73 kSvgAngletypeUnspecified = 1,
74 SVG_ANGLETYPE_DEG = 2, 74 kSvgAngletypeDeg = 2,
75 SVG_ANGLETYPE_RAD = 3, 75 kSvgAngletypeRad = 3,
76 SVG_ANGLETYPE_GRAD = 4, 76 kSvgAngletypeGrad = 4,
77 SVG_ANGLETYPE_TURN = 5 77 kSvgAngletypeTurn = 5
78 }; 78 };
79 79
80 static SVGAngle* create() 80 static SVGAngle* create()
81 { 81 {
82 return new SVGAngle(); 82 return new SVGAngle();
83 } 83 }
84 84
85 ~SVGAngle() override; 85 ~SVGAngle() override;
86 86
87 SVGAngleType unitType() const { return m_unitType; } 87 SVGAngleType unitType() const { return m_unitType; }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 SVGAngleType m_unitType; 123 SVGAngleType m_unitType;
124 float m_valueInSpecifiedUnits; 124 float m_valueInSpecifiedUnits;
125 Member<SVGMarkerOrientEnumeration> m_orientType; 125 Member<SVGMarkerOrientEnumeration> m_orientType;
126 }; 126 };
127 127
128 DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGAngle); 128 DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGAngle);
129 129
130 } // namespace blink 130 } // namespace blink
131 131
132 #endif // SVGAngle_h 132 #endif // SVGAngle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/PatternAttributes.h ('k') | third_party/WebKit/Source/core/svg/SVGAngle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698