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

Side by Side Diff: Source/core/svg/SVGAElement.h

Issue 1212253012: Fix virtual/override/final usage in Source/core/svg/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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, 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 24 matching lines...) Expand all
35 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGAElement); 35 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGAElement);
36 public: 36 public:
37 DECLARE_NODE_FACTORY(SVGAElement); 37 DECLARE_NODE_FACTORY(SVGAElement);
38 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); } 38 SVGAnimatedString* svgTarget() { return m_svgTarget.get(); }
39 39
40 DECLARE_VIRTUAL_TRACE(); 40 DECLARE_VIRTUAL_TRACE();
41 41
42 private: 42 private:
43 explicit SVGAElement(Document&); 43 explicit SVGAElement(Document&);
44 44
45 virtual String title() const override; 45 String title() const override;
46 46
47 virtual void svgAttributeChanged(const QualifiedName&) override; 47 void svgAttributeChanged(const QualifiedName&) override;
48 48
49 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; 49 LayoutObject* createLayoutObject(const ComputedStyle&) override;
50 50
51 virtual void defaultEventHandler(Event*) override; 51 void defaultEventHandler(Event*) override;
52 52
53 virtual bool isLiveLink() const override { return isLink(); } 53 bool isLiveLink() const override { return isLink(); }
54 54
55 virtual bool supportsFocus() const override; 55 bool supportsFocus() const override;
56 virtual bool shouldHaveFocusAppearance() const override final; 56 bool shouldHaveFocusAppearance() const final;
57 virtual void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType) ov erride; 57 void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType) override;
58 virtual void dispatchBlurEvent(Element* newFocusedElement, WebFocusType) ove rride; 58 void dispatchBlurEvent(Element* newFocusedElement, WebFocusType) override;
59 virtual bool isMouseFocusable() const override; 59 bool isMouseFocusable() const override;
60 virtual bool isKeyboardFocusable() const override; 60 bool isKeyboardFocusable() const override;
61 virtual bool isURLAttribute(const Attribute&) const override; 61 bool isURLAttribute(const Attribute&) const override;
62 virtual bool canStartSelection() const override; 62 bool canStartSelection() const override;
63 virtual short tabIndex() const override; 63 short tabIndex() const override;
64 64
65 virtual bool willRespondToMouseClickEvents() override; 65 bool willRespondToMouseClickEvents() override;
66 66
67 RefPtrWillBeMember<SVGAnimatedString> m_svgTarget; 67 RefPtrWillBeMember<SVGAnimatedString> m_svgTarget;
68 bool m_wasFocusedByMouse; 68 bool m_wasFocusedByMouse;
69 }; 69 };
70 70
71 } // namespace blink 71 } // namespace blink
72 72
73 #endif // SVGAElement_h 73 #endif // SVGAElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGAngle.h » ('j') | Source/core/svg/SVGPathSegLinetoHorizontalAbs.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698