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

Side by Side Diff: Source/core/svg/SVGTransformList.h

Issue 1212253012: Fix virtual/override/final usage in Source/core/svg/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 public: 43 public:
44 typedef SVGTransformListTearOff TearOffType; 44 typedef SVGTransformListTearOff TearOffType;
45 45
46 static PassRefPtrWillBeRawPtr<SVGTransformList> create() 46 static PassRefPtrWillBeRawPtr<SVGTransformList> create()
47 { 47 {
48 return adoptRefWillBeNoop(new SVGTransformList()); 48 return adoptRefWillBeNoop(new SVGTransformList());
49 } 49 }
50 50
51 static PassRefPtrWillBeRawPtr<SVGTransformList> create(SVGTransformType, con st String&); 51 static PassRefPtrWillBeRawPtr<SVGTransformList> create(SVGTransformType, con st String&);
52 52
53 virtual ~SVGTransformList(); 53 ~SVGTransformList() override;
54 54
55 PassRefPtrWillBeRawPtr<SVGTransform> consolidate(); 55 PassRefPtrWillBeRawPtr<SVGTransform> consolidate();
56 56
57 bool concatenate(AffineTransform& result) const; 57 bool concatenate(AffineTransform& result) const;
58 58
59 // SVGPropertyBase: 59 // SVGPropertyBase:
60 virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const Stri ng&) const override; 60 PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) con st override;
61 virtual String valueAsString() const override; 61 String valueAsString() const override;
62 void setValueAsString(const String&, ExceptionState&); 62 void setValueAsString(const String&, ExceptionState&);
63 bool parse(const UChar*& ptr, const UChar* end); 63 bool parse(const UChar*& ptr, const UChar* end);
64 bool parse(const LChar*& ptr, const LChar* end); 64 bool parse(const LChar*& ptr, const LChar* end);
65 65
66 virtual void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) overr ide; 66 void add(PassRefPtrWillBeRawPtr<SVGPropertyBase>, SVGElement*) override;
67 virtual void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> fromValue, PassRef PtrWillBeRawPtr<SVGPropertyBase> toValue, PassRefPtrWillBeRawPtr<SVGPropertyBase > toAtEndOfDurationValue, SVGElement*) override; 67 void calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> fromValue, PassRefPtrWillB eRawPtr<SVGPropertyBase> toValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEn dOfDurationValue, SVGElement*) override;
68 virtual float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*) override; 68 float calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGEleme nt*) override;
69 69
70 static AnimatedPropertyType classType() { return AnimatedTransformList; } 70 static AnimatedPropertyType classType() { return AnimatedTransformList; }
71 71
72 private: 72 private:
73 SVGTransformList(); 73 SVGTransformList();
74 74
75 template <typename CharType> 75 template <typename CharType>
76 bool parseInternal(const CharType*& ptr, const CharType* end); 76 bool parseInternal(const CharType*& ptr, const CharType* end);
77 }; 77 };
78 78
79 } // namespace blink 79 } // namespace blink
80 80
81 #endif // SVGTransformList_h 81 #endif // SVGTransformList_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698