WebCore/DerivedSources.make

@@DOM_CLASSES = \
7777 DocumentFragment \
7878 DocumentType \
7979 Element \
 80 ElementTimeControl \
8081 Entity \
8182 EntityReference \
8283 Event \
31308

WebCore/WebCore.xcodeproj/project.pbxproj

38323832 E1EE793A0D6C9B2700FEA3BA /* MainThreadMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = E1EE79390D6C9B2700FEA3BA /* MainThreadMac.mm */; };
38333833 E1F1E82F0C3C2BB9006DB391 /* XSLTExtensions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1F1E82D0C3C2BB9006DB391 /* XSLTExtensions.cpp */; };
38343834 E1F1E8300C3C2BB9006DB391 /* XSLTExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = E1F1E82E0C3C2BB9006DB391 /* XSLTExtensions.h */; };
 3835 E415F1690D9A165D0033CE97 /* DOMElementTimeControl.h in Headers */ = {isa = PBXBuildFile; fileRef = E415F1680D9A165D0033CE97 /* DOMElementTimeControl.h */; };
 3836 E415F1840D9A1A830033CE97 /* ElementTimeControl.h in Headers */ = {isa = PBXBuildFile; fileRef = E415F1830D9A1A830033CE97 /* ElementTimeControl.h */; };
38353837 E44613A10CD6331000FADA75 /* HTMLAudioElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E446138F0CD6331000FADA75 /* HTMLAudioElement.cpp */; };
38363838 E44613A20CD6331000FADA75 /* HTMLAudioElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E44613900CD6331000FADA75 /* HTMLAudioElement.h */; };
38373839 E44613A40CD6331000FADA75 /* HTMLMediaElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E44613920CD6331000FADA75 /* HTMLMediaElement.cpp */; };

80508052 E1EE79390D6C9B2700FEA3BA /* MainThreadMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MainThreadMac.mm; sourceTree = "<group>"; };
80518053 E1F1E82D0C3C2BB9006DB391 /* XSLTExtensions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XSLTExtensions.cpp; sourceTree = "<group>"; };
80528054 E1F1E82E0C3C2BB9006DB391 /* XSLTExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XSLTExtensions.h; sourceTree = "<group>"; };
 8055 E415F10C0D9A05870033CE97 /* ElementTimeControl.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ElementTimeControl.idl; sourceTree = "<group>"; };
 8056 E415F1680D9A165D0033CE97 /* DOMElementTimeControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMElementTimeControl.h; sourceTree = "<group>"; };
 8057 E415F1830D9A1A830033CE97 /* ElementTimeControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ElementTimeControl.h; sourceTree = "<group>"; };
80538058 E446138F0CD6331000FADA75 /* HTMLAudioElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLAudioElement.cpp; sourceTree = "<group>"; };
80548059 E44613900CD6331000FADA75 /* HTMLAudioElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLAudioElement.h; sourceTree = "<group>"; };
80558060 E44613910CD6331000FADA75 /* HTMLAudioElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLAudioElement.idl; sourceTree = "<group>"; };

89538958 85A0F98E0AC716F400161FDC /* SVG */ = {
89548959 isa = PBXGroup;
89558960 children = (
 8961 E415F1680D9A165D0033CE97 /* DOMElementTimeControl.h */,
89568962 B27B282D0CEF0C3500D39D54 /* DOMSVGFontElement.h */,
89578963 B27B282E0CEF0C3500D39D54 /* DOMSVGFontElement.mm */,
89588964 B27B282F0CEF0C3500D39D54 /* DOMSVGFontElementInternal.h */,

1095710963 B25598860D00D8B800BB825C /* graphics */,
1095810964 B22277CB0D00BF1F0071B782 /* ColorDistance.cpp */,
1095910965 B22277CC0D00BF1F0071B782 /* ColorDistance.h */,
 10966 E415F1830D9A1A830033CE97 /* ElementTimeControl.h */,
 10967 E415F10C0D9A05870033CE97 /* ElementTimeControl.idl */,
1096010968 B22277CD0D00BF1F0071B782 /* GradientAttributes.h */,
1096110969 B22277CE0D00BF1F0071B782 /* LinearGradientAttributes.h */,
1096210970 B22277DB0D00BF1F0071B782 /* PatternAttributes.h */,

1464314651 65653F2E0D9727D200CA9723 /* SVGAltGlyphElement.h in Headers */,
1464414652 65AA6BAF0D974A00000541AE /* DOMSVGAltGlyphElement.h in Headers */,
1464514653 65AA6BB10D974A00000541AE /* DOMSVGAltGlyphElementInternal.h in Headers */,
 14654 E415F1690D9A165D0033CE97 /* DOMElementTimeControl.h in Headers */,
 14655 E415F1840D9A1A830033CE97 /* ElementTimeControl.h in Headers */,
1464614656 );
1464714657 runOnlyForDeploymentPostprocessing = 0;
1464814658 };
31308

WebCore/bindings/scripts/CodeGeneratorObjC.pm

@@my %implIncludes = ();
5454my %protocolTypeHash = ("XPathNSResolver" => 1, "EventListener" => 1, "EventTarget" => 1, "NodeFilter" => 1,
5555 "SVGLocatable" => 1, "SVGTransformable" => 1, "SVGStylable" => 1, "SVGFilterPrimitiveStandardAttributes" => 1,
5656 "SVGTests" => 1, "SVGLangSpace" => 1, "SVGExternalResourcesRequired" => 1, "SVGURIReference" => 1,
57  "SVGZoomAndPan" => 1, "SVGFitToViewBox" => 1, "SVGAnimatedPathData" => 1, "SVGAnimatedPoints" => 1);
 57 "SVGZoomAndPan" => 1, "SVGFitToViewBox" => 1, "SVGAnimatedPathData" => 1, "SVGAnimatedPoints" => 1,
 58 "ElementTimeControl" => 1);
5859my %nativeObjCTypeHash = ("URL" => 1, "Color" => 1);
5960
6061# FIXME: this should be replaced with a function that recurses up the tree
31308

WebCore/svg/ElementTimeControl.h

 1/*
 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
 3 *
 4 * Redistribution and use in source and binary forms, with or without
 5 * modification, are permitted provided that the following conditions
 6 * are met:
 7 * 1. Redistributions of source code must retain the above copyright
 8 * notice, this list of conditions and the following disclaimer.
 9 * 2. Redistributions in binary form must reproduce the above copyright
 10 * notice, this list of conditions and the following disclaimer in the
 11 * documentation and/or other materials provided with the distribution.
 12 *
 13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 24 */
 25
 26#ifndef ElementTimeControl_h
 27#define ElementTimeControl_h
 28
 29#if ENABLE(SVG)
 30
 31#include "ExceptionCode.h"
 32
 33namespace WebCore {
 34
 35class ElementTimeControl {
 36public:
 37 virtual ~ElementTimeControl() {}
 38 virtual bool beginElement(ExceptionCode&) = 0;
 39 virtual bool beginElementAt(float offset, ExceptionCode&) = 0;
 40 virtual bool endElement(ExceptionCode&) = 0;
 41 virtual bool endElementAt(float offset, ExceptionCode&) = 0;
 42};
 43
 44}
 45
 46#endif
 47
 48#endif
0

WebCore/svg/ElementTimeControl.idl

 1/*
 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
 3 *
 4 * Redistribution and use in source and binary forms, with or without
 5 * modification, are permitted provided that the following conditions
 6 * are met:
 7 * 1. Redistributions of source code must retain the above copyright
 8 * notice, this list of conditions and the following disclaimer.
 9 * 2. Redistributions in binary form must reproduce the above copyright
 10 * notice, this list of conditions and the following disclaimer in the
 11 * documentation and/or other materials provided with the distribution.
 12 *
 13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 24 */
 25
 26module svg {
 27
 28 interface [Conditional=SVG, ObjCProtocol] ElementTimeControl {
 29 boolean beginElement()
 30 raises(DOMException);
 31 boolean beginElementAt(in float offset)
 32 raises(DOMException);
 33 boolean endElement()
 34 raises(DOMException);
 35 boolean endElementAt(in float offset)
 36 raises(DOMException);
 37 };
 38
 39}
0

WebCore/svg/SVGAnimationElement.cpp

@@bool SVGAnimationElement::updateAnimated
739739
740740 return true; // value was updated, need to apply
741741}
 742
 743bool SVGAnimationElement::beginElement(ExceptionCode& ec)
 744{
 745 return false;
 746}
 747
 748bool SVGAnimationElement::beginElementAt(float offset, ExceptionCode& ec)
 749{
 750 return false;
 751}
 752
 753bool SVGAnimationElement::endElement(ExceptionCode& ec)
 754{
 755 return false;
 756}
 757
 758bool SVGAnimationElement::endElementAt(float offset, ExceptionCode& ec)
 759{
 760 return false;
 761}
742762
743763}
744764
31308

WebCore/svg/SVGAnimationElement.h

2525#define SVGAnimationElement_h
2626#if ENABLE(SVG)
2727
 28#include "ElementTimeControl.h"
2829#include "SVGExternalResourcesRequired.h"
2930#include "SVGStringList.h"
3031#include "SVGTests.h"

@@namespace WebCore {
7778
7879 class SVGAnimationElement : public SVGElement,
7980 public SVGTests,
80  public SVGExternalResourcesRequired
 81 public SVGExternalResourcesRequired,
 82 public ElementTimeControl
8183 {
8284 public:
8385 SVGAnimationElement(const QualifiedName&, Document*);

@@namespace WebCore {
114116
115117 double repeations() const;
116118 static bool isIndefinite(double value);
 119
 120 // ElementTimeControl
 121 virtual bool beginElement(ExceptionCode&);
 122 virtual bool beginElementAt(float offset, ExceptionCode&);
 123 virtual bool endElement(ExceptionCode&);
 124 virtual bool endElementAt(float offset, ExceptionCode&);
 125
117126
118127 protected:
119128 mutable SVGElement* m_targetElement;
31308

WebCore/svg/SVGAnimationElement.idl

@@module svg {
2727
2828 interface [Conditional=SVG] SVGAnimationElement : SVGElement,
2929 SVGTests,
30  SVGExternalResourcesRequired {
 30 SVGExternalResourcesRequired,
 31 ElementTimeControl {
3132 readonly attribute SVGElement targetElement;
3233
3334 float getStartTime();
31308