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

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

Issue 2706583002: Fix the way <title> is read under <use> shadow tree (Closed)
Patch Set: Remove the validity checks for eventSender and testRunner Created 3 years, 9 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 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann
3 * <zimmermann@kde.org> 3 * <zimmermann@kde.org>
4 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 4 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // Return the element that should be used for clipping, 47 // Return the element that should be used for clipping,
48 // or null if a valid clip element is not directly referenced. 48 // or null if a valid clip element is not directly referenced.
49 SVGGraphicsElement* visibleTargetGraphicsElementForClipping() const; 49 SVGGraphicsElement* visibleTargetGraphicsElementForClipping() const;
50 50
51 SVGAnimatedLength* x() const { return m_x.get(); } 51 SVGAnimatedLength* x() const { return m_x.get(); }
52 SVGAnimatedLength* y() const { return m_y.get(); } 52 SVGAnimatedLength* y() const { return m_y.get(); }
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 void buildPendingResource() override; 56 void buildPendingResource() override;
57 String title() const override;
57 58
58 void dispatchPendingEvent(); 59 void dispatchPendingEvent();
59 void toClipPath(Path&) const; 60 void toClipPath(Path&) const;
60 61
61 DECLARE_VIRTUAL_TRACE(); 62 DECLARE_VIRTUAL_TRACE();
62 63
63 private: 64 private:
64 explicit SVGUseElement(Document&); 65 explicit SVGUseElement(Document&);
65 66
66 void dispose(); 67 void dispose();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 bool m_elementIdentifierIsLocal; 120 bool m_elementIdentifierIsLocal;
120 bool m_haveFiredLoadEvent; 121 bool m_haveFiredLoadEvent;
121 bool m_needsShadowTreeRecreation; 122 bool m_needsShadowTreeRecreation;
122 Member<SVGElement> m_targetElementInstance; 123 Member<SVGElement> m_targetElementInstance;
123 Member<DocumentResource> m_resource; 124 Member<DocumentResource> m_resource;
124 }; 125 };
125 126
126 } // namespace blink 127 } // namespace blink
127 128
128 #endif // SVGUseElement_h 129 #endif // SVGUseElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698