OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 void setIsReadOnlyProperty() | 74 void setIsReadOnlyProperty() |
75 { | 75 { |
76 m_isReadOnlyProperty = true; | 76 m_isReadOnlyProperty = true; |
77 } | 77 } |
78 | 78 |
79 bool isImmutable() const | 79 bool isImmutable() const |
80 { | 80 { |
81 return isReadOnlyProperty() || isAnimVal(); | 81 return isReadOnlyProperty() || isAnimVal(); |
82 } | 82 } |
83 | 83 |
84 void commitChange(); | 84 virtual void commitChange(); |
haraken
2014/01/17 11:50:18
Add OVERRIDE.
kouhei (in TOK)
2014/01/20 01:10:26
No this is the base class. Added OVERRIDE to SVGCu
| |
85 | 85 |
86 SVGElement* contextElement() | 86 SVGElement* contextElement() |
87 { | 87 { |
88 return m_contextElement; | 88 return m_contextElement; |
89 } | 89 } |
90 | 90 |
91 const QualifiedName& attributeName() | 91 const QualifiedName& attributeName() |
92 { | 92 { |
93 return m_attributeName; | 93 return m_attributeName; |
94 } | 94 } |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
141 ASSERT(m_target); | 141 ASSERT(m_target); |
142 } | 142 } |
143 | 143 |
144 private: | 144 private: |
145 RefPtr<Property> m_target; | 145 RefPtr<Property> m_target; |
146 }; | 146 }; |
147 | 147 |
148 } | 148 } |
149 | 149 |
150 #endif // NewSVGPropertyTearOff_h | 150 #endif // NewSVGPropertyTearOff_h |
OLD | NEW |