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/SVGGElement.h

Issue 20670002: REGRESSION: Click on focused link should not remove focus on it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo Created 7 years, 4 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
« no previous file with comments | « Source/core/svg/SVGEllipseElement.h ('k') | Source/core/svg/SVGImageElement.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, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 21 matching lines...) Expand all
32 public: 32 public:
33 static PassRefPtr<SVGGElement> create(const QualifiedName&, Document*); 33 static PassRefPtr<SVGGElement> create(const QualifiedName&, Document*);
34 34
35 protected: 35 protected:
36 SVGGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGEle ment); 36 SVGGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGEle ment);
37 37
38 virtual RenderObject* createRenderer(RenderStyle*); 38 virtual RenderObject* createRenderer(RenderStyle*);
39 39
40 private: 40 private:
41 virtual bool isValid() const { return SVGTests::isValid(); } 41 virtual bool isValid() const { return SVGTests::isValid(); }
42 virtual bool supportsFocus() const { return true; } 42 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners( ); }
43 43
44 bool isSupportedAttribute(const QualifiedName&); 44 bool isSupportedAttribute(const QualifiedName&);
45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
46 virtual void svgAttributeChanged(const QualifiedName&); 46 virtual void svgAttributeChanged(const QualifiedName&);
47 47
48 virtual bool rendererIsNeeded(const NodeRenderingContext&); 48 virtual bool rendererIsNeeded(const NodeRenderingContext&);
49 49
50 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGElement) 50 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGElement)
51 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired) 51 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
52 END_DECLARE_ANIMATED_PROPERTIES 52 END_DECLARE_ANIMATED_PROPERTIES
53 }; 53 };
54 54
55 } // namespace WebCore 55 } // namespace WebCore
56 56
57 #endif 57 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGEllipseElement.h ('k') | Source/core/svg/SVGImageElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698