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

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

Issue 146833003: Convert remaining RenderSVG* nodes to RenderObject::isChildAllowed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix 'switch' condition. Created 6 years, 11 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) 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual void defaultEventHandler(Event*) OVERRIDE; 47 virtual void defaultEventHandler(Event*) OVERRIDE;
48 48
49 virtual bool supportsFocus() const OVERRIDE; 49 virtual bool supportsFocus() const OVERRIDE;
50 virtual bool isMouseFocusable() const OVERRIDE; 50 virtual bool isMouseFocusable() const OVERRIDE;
51 virtual bool isKeyboardFocusable() const OVERRIDE; 51 virtual bool isKeyboardFocusable() const OVERRIDE;
52 virtual bool rendererIsFocusable() const OVERRIDE; 52 virtual bool rendererIsFocusable() const OVERRIDE;
53 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 53 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
54 54
55 virtual bool willRespondToMouseClickEvents() OVERRIDE; 55 virtual bool willRespondToMouseClickEvents() OVERRIDE;
56 56
57 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE; 57 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE { r eturn true; }
58 58
59 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAElement) 59 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAElement)
60 // This declaration used to define a non-virtual "String& target() const " method, that clashes with "virtual String Element::target() const". 60 // This declaration used to define a non-virtual "String& target() const " method, that clashes with "virtual String Element::target() const".
61 // That's why it has been renamed to "svgTarget", the CodeGenerators tak e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener ator.pm. 61 // That's why it has been renamed to "svgTarget", the CodeGenerators tak e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener ator.pm.
62 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) 62 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget)
63 DECLARE_ANIMATED_STRING(Href, href) 63 DECLARE_ANIMATED_STRING(Href, href)
64 END_DECLARE_ANIMATED_PROPERTIES 64 END_DECLARE_ANIMATED_PROPERTIES
65 }; 65 };
66 66
67 } // namespace WebCore 67 } // namespace WebCore
68 68
69 #endif // SVGAElement_h 69 #endif // SVGAElement_h
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGTransformableContainer.cpp ('k') | Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698