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

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

Issue 631153003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/svg/SVGMaskElement.h ('k') | Source/core/svg/SVGMetadataElement.h » ('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) 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 25 matching lines...) Expand all
36 #include "platform/transforms/AffineTransform.h" 36 #include "platform/transforms/AffineTransform.h"
37 #include "wtf/RefCounted.h" 37 #include "wtf/RefCounted.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class SVGTransformTearOff; 41 class SVGTransformTearOff;
42 42
43 // SVGMatrixTearOff wraps a AffineTransform for Javascript. 43 // SVGMatrixTearOff wraps a AffineTransform for Javascript.
44 // Its instance can either hold a static value, or this can be teared off from | SVGTransform.matrix|. 44 // Its instance can either hold a static value, or this can be teared off from | SVGTransform.matrix|.
45 // This does not derive from SVGPropertyTearOff, as its instances are never tied to an animated property nor an XML attribute. 45 // This does not derive from SVGPropertyTearOff, as its instances are never tied to an animated property nor an XML attribute.
46 class SVGMatrixTearOff FINAL : public RefCounted<SVGMatrixTearOff>, public Scrip tWrappable { 46 class SVGMatrixTearOff final : public RefCounted<SVGMatrixTearOff>, public Scrip tWrappable {
47 DEFINE_WRAPPERTYPEINFO(); 47 DEFINE_WRAPPERTYPEINFO();
48 public: 48 public:
49 static PassRefPtr<SVGMatrixTearOff> create(const AffineTransform& value) 49 static PassRefPtr<SVGMatrixTearOff> create(const AffineTransform& value)
50 { 50 {
51 return adoptRef(new SVGMatrixTearOff(value)); 51 return adoptRef(new SVGMatrixTearOff(value));
52 } 52 }
53 53
54 static PassRefPtr<SVGMatrixTearOff> create(SVGTransformTearOff* target) 54 static PassRefPtr<SVGMatrixTearOff> create(SVGTransformTearOff* target)
55 { 55 {
56 return adoptRef(new SVGMatrixTearOff(target)); 56 return adoptRef(new SVGMatrixTearOff(target));
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 AffineTransform m_staticValue; 98 AffineTransform m_staticValue;
99 99
100 // FIXME: oilpan: This is raw-ptr to avoid reference cycles. Should be Membe r in oilpan. 100 // FIXME: oilpan: This is raw-ptr to avoid reference cycles. Should be Membe r in oilpan.
101 SVGTransformTearOff* m_contextTransform; 101 SVGTransformTearOff* m_contextTransform;
102 }; 102 };
103 103
104 } // namespace blink 104 } // namespace blink
105 105
106 #endif // SVGMatrixTearOff_h 106 #endif // SVGMatrixTearOff_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGMaskElement.h ('k') | Source/core/svg/SVGMetadataElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698