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

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

Issue 2174833002: Make fragment-only URLs always be document-local references (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove isExternal...; add additional test Created 4 years, 5 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, 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 explicit SVGUseElement(Document&); 66 explicit SVGUseElement(Document&);
67 67
68 void dispose(); 68 void dispose();
69 69
70 FloatRect getBBox() override; 70 FloatRect getBBox() override;
71 71
72 bool isPresentationAttribute(const QualifiedName&) const override; 72 bool isPresentationAttribute(const QualifiedName&) const override;
73 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override; 73 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic String&, MutableStylePropertySet*) override;
74 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override; 74 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override;
75 75
76 bool isStructurallyExternal() const override { return !hrefString().isNull() && isExternalURIReference(hrefString(), document()); } 76 bool isStructurallyExternal() const override;
77 77
78 InsertionNotificationRequest insertedInto(ContainerNode*) override; 78 InsertionNotificationRequest insertedInto(ContainerNode*) override;
79 void removedFrom(ContainerNode*) override; 79 void removedFrom(ContainerNode*) override;
80 80
81 void svgAttributeChanged(const QualifiedName&) override; 81 void svgAttributeChanged(const QualifiedName&) override;
82 82
83 LayoutObject* createLayoutObject(const ComputedStyle&) override; 83 LayoutObject* createLayoutObject(const ComputedStyle&) override;
84 84
85 void scheduleShadowTreeRecreation(); 85 void scheduleShadowTreeRecreation();
86 void cancelShadowTreeRecreation(); 86 void cancelShadowTreeRecreation();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 bool m_elementIdentifierIsLocal; 118 bool m_elementIdentifierIsLocal;
119 bool m_haveFiredLoadEvent; 119 bool m_haveFiredLoadEvent;
120 bool m_needsShadowTreeRecreation; 120 bool m_needsShadowTreeRecreation;
121 Member<SVGElement> m_targetElementInstance; 121 Member<SVGElement> m_targetElementInstance;
122 Member<DocumentResource> m_resource; 122 Member<DocumentResource> m_resource;
123 }; 123 };
124 124
125 } // namespace blink 125 } // namespace blink
126 126
127 #endif // SVGUseElement_h 127 #endif // SVGUseElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGURIReference.cpp ('k') | third_party/WebKit/Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698