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

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

Issue 1359053004: Remove SVG hasExtension() methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2010 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 20 matching lines...) Expand all
31 class Document; 31 class Document;
32 class QualifiedName; 32 class QualifiedName;
33 class SVGElement; 33 class SVGElement;
34 34
35 class CORE_EXPORT SVGTests : public WillBeGarbageCollectedMixin { 35 class CORE_EXPORT SVGTests : public WillBeGarbageCollectedMixin {
36 public: 36 public:
37 // JS API 37 // JS API
38 SVGStringListTearOff* requiredFeatures() { return m_requiredFeatures->tearOf f(); } 38 SVGStringListTearOff* requiredFeatures() { return m_requiredFeatures->tearOf f(); }
39 SVGStringListTearOff* requiredExtensions() { return m_requiredExtensions->te arOff(); } 39 SVGStringListTearOff* requiredExtensions() { return m_requiredExtensions->te arOff(); }
40 SVGStringListTearOff* systemLanguage() { return m_systemLanguage->tearOff(); } 40 SVGStringListTearOff* systemLanguage() { return m_systemLanguage->tearOff(); }
41 bool hasExtension(const String&);
42 41
43 bool isValid(Document&) const; 42 bool isValid(Document&) const;
44 43
45 bool parseAttribute(const QualifiedName&, const AtomicString&); 44 bool parseAttribute(const QualifiedName&, const AtomicString&);
46 bool isKnownAttribute(const QualifiedName&); 45 bool isKnownAttribute(const QualifiedName&);
47 46
48 void addSupportedAttributes(HashSet<QualifiedName>&); 47 void addSupportedAttributes(HashSet<QualifiedName>&);
49 48
50 DECLARE_VIRTUAL_TRACE(); 49 DECLARE_VIRTUAL_TRACE();
51 50
52 protected: 51 protected:
53 explicit SVGTests(SVGElement* contextElement); 52 explicit SVGTests(SVGElement* contextElement);
54 53
55 private: 54 private:
56 RefPtrWillBeMember<SVGStaticStringList> m_requiredFeatures; 55 RefPtrWillBeMember<SVGStaticStringList> m_requiredFeatures;
57 RefPtrWillBeMember<SVGStaticStringList> m_requiredExtensions; 56 RefPtrWillBeMember<SVGStaticStringList> m_requiredExtensions;
58 RefPtrWillBeMember<SVGStaticStringList> m_systemLanguage; 57 RefPtrWillBeMember<SVGStaticStringList> m_systemLanguage;
59 }; 58 };
60 59
61 } // namespace blink 60 } // namespace blink
62 61
63 #endif // SVGTests_h 62 #endif // SVGTests_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698