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

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

Issue 166163005: [SVG2] Add tabindex handling in svg. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 7 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
« 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 SVGAnimatedLength* width() const { return m_width.get(); } 53 SVGAnimatedLength* width() const { return m_width.get(); }
54 SVGAnimatedLength* height() const { return m_height.get(); } 54 SVGAnimatedLength* height() const { return m_height.get(); }
55 55
56 virtual void buildPendingResource() OVERRIDE; 56 virtual void buildPendingResource() OVERRIDE;
57 57
58 private: 58 private:
59 SVGUseElement(Document&, bool wasInsertedByParser); 59 SVGUseElement(Document&, bool wasInsertedByParser);
60 60
61 virtual bool isStructurallyExternal() const OVERRIDE { return !hrefString(). isNull() && isExternalURIReference(hrefString(), document()); } 61 virtual bool isStructurallyExternal() const OVERRIDE { return !hrefString(). isNull() && isExternalURIReference(hrefString(), document()); }
62 62
63 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners( ); }
64
65 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 63 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
66 virtual void removedFrom(ContainerNode*) OVERRIDE; 64 virtual void removedFrom(ContainerNode*) OVERRIDE;
67 65
68 bool isSupportedAttribute(const QualifiedName&); 66 bool isSupportedAttribute(const QualifiedName&);
69 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 67 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
70 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 68 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
71 69
72 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 70 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
73 virtual void toClipPath(Path&) OVERRIDE; 71 virtual void toClipPath(Path&) OVERRIDE;
74 72
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 bool m_haveFiredLoadEvent; 114 bool m_haveFiredLoadEvent;
117 bool m_needsShadowTreeRecreation; 115 bool m_needsShadowTreeRecreation;
118 RefPtr<SVGElementInstance> m_targetElementInstance; 116 RefPtr<SVGElementInstance> m_targetElementInstance;
119 ResourcePtr<DocumentResource> m_resource; 117 ResourcePtr<DocumentResource> m_resource;
120 Timer<SVGElement> m_svgLoadEventTimer; 118 Timer<SVGElement> m_svgLoadEventTimer;
121 }; 119 };
122 120
123 } 121 }
124 122
125 #endif 123 #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