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

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

Issue 145333003: Convert remaining RenderSVG* nodes to RenderObject::isChildAllowed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void defaultEventHandler(Event*) OVERRIDE; 49 virtual void defaultEventHandler(Event*) OVERRIDE;
50 50
51 virtual bool supportsFocus() const OVERRIDE; 51 virtual bool supportsFocus() const OVERRIDE;
52 virtual bool isMouseFocusable() const OVERRIDE; 52 virtual bool isMouseFocusable() const OVERRIDE;
53 virtual bool isKeyboardFocusable() const OVERRIDE; 53 virtual bool isKeyboardFocusable() const OVERRIDE;
54 virtual bool rendererIsFocusable() const OVERRIDE; 54 virtual bool rendererIsFocusable() const OVERRIDE;
55 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 55 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
56 56
57 virtual bool willRespondToMouseClickEvents() OVERRIDE; 57 virtual bool willRespondToMouseClickEvents() OVERRIDE;
58 58
59 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE; 59 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE { r eturn true; }
rwlbuis 2014/02/06 18:53:20 I don't think you need this override since SVGElem
fs 2014/02/07 08:17:59 Done.
60 60
61 RefPtr<SVGAnimatedString> m_svgTarget; 61 RefPtr<SVGAnimatedString> m_svgTarget;
62 RefPtr<SVGAnimatedString> m_href; 62 RefPtr<SVGAnimatedString> m_href;
63 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAElement) 63 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAElement)
64 // This declaration used to define a non-virtual "String& target() const " method, that clashes with "virtual String Element::target() const". 64 // This declaration used to define a non-virtual "String& target() const " method, that clashes with "virtual String Element::target() const".
65 // That's why it has been renamed to "svgTarget", the CodeGenerators tak e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener ator.pm. 65 // That's why it has been renamed to "svgTarget", the CodeGenerators tak e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener ator.pm.
66 END_DECLARE_ANIMATED_PROPERTIES 66 END_DECLARE_ANIMATED_PROPERTIES
67 }; 67 };
68 68
69 } // namespace WebCore 69 } // namespace WebCore
70 70
71 #endif // SVGAElement_h 71 #endif // SVGAElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698