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

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

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 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
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 19 matching lines...) Expand all
30 UseCounter::count(document, UseCounter::SVGViewElement); 30 UseCounter::count(document, UseCounter::SVGViewElement);
31 } 31 }
32 32
33 DEFINE_NODE_FACTORY(SVGViewElement) 33 DEFINE_NODE_FACTORY(SVGViewElement)
34 34
35 DEFINE_TRACE(SVGViewElement) { 35 DEFINE_TRACE(SVGViewElement) {
36 SVGElement::trace(visitor); 36 SVGElement::trace(visitor);
37 SVGFitToViewBox::trace(visitor); 37 SVGFitToViewBox::trace(visitor);
38 } 38 }
39 39
40 void SVGViewElement::parseAttribute(const QualifiedName& name, 40 void SVGViewElement::parseAttribute(const AttributeModificationParams& params) {
41 const AtomicString& oldValue, 41 if (SVGZoomAndPan::parseAttribute(params.name, params.newValue))
42 const AtomicString& value) {
43 if (SVGZoomAndPan::parseAttribute(name, value))
44 return; 42 return;
45 43
46 SVGElement::parseAttribute(name, oldValue, value); 44 SVGElement::parseAttribute(params);
47 } 45 }
48 46
49 } // namespace blink 47 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGViewElement.h ('k') | third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698