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

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

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google, Inc. 2 * Copyright (C) 2012 Google, Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #ifndef RenderSVGEllipse_h 27 #ifndef RenderSVGEllipse_h
28 #define RenderSVGEllipse_h 28 #define RenderSVGEllipse_h
29 29
30 #include "core/rendering/svg/RenderSVGShape.h" 30 #include "core/rendering/svg/RenderSVGShape.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class RenderSVGEllipse FINAL : public RenderSVGShape { 34 class RenderSVGEllipse final : public RenderSVGShape {
35 public: 35 public:
36 explicit RenderSVGEllipse(SVGGraphicsElement*); 36 explicit RenderSVGEllipse(SVGGraphicsElement*);
37 virtual ~RenderSVGEllipse(); 37 virtual ~RenderSVGEllipse();
38 38
39 private: 39 private:
40 virtual const char* renderName() const OVERRIDE { return "RenderSVGEllipse"; } 40 virtual const char* renderName() const override { return "RenderSVGEllipse"; }
41 41
42 virtual void updateShapeFromElement() OVERRIDE; 42 virtual void updateShapeFromElement() override;
43 virtual bool isShapeEmpty() const OVERRIDE { return m_usePathFallback ? Rend erSVGShape::isShapeEmpty() : m_fillBoundingBox.isEmpty(); } 43 virtual bool isShapeEmpty() const override { return m_usePathFallback ? Rend erSVGShape::isShapeEmpty() : m_fillBoundingBox.isEmpty(); }
44 virtual void fillShape(GraphicsContext*) const OVERRIDE; 44 virtual void fillShape(GraphicsContext*) const override;
45 virtual void strokeShape(GraphicsContext*) const OVERRIDE; 45 virtual void strokeShape(GraphicsContext*) const override;
46 virtual bool shapeDependentStrokeContains(const FloatPoint&) OVERRIDE; 46 virtual bool shapeDependentStrokeContains(const FloatPoint&) override;
47 virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) c onst OVERRIDE; 47 virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) c onst override;
48 void calculateRadiiAndCenter(); 48 void calculateRadiiAndCenter();
49 49
50 private: 50 private:
51 FloatPoint m_center; 51 FloatPoint m_center;
52 FloatSize m_radii; 52 FloatSize m_radii;
53 bool m_usePathFallback; 53 bool m_usePathFallback;
54 }; 54 };
55 55
56 } 56 }
57 57
58 #endif 58 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGContainer.h ('k') | Source/core/rendering/svg/RenderSVGForeignObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698