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

Side by Side Diff: Source/core/rendering/svg/RenderSVGPath.h

Issue 14383002: Apply FINAL to the RenderObject hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase, add OVERRIDEs. Created 7 years, 8 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) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2006 Apple Computer, Inc 5 * Copyright (C) 2006 Apple Computer, Inc
6 * Copyright (C) 2009 Google, Inc. 6 * Copyright (C) 2009 Google, Inc.
7 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> 7 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org>
8 * Copyright (C) 2011 University of Szeged 8 * Copyright (C) 2011 University of Szeged
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef RenderSVGPath_h 26 #ifndef RenderSVGPath_h
27 #define RenderSVGPath_h 27 #define RenderSVGPath_h
28 28
29 #if ENABLE(SVG) 29 #if ENABLE(SVG)
30 #include "RenderSVGShape.h" 30 #include "RenderSVGShape.h"
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class RenderSVGPath : public RenderSVGShape { 34 class RenderSVGPath FINAL : public RenderSVGShape {
35 public: 35 public:
36 explicit RenderSVGPath(SVGStyledTransformableElement*); 36 explicit RenderSVGPath(SVGStyledTransformableElement*);
37 virtual ~RenderSVGPath(); 37 virtual ~RenderSVGPath();
38 38
39 private: 39 private:
40 virtual bool isSVGPath() const OVERRIDE { return true; } 40 virtual bool isSVGPath() const OVERRIDE { return true; }
41 virtual const char* renderName() const { return "RenderSVGPath"; } 41 virtual const char* renderName() const { return "RenderSVGPath"; }
42 42
43 virtual void updateShapeFromElement() OVERRIDE; 43 virtual void updateShapeFromElement() OVERRIDE;
44 FloatRect calculateUpdatedStrokeBoundingBox() const; 44 FloatRect calculateUpdatedStrokeBoundingBox() const;
(...skipping 12 matching lines...) Expand all
57 inline RenderSVGPath* toRenderSVGPath(RenderObject* object) 57 inline RenderSVGPath* toRenderSVGPath(RenderObject* object)
58 { 58 {
59 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isSVGPath()); 59 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isSVGPath());
60 return static_cast<RenderSVGPath*>(object); 60 return static_cast<RenderSVGPath*>(object);
61 } 61 }
62 62
63 } 63 }
64 64
65 #endif // ENABLE(SVG) 65 #endif // ENABLE(SVG)
66 #endif 66 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGModelObject.h ('k') | Source/core/rendering/svg/RenderSVGRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698