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

Side by Side Diff: Source/core/svg/SVGAElement.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 | « no previous file | Source/core/svg/SVGAltGlyphDefElement.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) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 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) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
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 10 matching lines...) Expand all
21 21
22 #ifndef SVGAElement_h 22 #ifndef SVGAElement_h
23 #define SVGAElement_h 23 #define SVGAElement_h
24 24
25 #include "core/svg/SVGAnimatedBoolean.h" 25 #include "core/svg/SVGAnimatedBoolean.h"
26 #include "core/svg/SVGGraphicsElement.h" 26 #include "core/svg/SVGGraphicsElement.h"
27 #include "core/svg/SVGURIReference.h" 27 #include "core/svg/SVGURIReference.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 class SVGAElement FINAL : public SVGGraphicsElement, 31 class SVGAElement final : public SVGGraphicsElement,
32 public SVGURIReference { 32 public SVGURIReference {
33 DEFINE_WRAPPERTYPEINFO(); 33 DEFINE_WRAPPERTYPEINFO();
34 public: 34 public:
35 DECLARE_NODE_FACTORY(SVGAElement); 35 DECLARE_NODE_FACTORY(SVGAElement);
36 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); } 36 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); }
37 37
38 private: 38 private:
39 explicit SVGAElement(Document&); 39 explicit SVGAElement(Document&);
40 40
41 virtual String title() const OVERRIDE; 41 virtual String title() const override;
42 42
43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
44 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 44 virtual void svgAttributeChanged(const QualifiedName&) override;
45 45
46 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 46 virtual RenderObject* createRenderer(RenderStyle*) override;
47 47
48 virtual void defaultEventHandler(Event*) OVERRIDE; 48 virtual void defaultEventHandler(Event*) override;
49 49
50 virtual bool isLiveLink() const OVERRIDE { return isLink(); } 50 virtual bool isLiveLink() const override { return isLink(); }
51 51
52 virtual bool supportsFocus() const OVERRIDE; 52 virtual bool supportsFocus() const override;
53 virtual bool shouldHaveFocusAppearance() const OVERRIDE FINAL; 53 virtual bool shouldHaveFocusAppearance() const override final;
54 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERR IDE; 54 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) overr ide;
55 virtual bool isMouseFocusable() const OVERRIDE; 55 virtual bool isMouseFocusable() const override;
56 virtual bool isKeyboardFocusable() const OVERRIDE; 56 virtual bool isKeyboardFocusable() const override;
57 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 57 virtual bool isURLAttribute(const Attribute&) const override;
58 virtual bool canStartSelection() const OVERRIDE; 58 virtual bool canStartSelection() const override;
59 virtual short tabIndex() const OVERRIDE; 59 virtual short tabIndex() const override;
60 60
61 virtual bool willRespondToMouseClickEvents() OVERRIDE; 61 virtual bool willRespondToMouseClickEvents() override;
62 62
63 RefPtr<SVGAnimatedString> m_svgTarget; 63 RefPtr<SVGAnimatedString> m_svgTarget;
64 bool m_wasFocusedByMouse; 64 bool m_wasFocusedByMouse;
65 }; 65 };
66 66
67 } // namespace blink 67 } // namespace blink
68 68
69 #endif // SVGAElement_h 69 #endif // SVGAElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGAltGlyphDefElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698