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

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

Issue 2164493002: Renamed Node::attach to Node::attachLayoutTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 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 * Copyright (C) 2009, 2014 Apple Inc. All rights reserved. 4 * Copyright (C) 2009, 2014 Apple Inc. All rights reserved.
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class SVGPropertyBase; 48 class SVGPropertyBase;
49 class SVGSVGElement; 49 class SVGSVGElement;
50 class SVGUseElement; 50 class SVGUseElement;
51 51
52 typedef HeapHashSet<Member<SVGElement>> SVGElementSet; 52 typedef HeapHashSet<Member<SVGElement>> SVGElementSet;
53 53
54 class CORE_EXPORT SVGElement : public Element { 54 class CORE_EXPORT SVGElement : public Element {
55 DEFINE_WRAPPERTYPEINFO(); 55 DEFINE_WRAPPERTYPEINFO();
56 public: 56 public:
57 ~SVGElement() override; 57 ~SVGElement() override;
58 void attach(const AttachContext&) override; 58 void attachLayoutTree(const AttachContext&) override;
59 void detach(const AttachContext&) override; 59 void detach(const AttachContext&) override;
60 60
61 short tabIndex() const override; 61 short tabIndex() const override;
62 bool supportsFocus() const override { return false; } 62 bool supportsFocus() const override { return false; }
63 63
64 bool isOutermostSVGSVGElement() const; 64 bool isOutermostSVGSVGElement() const;
65 65
66 bool hasTagName(const SVGQualifiedName& name) const { return hasLocalName(na me.localName()); } 66 bool hasTagName(const SVGQualifiedName& name) const { return hasLocalName(na me.localName()); }
67 67
68 String title() const override; 68 String title() const override;
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 template<typename T> inline bool is##thisType(const T* node) { return is##th isType(node); } \ 280 template<typename T> inline bool is##thisType(const T* node) { return is##th isType(node); } \
281 template<typename T> inline bool is##thisType(const Member<T>& node) { retur n is##thisType(node.get()); } \ 281 template<typename T> inline bool is##thisType(const Member<T>& node) { retur n is##thisType(node.get()); } \
282 template <> inline bool isElementOfType<const thisType>(const SVGElement& el ement) { return is##thisType(element); } \ 282 template <> inline bool isElementOfType<const thisType>(const SVGElement& el ement) { return is##thisType(element); } \
283 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 283 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
284 284
285 } // namespace blink 285 } // namespace blink
286 286
287 #include "core/SVGElementTypeHelpers.h" 287 #include "core/SVGElementTypeHelpers.h"
288 288
289 #endif // SVGElement_h 289 #endif // SVGElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698