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

Side by Side Diff: Source/core/svg/SVGUseElement.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/SVGTextElement.h ('k') | no next file » | 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, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 SVGElementInstance* instanceForShadowTreeElement(Node*) const; 47 SVGElementInstance* instanceForShadowTreeElement(Node*) const;
48 void invalidateShadowTree(); 48 void invalidateShadowTree();
49 void invalidateDependentShadowTrees(); 49 void invalidateDependentShadowTrees();
50 50
51 RenderObject* rendererClipChild() const; 51 RenderObject* rendererClipChild() const;
52 52
53 private: 53 private:
54 SVGUseElement(const QualifiedName&, Document*, bool wasInsertedByParser); 54 SVGUseElement(const QualifiedName&, Document*, bool wasInsertedByParser);
55 55
56 virtual bool isValid() const { return SVGTests::isValid(); } 56 virtual bool isValid() const { return SVGTests::isValid(); }
57 virtual bool supportsFocus() const { return true; } 57 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners( ); }
58 58
59 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 59 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
60 virtual void removedFrom(ContainerNode*) OVERRIDE; 60 virtual void removedFrom(ContainerNode*) OVERRIDE;
61 virtual void buildPendingResource(); 61 virtual void buildPendingResource();
62 62
63 bool isSupportedAttribute(const QualifiedName&); 63 bool isSupportedAttribute(const QualifiedName&);
64 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 64 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
65 virtual void svgAttributeChanged(const QualifiedName&); 65 virtual void svgAttributeChanged(const QualifiedName&);
66 66
67 virtual void willRecalcStyle(StyleChange) OVERRIDE; 67 virtual void willRecalcStyle(StyleChange) OVERRIDE;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 inline SVGUseElement* toSVGUseElement(Node* node) 128 inline SVGUseElement* toSVGUseElement(Node* node)
129 { 129 {
130 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::useTag) ); 130 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::useTag) );
131 return static_cast<SVGUseElement*>(node); 131 return static_cast<SVGUseElement*>(node);
132 } 132 }
133 133
134 } 134 }
135 135
136 #endif 136 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698