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

Side by Side Diff: Source/core/rendering/svg/RenderSVGText.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) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 15 matching lines...) Expand all
26 #include "AffineTransform.h" 26 #include "AffineTransform.h"
27 #include "RenderSVGBlock.h" 27 #include "RenderSVGBlock.h"
28 #include "SVGTextLayoutAttributesBuilder.h" 28 #include "SVGTextLayoutAttributesBuilder.h"
29 29
30 namespace WebCore { 30 namespace WebCore {
31 31
32 class RenderSVGInlineText; 32 class RenderSVGInlineText;
33 class SVGTextElement; 33 class SVGTextElement;
34 class RenderSVGInlineText; 34 class RenderSVGInlineText;
35 35
36 class RenderSVGText : public RenderSVGBlock { 36 class RenderSVGText FINAL : public RenderSVGBlock {
37 public: 37 public:
38 RenderSVGText(SVGTextElement*); 38 RenderSVGText(SVGTextElement*);
39 virtual ~RenderSVGText(); 39 virtual ~RenderSVGText();
40 40
41 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const; 41 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const;
42 42
43 void setNeedsPositioningValuesUpdate() { m_needsPositioningValuesUpdate = tr ue; } 43 void setNeedsPositioningValuesUpdate() { m_needsPositioningValuesUpdate = tr ue; }
44 virtual void setNeedsTransformUpdate() { m_needsTransformUpdate = true; } 44 virtual void setNeedsTransformUpdate() { m_needsTransformUpdate = true; }
45 void setNeedsTextMetricsUpdate() { m_needsTextMetricsUpdate = true; } 45 void setNeedsTextMetricsUpdate() { m_needsTextMetricsUpdate = true; }
46 virtual FloatRect repaintRectInLocalCoordinates() const; 46 virtual FloatRect repaintRectInLocalCoordinates() const;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 return static_cast<const RenderSVGText*>(object); 114 return static_cast<const RenderSVGText*>(object);
115 } 115 }
116 116
117 // This will catch anyone doing an unnecessary cast. 117 // This will catch anyone doing an unnecessary cast.
118 void toRenderSVGText(const RenderSVGText*); 118 void toRenderSVGText(const RenderSVGText*);
119 119
120 } 120 }
121 121
122 #endif // ENABLE(SVG) 122 #endif // ENABLE(SVG)
123 #endif 123 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGTSpan.h ('k') | Source/core/rendering/svg/RenderSVGTextPath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698