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

Side by Side Diff: Source/core/svg/properties/SVGAnimatedProperty.h

Issue 1111173002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Incorporating Review Comments Created 5 years, 7 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
« no previous file with comments | « Source/core/plugins/PluginView.h ('k') | Source/core/testing/Internals.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) 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 G* * Redistributions in binary form must reproduce the above 10 G* * Redistributions in binary form must reproduce the above
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 // SVGAnimated* DOM Spec implementations: 206 // SVGAnimated* DOM Spec implementations:
207 207
208 // baseVal()/setBaseVal()/animVal() are only to be used from SVG DOM impleme ntation. 208 // baseVal()/setBaseVal()/animVal() are only to be used from SVG DOM impleme ntation.
209 // Use currentValue() from C++ code. 209 // Use currentValue() from C++ code.
210 PrimitiveType baseVal() 210 PrimitiveType baseVal()
211 { 211 {
212 return this->baseValue()->value(); 212 return this->baseValue()->value();
213 } 213 }
214 214
215 void setBaseVal(PrimitiveType value, blink::ExceptionState& exceptionState) 215 void setBaseVal(PrimitiveType value, ExceptionState& exceptionState)
216 { 216 {
217 if (this->isReadOnly()) { 217 if (this->isReadOnly()) {
218 exceptionState.throwDOMException(NoModificationAllowedError, "The at tribute is read-only."); 218 exceptionState.throwDOMException(NoModificationAllowedError, "The at tribute is read-only.");
219 return; 219 return;
220 } 220 }
221 221
222 this->baseValue()->setValue(value); 222 this->baseValue()->setValue(value);
223 m_baseValueUpdated = true; 223 m_baseValueUpdated = true;
224 224
225 ASSERT(this->attributeName() != QualifiedName::null()); 225 ASSERT(this->attributeName() != QualifiedName::null());
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // When animated: 321 // When animated:
322 // m_animValTearOff targets m_currentValue. 322 // m_animValTearOff targets m_currentValue.
323 // m_baseValTearOff targets m_baseValue. 323 // m_baseValTearOff targets m_baseValue.
324 RefPtrWillBeMember<TearOffType> m_baseValTearOff; 324 RefPtrWillBeMember<TearOffType> m_baseValTearOff;
325 RefPtrWillBeMember<TearOffType> m_animValTearOff; 325 RefPtrWillBeMember<TearOffType> m_animValTearOff;
326 }; 326 };
327 327
328 } // namespace blink 328 } // namespace blink
329 329
330 #endif // SVGAnimatedProperty_h 330 #endif // SVGAnimatedProperty_h
OLDNEW
« no previous file with comments | « Source/core/plugins/PluginView.h ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698