| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2007 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2014 Google, Inc. | 5 * Copyright (C) 2014 Google, Inc. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 { | 552 { |
| 553 if (rootParent->inDocument()) { | 553 if (rootParent->inDocument()) { |
| 554 SVGDocumentExtensions& svgExtensions = document().accessSVGExtensions(); | 554 SVGDocumentExtensions& svgExtensions = document().accessSVGExtensions(); |
| 555 svgExtensions.removeTimeContainer(this); | 555 svgExtensions.removeTimeContainer(this); |
| 556 svgExtensions.removeSVGRootWithRelativeLengthDescendents(this); | 556 svgExtensions.removeSVGRootWithRelativeLengthDescendents(this); |
| 557 } | 557 } |
| 558 | 558 |
| 559 SVGGraphicsElement::removedFrom(rootParent); | 559 SVGGraphicsElement::removedFrom(rootParent); |
| 560 } | 560 } |
| 561 | 561 |
| 562 SMILTimeContainer* SVGSVGElement::timeContainer() const | |
| 563 { | |
| 564 return m_timeContainer.get(); | |
| 565 } | |
| 566 | |
| 567 void SVGSVGElement::pauseAnimations() | 562 void SVGSVGElement::pauseAnimations() |
| 568 { | 563 { |
| 569 ASSERT(RuntimeEnabledFeatures::smilEnabled()); | 564 ASSERT(RuntimeEnabledFeatures::smilEnabled()); |
| 570 if (!m_timeContainer->isPaused()) | 565 if (!m_timeContainer->isPaused()) |
| 571 m_timeContainer->pause(); | 566 m_timeContainer->pause(); |
| 572 } | 567 } |
| 573 | 568 |
| 574 void SVGSVGElement::unpauseAnimations() | 569 void SVGSVGElement::unpauseAnimations() |
| 575 { | 570 { |
| 576 ASSERT(RuntimeEnabledFeatures::smilEnabled()); | 571 ASSERT(RuntimeEnabledFeatures::smilEnabled()); |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 visitor->trace(m_width); | 769 visitor->trace(m_width); |
| 775 visitor->trace(m_height); | 770 visitor->trace(m_height); |
| 776 visitor->trace(m_translation); | 771 visitor->trace(m_translation); |
| 777 visitor->trace(m_timeContainer); | 772 visitor->trace(m_timeContainer); |
| 778 visitor->trace(m_viewSpec); | 773 visitor->trace(m_viewSpec); |
| 779 SVGGraphicsElement::trace(visitor); | 774 SVGGraphicsElement::trace(visitor); |
| 780 SVGFitToViewBox::trace(visitor); | 775 SVGFitToViewBox::trace(visitor); |
| 781 } | 776 } |
| 782 | 777 |
| 783 } // namespace blink | 778 } // namespace blink |
| OLD | NEW |