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

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

Issue 810493003: Introduce "navigation target classification" for spatial navigation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 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 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual bool supportsFocus() const override { return Element::supportsFocus( ) || hasFocusEventListeners(); } 80 virtual bool supportsFocus() const override { return Element::supportsFocus( ) || hasFocusEventListeners(); }
81 81
82 bool isSupportedAttribute(const QualifiedName&); 82 bool isSupportedAttribute(const QualifiedName&);
83 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 83 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
84 virtual void svgAttributeChanged(const QualifiedName&) override; 84 virtual void svgAttributeChanged(const QualifiedName&) override;
85 85
86 RefPtrWillBeMember<SVGAnimatedTransformList> m_transform; 86 RefPtrWillBeMember<SVGAnimatedTransformList> m_transform;
87 87
88 private: 88 private:
89 virtual bool isSVGGraphicsElement() const override final { return true; } 89 virtual bool isSVGGraphicsElement() const override final { return true; }
90
91 bool hasFocusEventListeners() const;
90 }; 92 };
91 93
92 inline bool isSVGGraphicsElement(const SVGElement& element) 94 inline bool isSVGGraphicsElement(const SVGElement& element)
93 { 95 {
94 return element.isSVGGraphicsElement(); 96 return element.isSVGGraphicsElement();
95 } 97 }
96 98
97 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); 99 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement);
98 100
99 } // namespace blink 101 } // namespace blink
100 102
101 #endif // SVGGraphicsElement_h 103 #endif // SVGGraphicsElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698