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

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

Issue 2488703003: Remove SVGViewElement.viewTarget attribute (Closed)
Patch Set: fixed layout test failures in html5lib Created 4 years, 1 month 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 11 matching lines...) Expand all
22 #define SVGViewElement_h 22 #define SVGViewElement_h
23 23
24 #include "core/svg/SVGElement.h" 24 #include "core/svg/SVGElement.h"
25 #include "core/svg/SVGFitToViewBox.h" 25 #include "core/svg/SVGFitToViewBox.h"
26 #include "core/svg/SVGZoomAndPan.h" 26 #include "core/svg/SVGZoomAndPan.h"
27 #include "platform/heap/Handle.h" 27 #include "platform/heap/Handle.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 class SVGStaticStringList; 31 class SVGStaticStringList;
32 class SVGStringListTearOff;
33 32
34 class SVGViewElement final : public SVGElement, 33 class SVGViewElement final : public SVGElement,
35 public SVGFitToViewBox, 34 public SVGFitToViewBox,
36 public SVGZoomAndPan { 35 public SVGZoomAndPan {
37 DEFINE_WRAPPERTYPEINFO(); 36 DEFINE_WRAPPERTYPEINFO();
38 USING_GARBAGE_COLLECTED_MIXIN(SVGViewElement); 37 USING_GARBAGE_COLLECTED_MIXIN(SVGViewElement);
39 38
40 public: 39 public:
41 DECLARE_NODE_FACTORY(SVGViewElement); 40 DECLARE_NODE_FACTORY(SVGViewElement);
42
43 SVGStringListTearOff* viewTarget();
44
45 DECLARE_VIRTUAL_TRACE(); 41 DECLARE_VIRTUAL_TRACE();
46 42
47 private: 43 private:
48 explicit SVGViewElement(Document&); 44 explicit SVGViewElement(Document&);
49 45
50 void parseAttribute(const QualifiedName&, 46 void parseAttribute(const QualifiedName&,
51 const AtomicString&, 47 const AtomicString&,
52 const AtomicString&) override; 48 const AtomicString&) override;
53 49
54 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } 50 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
55
56 Member<SVGStaticStringList> m_viewTarget;
57 }; 51 };
58 52
59 } // namespace blink 53 } // namespace blink
60 54
61 #endif // SVGViewElement_h 55 #endif // SVGViewElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAttributeNames.in ('k') | third_party/WebKit/Source/core/svg/SVGViewElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698