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

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

Issue 2513893002: Make ifdefs consistent in WebKit/Source/core/ (Closed)
Patch Set: Revert small part Created 4 years 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, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 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 24 matching lines...) Expand all
35 public SVGURIReference, 35 public SVGURIReference,
36 public ScriptLoaderClient { 36 public ScriptLoaderClient {
37 DEFINE_WRAPPERTYPEINFO(); 37 DEFINE_WRAPPERTYPEINFO();
38 USING_GARBAGE_COLLECTED_MIXIN(SVGScriptElement); 38 USING_GARBAGE_COLLECTED_MIXIN(SVGScriptElement);
39 39
40 public: 40 public:
41 static SVGScriptElement* create(Document&, bool wasInsertedByParser); 41 static SVGScriptElement* create(Document&, bool wasInsertedByParser);
42 42
43 ScriptLoader* loader() const { return m_loader.get(); } 43 ScriptLoader* loader() const { return m_loader.get(); }
44 44
45 #if ENABLE(ASSERT) 45 #if DCHECK_IS_ON()
46 bool isAnimatableAttribute(const QualifiedName&) const override; 46 bool isAnimatableAttribute(const QualifiedName&) const override;
47 #endif 47 #endif
48 48
49 DECLARE_VIRTUAL_TRACE(); 49 DECLARE_VIRTUAL_TRACE();
50 50
51 private: 51 private:
52 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); 52 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted);
53 53
54 void parseAttribute(const QualifiedName&, 54 void parseAttribute(const QualifiedName&,
55 const AtomicString&, 55 const AtomicString&,
(...skipping 24 matching lines...) Expand all
80 80
81 Element* cloneElementWithoutAttributesAndChildren() override; 81 Element* cloneElementWithoutAttributesAndChildren() override;
82 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } 82 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
83 83
84 Member<ScriptLoader> m_loader; 84 Member<ScriptLoader> m_loader;
85 }; 85 };
86 86
87 } // namespace blink 87 } // namespace blink
88 88
89 #endif // SVGScriptElement_h 89 #endif // SVGScriptElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/svg/SVGScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698