diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGSwitchElement.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/svg/SVGSwitchElement.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGSwitchElement.h b/chromium/third_party/WebKit/Source/core/svg/SVGSwitchElement.h index 48312ea530b..adb7281ee68 100644 --- a/chromium/third_party/WebKit/Source/core/svg/SVGSwitchElement.h +++ b/chromium/third_party/WebKit/Source/core/svg/SVGSwitchElement.h @@ -22,29 +22,19 @@ #define SVGSwitchElement_h #include "core/svg/SVGAnimatedBoolean.h" -#include "core/svg/SVGExternalResourcesRequired.h" #include "core/svg/SVGGraphicsElement.h" namespace WebCore { -class SVGSwitchElement FINAL : public SVGGraphicsElement, - public SVGExternalResourcesRequired { +class SVGSwitchElement FINAL : public SVGGraphicsElement { public: - static PassRefPtr<SVGSwitchElement> create(Document&); + DECLARE_NODE_FACTORY(SVGSwitchElement); private: explicit SVGSwitchElement(Document&); - virtual bool isValid() const { return SVGTests::isValid(); } - virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); } + virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; - virtual bool childShouldCreateRenderer(const Node& child) const; - - virtual RenderObject* createRenderer(RenderStyle*); - - BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSwitchElement) - DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired) - END_DECLARE_ANIMATED_PROPERTIES }; } // namespace WebCore |