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

Side by Side Diff: Source/core/css/CSSMatrix.h

Issue 47613002: Use FINAL macro for classes whose virtual destructor was removed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/bindings/v8/SerializedScriptValue.h ('k') | Source/core/css/CSSVariablesMap.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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #include "bindings/v8/ScriptWrappable.h" 29 #include "bindings/v8/ScriptWrappable.h"
30 #include "platform/transforms/TransformationMatrix.h" 30 #include "platform/transforms/TransformationMatrix.h"
31 #include "wtf/RefCounted.h" 31 #include "wtf/RefCounted.h"
32 #include "wtf/text/WTFString.h" 32 #include "wtf/text/WTFString.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 class ExceptionState; 36 class ExceptionState;
37 37
38 class CSSMatrix : public ScriptWrappable, public RefCounted<CSSMatrix> { 38 class CSSMatrix FINAL : public ScriptWrappable, public RefCounted<CSSMatrix> {
39 public: 39 public:
40 static PassRefPtr<CSSMatrix> create(const TransformationMatrix& m) 40 static PassRefPtr<CSSMatrix> create(const TransformationMatrix& m)
41 { 41 {
42 return adoptRef(new CSSMatrix(m)); 42 return adoptRef(new CSSMatrix(m));
43 } 43 }
44 static PassRefPtr<CSSMatrix> create(const String& s, ExceptionState& es) 44 static PassRefPtr<CSSMatrix> create(const String& s, ExceptionState& es)
45 { 45 {
46 return adoptRef(new CSSMatrix(s, es)); 46 return adoptRef(new CSSMatrix(s, es));
47 } 47 }
48 48
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 protected: 150 protected:
151 CSSMatrix(const TransformationMatrix&); 151 CSSMatrix(const TransformationMatrix&);
152 CSSMatrix(const String&, ExceptionState&); 152 CSSMatrix(const String&, ExceptionState&);
153 153
154 TransformationMatrix m_matrix; 154 TransformationMatrix m_matrix;
155 }; 155 };
156 156
157 } // namespace WebCore 157 } // namespace WebCore
158 158
159 #endif // CSSMatrix_h 159 #endif // CSSMatrix_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/SerializedScriptValue.h ('k') | Source/core/css/CSSVariablesMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698