Changeset 20130 in webkit


Ignore:
Timestamp:
Mar 12, 2007 5:49:02 PM (17 years ago)
Author:
darin
Message:

LayoutTests:

Reviewed by Tim Hatcher.

  • added a test that checks the classes of wrappers created by both the JavaScript binding and the Objective-C binding
  • fast/dom/wrapper-classes-expected.txt: Added.
  • fast/dom/wrapper-classes.html: Added.
  • fast/js/resources/js-test-pre.js: Improve the format of the failure message when both the real results and expected results are strings.

WebCore:

Reviewed by Tim Hatcher.

  • fixed JavaScript wrapper classes to be correct for a variety of cases that a new test uncovered: was broken for at least 5 classes
  • fixed Objective-C wrapper classes to be correct for a variety of cases that a test case uncovered: was broken for ast least 50 classes
  • added missing DOM API for creating OverflowEvent and WheelEvent instances

Test: fast/dom/wrapper-classes.html

  • DerivedSources.make: Added missing bindings: HTMLCanvasElement for ObjC, CDATASection, Comment, and EntityReference for JavaScript.
  • WebCore.xcodeproj/project.pbxproj: Added those new generated files.
  • bindings/js/JSHTMLElementWrapperFactory.cpp: (WebCore::createJSHTMLWrapper): Corrected the wrapper classes for <keygen>, which needs an HTMLSelectElement wrapper, and <xmp>, which needs an HTMLPreElement wrapper.
  • bindings/objc/DOMInternal.h: Updated for new naming scheme. Also moved createDOMWrapper from the KJS namespace to the WebCore namespace.
  • bindings/objc/DOMUtility.mm: (KJS::createDOMWrapper): Broke the core function into a separate one, and left it in the KJS namespace because Objective-C++ rules make it impossible for it to work in the WebCore namespace. Used a macro-based implementation to cut down on repeated code, and added missing cases for Counter, HTMLOptionsCollection, Range, XPathExpression, XPathResult, Event, RGBColor, Rect, Window, DOMImplementation, NodeIterator, TreeWalker, and HTMLCollection. (WebCore::createDOMWrapper): The other half of the function.
  • bindings/objc/DOM.mm: (WebCore::createElementClassMap): Corrected the wrapper classes for <canvas>, which needs a DOMHTMLCanvasElement wrapper, <del>, which needs a DOMHTMLModElement wrapper, <embed>, which needs a DOMHTMLEmbedElement wrapper, <ins>, which needs a DOMHTMLModElement wrapper, <th>, which needs a DOMHTMLTableCellElement wrapper, and <xmp>, which needs an DOMHTMLPreElement wrapper. (+[DOMNode _wrapNode:]): Updated for new naming scheme. (+[DOMNode _wrapEventTarget:]): Ditto. (+[DOMNodeFilter _wrapNodeFilter:]): Ditto. (ObjCNodeFilterCondition::acceptNode): Ditto. (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]): Ditto. (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]): Ditto. (WebCore::ObjCEventListener::handleEvent): Ditto.
  • dom/Document.cpp: (WebCore::Document::createEvent): Added cases for OverflowEvent and WheelEvent.
  • dom/OverflowEvent.h: Added empty constructor and initOverflowEvent.
  • dom/OverflowEvent.cpp: (WebCore::OverflowEvent::OverflowEvent): Added. (WebCore::OverflowEvent::initOverflowEvent): Added.
  • dom/OverflowEvent.idl: Added initOverflowEvent.
  • bindings/objc/PublicDOMInterfaces.h: Added initOverflowEvent.
  • bindings/objc/DOMCSS.mm: (+[DOMStyleSheet _wrapStyleSheet:]): Updated for new naming scheme. (+[DOMCSSRule _wrapCSSRule:]): Corrected wrapper for CSSUnknownRule. (+[DOMCSSValue _wrapCSSValue:]): Updated for new naming scheme.
  • bindings/js/kjs_css.h: (KJS::DOMRGBColor::impl): Added. Used when making an ObjC wrapper. (KJS::DOMRect::impl): Ditto.
  • bindings/js/kjs_dom.cpp: (KJS::toJS): Corrected the wrapper classes for CDATASection, Comment, and EntityReference.
  • bindings/js/kjs_html.cpp: Corrected the class name for HTMLElement (was "DOMHTMLElement") and HTMLCollection (was "Collection").
  • bindings/objc/DOMImplementationFront.h:
  • bindings/objc/DOMImplementationFront.cpp: (WebCore::implementationFront): Added new overload that returns a front given a JavaScript wrapper. Needed by the code that makes the Objective-C wrapper.
  • bindings/objc/WebScriptObject.mm: (+[WebScriptObject _convertValueToObjcValue:originRootObject:rootObject:]): Updated since createDOMWrapper is now in the WebCore namespace.
  • bindings/scripts/CodeGeneratorObjC.pm: Update the naming scheme for the wrapper creation functions to use _wrapElement: rather then _elementWith: style. Removed now-unneeded special cases for things that needed to stay upper-case, since we don't have to do the whole lcfirst thing.
  • html/HTMLCanvasElement.idl: Added #if so we can successfully generate the Objective-C wrapper for this class, even though we can't yet handle the DOMObject return type.
  • html/HTMLOptionsCollection.idl: Added GenerateNativeConverter so we get an appropriate toJS function.
  • bindings/objc/DOMEvents.mm: (+[DOMEvent _wrapEvent:]):
  • bindings/objc/DOMHTML.mm: (-[DOMHTMLDocument createDocumentFragmentWithMarkupString:baseURL:]): (-[DOMHTMLDocument createDocumentFragmentWithText:]):
  • bindings/objc/DOMObject.mm: (-[DOMObject sheet]):
  • bindings/objc/DOMRGBColor.mm: (-[DOMRGBColor red]): (-[DOMRGBColor green]): (-[DOMRGBColor blue]): (-[DOMRGBColor alpha]): (+[DOMRGBColor _wrapRGBColor:]):
  • bindings/objc/DOMSVGPathSegInternal.mm: (+[DOMSVGPathSeg _wrapSVGPathSeg:]):
  • bindings/objc/DOMXPath.mm: (+[DOMNativeXPathNSResolver _wrapXPathNSResolver:]):
  • page/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge nodesFromList:]): (-[WebCoreFrameBridge elementWithName:inForm:]): (-[WebCoreFrameBridge formForElement:]): (-[WebCoreFrameBridge currentForm]): (-[WebCoreFrameBridge controlsInForm:]): (-[WebCoreFrameBridge rangeByAlteringCurrentSelection:SelectionController::direction:SelectionController::granularity:]): (-[WebCoreFrameBridge convertNSRangeToDOMRange:]): (-[WebCoreFrameBridge markDOMRange]): (-[WebCoreFrameBridge markedTextDOMRange]): (-[WebCoreFrameBridge smartDeleteRangeForProposedRange:]): (-[WebCoreFrameBridge documentFragmentWithMarkupString:baseURLString:]): (-[WebCoreFrameBridge documentFragmentWithText:inContext:]): (-[WebCoreFrameBridge documentFragmentWithNodesAsParagraphs:]): (-[WebCoreFrameBridge replaceSelectionWithNode:selectReplacement:smartReplace:matchStyle:]): (-[WebCoreFrameBridge replaceSelectionWithText:selectReplacement:smartReplace:]): (-[WebCoreFrameBridge increaseSelectionListLevel]): (-[WebCoreFrameBridge increaseSelectionListLevelOrdered]): (-[WebCoreFrameBridge increaseSelectionListLevelUnordered]): (-[WebCoreFrameBridge dragCaretDOMRange]): (-[WebCoreFrameBridge editableDOMRangeForPoint:]): (-[WebCoreFrameBridge characterRangeAtPoint:]): (-[WebCoreFrameBridge typingStyle]): (-[WebCoreFrameBridge rangeOfCharactersAroundCaret]):
  • platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::declareAndWriteDragImage):
  • platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::writeSelection): Updated for new naming scheme.

WebKit:

Reviewed by Tim Hatcher.

  • update for the new naming scheme for the Objective-C wrapper-creation functions: _wrapElement: instead of _elementWith:, etc.
  • WebCoreSupport/WebEditorClient.mm: (WebEditorClient::textFieldDidBeginEditing): (WebEditorClient::textFieldDidEndEditing): (WebEditorClient::textDidChangeInTextField): (WebEditorClient::doTextFieldCommandFromEvent): (WebEditorClient::textWillBeDeletedInTextField): (WebEditorClient::textDidChangeInTextArea):
  • WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::createPlugin): (WebFrameLoaderClient::createJavaAppletWidget):
  • WebView/WebFrame.mm: (kit): Use the _wrapElement-style functions.
Location:
trunk
Files:
2 added
39 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r20127 r20130  
     12007-03-12  Darin Adler  <darin@apple.com>
     2
     3        Reviewed by Tim Hatcher.
     4
     5        - added a test that checks the classes of wrappers created by both
     6          the JavaScript binding and the Objective-C binding
     7
     8        * fast/dom/wrapper-classes-expected.txt: Added.
     9        * fast/dom/wrapper-classes.html: Added.
     10        * fast/js/resources/js-test-pre.js: Improve the format of the failure message when
     11        both the real results and expected results are strings.
     12
    1132007-03-12  Antti Koivisto  <antti@apple.com>
    214
  • trunk/WebCore/CMakeLists.txt

    r19855 r20130  
    232232
    233233    dom/Attr.idl
     234    dom/CDATASection.idl
    234235    dom/CharacterData.idl
     236    dom/Comment.idl
     237    dom/DOMImplementation.idl
     238    dom/Document.idl
    235239    dom/DocumentFragment.idl
    236     dom/Document.idl
    237240    dom/DocumentType.idl
    238     dom/DOMImplementation.idl
    239241    dom/Element.idl
    240242    dom/Entity.idl
     243    dom/EntityReference.idl
    241244    dom/Event.idl
    242245    dom/KeyboardEvent.idl
    243246    dom/MouseEvent.idl
    244247    dom/MutationEvent.idl
     248    dom/Node.idl
    245249    dom/NodeFilter.idl
    246     dom/Node.idl
    247250    dom/NodeIterator.idl
    248251    dom/Notation.idl
    249252    dom/OverflowEvent.idl
    250253    dom/ProcessingInstruction.idl
     254    dom/Range.idl
    251255    dom/RangeException.idl
    252     dom/Range.idl
    253256    dom/Text.idl
    254257    dom/TextEvent.idl
  • trunk/WebCore/ChangeLog

    r20129 r20130  
     12007-03-12  Darin Adler  <darin@apple.com>
     2
     3        Reviewed by Tim Hatcher.
     4
     5        - fixed JavaScript wrapper classes to be correct for a variety of cases
     6          that a new test uncovered: was broken for at least 5 classes
     7
     8        - fixed Objective-C wrapper classes to be correct for a variety of cases
     9          that a test case uncovered: was broken for ast least 50 classes
     10
     11        - added missing DOM API for creating OverflowEvent and WheelEvent instances
     12
     13        Test: fast/dom/wrapper-classes.html
     14
     15        * DerivedSources.make: Added missing bindings: HTMLCanvasElement for ObjC,
     16        CDATASection, Comment, and EntityReference for JavaScript.
     17        * WebCore.xcodeproj/project.pbxproj: Added those new generated files.
     18
     19        * bindings/js/JSHTMLElementWrapperFactory.cpp:
     20        (WebCore::createJSHTMLWrapper): Corrected the wrapper classes for <keygen>,
     21        which needs an HTMLSelectElement wrapper, and <xmp>, which needs an
     22        HTMLPreElement wrapper.
     23
     24        * bindings/objc/DOMInternal.h: Updated for new naming scheme.
     25        Also moved createDOMWrapper from the KJS namespace to the WebCore namespace.
     26        * bindings/objc/DOMUtility.mm:
     27        (KJS::createDOMWrapper): Broke the core function into a separate one, and
     28        left it in the KJS namespace because Objective-C++ rules make it impossible
     29        for it to work in the WebCore namespace. Used a macro-based implementation
     30        to cut down on repeated code, and added missing cases for Counter,
     31        HTMLOptionsCollection, Range, XPathExpression, XPathResult, Event, RGBColor,
     32        Rect, Window, DOMImplementation, NodeIterator, TreeWalker, and HTMLCollection.
     33        (WebCore::createDOMWrapper): The other half of the function.
     34
     35        * bindings/objc/DOM.mm:
     36        (WebCore::createElementClassMap): Corrected the wrapper classes for
     37        <canvas>, which needs a DOMHTMLCanvasElement wrapper, <del>, which needs
     38        a DOMHTMLModElement wrapper, <embed>, which needs a DOMHTMLEmbedElement
     39        wrapper, <ins>, which needs a DOMHTMLModElement wrapper, <th>, which needs
     40        a DOMHTMLTableCellElement wrapper, and <xmp>, which needs an
     41        DOMHTMLPreElement wrapper.
     42        (+[DOMNode _wrapNode:]): Updated for new naming scheme.
     43        (+[DOMNode _wrapEventTarget:]): Ditto.
     44        (+[DOMNodeFilter _wrapNodeFilter:]): Ditto.
     45        (ObjCNodeFilterCondition::acceptNode): Ditto.
     46        (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]): Ditto.
     47        (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]): Ditto.
     48        (WebCore::ObjCEventListener::handleEvent): Ditto.
     49
     50        * dom/Document.cpp: (WebCore::Document::createEvent):
     51        Added cases for OverflowEvent and WheelEvent.
     52
     53        * dom/OverflowEvent.h: Added empty constructor and initOverflowEvent.
     54        * dom/OverflowEvent.cpp:
     55        (WebCore::OverflowEvent::OverflowEvent): Added.
     56        (WebCore::OverflowEvent::initOverflowEvent): Added.
     57        * dom/OverflowEvent.idl: Added initOverflowEvent.
     58
     59        * bindings/objc/PublicDOMInterfaces.h: Added initOverflowEvent.
     60
     61        * bindings/objc/DOMCSS.mm:
     62        (+[DOMStyleSheet _wrapStyleSheet:]): Updated for new naming scheme.
     63        (+[DOMCSSRule _wrapCSSRule:]): Corrected wrapper for CSSUnknownRule.
     64        (+[DOMCSSValue _wrapCSSValue:]): Updated for new naming scheme.
     65
     66        * bindings/js/kjs_css.h:
     67        (KJS::DOMRGBColor::impl): Added. Used when making an ObjC wrapper.
     68        (KJS::DOMRect::impl): Ditto.
     69
     70        * bindings/js/kjs_dom.cpp: (KJS::toJS): Corrected the wrapper classes for
     71        CDATASection, Comment, and EntityReference.
     72
     73        * bindings/js/kjs_html.cpp: Corrected the class name for HTMLElement
     74        (was "DOMHTMLElement") and HTMLCollection (was "Collection").
     75
     76        * bindings/objc/DOMImplementationFront.h:
     77        * bindings/objc/DOMImplementationFront.cpp:
     78        (WebCore::implementationFront): Added new overload that returns a front given
     79        a JavaScript wrapper. Needed by the code that makes the Objective-C wrapper.
     80
     81        * bindings/objc/WebScriptObject.mm:
     82        (+[WebScriptObject _convertValueToObjcValue:originRootObject:rootObject:]):
     83        Updated since createDOMWrapper is now in the WebCore namespace.
     84
     85        * bindings/scripts/CodeGeneratorObjC.pm: Update the naming scheme for the
     86        wrapper creation functions to use _wrapElement: rather then _elementWith:
     87        style. Removed now-unneeded special cases for things that needed to stay
     88        upper-case, since we don't have to do the whole lcfirst thing.
     89
     90        * html/HTMLCanvasElement.idl: Added #if so we can successfully generate the
     91        Objective-C wrapper for this class, even though we can't yet handle the
     92        DOMObject return type.
     93
     94        * html/HTMLOptionsCollection.idl: Added GenerateNativeConverter so we get
     95        an appropriate toJS function.
     96
     97        * bindings/objc/DOMEvents.mm:
     98        (+[DOMEvent _wrapEvent:]):
     99        * bindings/objc/DOMHTML.mm:
     100        (-[DOMHTMLDocument createDocumentFragmentWithMarkupString:baseURL:]):
     101        (-[DOMHTMLDocument createDocumentFragmentWithText:]):
     102        * bindings/objc/DOMObject.mm:
     103        (-[DOMObject sheet]):
     104        * bindings/objc/DOMRGBColor.mm:
     105        (-[DOMRGBColor red]):
     106        (-[DOMRGBColor green]):
     107        (-[DOMRGBColor blue]):
     108        (-[DOMRGBColor alpha]):
     109        (+[DOMRGBColor _wrapRGBColor:]):
     110        * bindings/objc/DOMSVGPathSegInternal.mm:
     111        (+[DOMSVGPathSeg _wrapSVGPathSeg:]):
     112        * bindings/objc/DOMXPath.mm:
     113        (+[DOMNativeXPathNSResolver _wrapXPathNSResolver:]):
     114        * page/mac/WebCoreFrameBridge.mm:
     115        (-[WebCoreFrameBridge nodesFromList:]):
     116        (-[WebCoreFrameBridge elementWithName:inForm:]):
     117        (-[WebCoreFrameBridge formForElement:]):
     118        (-[WebCoreFrameBridge currentForm]):
     119        (-[WebCoreFrameBridge controlsInForm:]):
     120        (-[WebCoreFrameBridge rangeByAlteringCurrentSelection:SelectionController::direction:SelectionController::granularity:]):
     121        (-[WebCoreFrameBridge convertNSRangeToDOMRange:]):
     122        (-[WebCoreFrameBridge markDOMRange]):
     123        (-[WebCoreFrameBridge markedTextDOMRange]):
     124        (-[WebCoreFrameBridge smartDeleteRangeForProposedRange:]):
     125        (-[WebCoreFrameBridge documentFragmentWithMarkupString:baseURLString:]):
     126        (-[WebCoreFrameBridge documentFragmentWithText:inContext:]):
     127        (-[WebCoreFrameBridge documentFragmentWithNodesAsParagraphs:]):
     128        (-[WebCoreFrameBridge replaceSelectionWithNode:selectReplacement:smartReplace:matchStyle:]):
     129        (-[WebCoreFrameBridge replaceSelectionWithText:selectReplacement:smartReplace:]):
     130        (-[WebCoreFrameBridge increaseSelectionListLevel]):
     131        (-[WebCoreFrameBridge increaseSelectionListLevelOrdered]):
     132        (-[WebCoreFrameBridge increaseSelectionListLevelUnordered]):
     133        (-[WebCoreFrameBridge dragCaretDOMRange]):
     134        (-[WebCoreFrameBridge editableDOMRangeForPoint:]):
     135        (-[WebCoreFrameBridge characterRangeAtPoint:]):
     136        (-[WebCoreFrameBridge typingStyle]):
     137        (-[WebCoreFrameBridge rangeOfCharactersAroundCaret]):
     138        * platform/mac/ClipboardMac.mm:
     139        (WebCore::ClipboardMac::declareAndWriteDragImage):
     140        * platform/mac/PasteboardMac.mm:
     141        (WebCore::Pasteboard::writeSelection):
     142        Updated for new naming scheme.
     143
    11442007-03-12  Timothy Hatcher  <timothy@apple.com>
    2145
     
    27012844        * bindings/objc/DOM.mm:
    27022845        (WebCore::createElementClassMap):
    2703         (+[DOMNode _nodeWith:WebCore::]):
     2846        (+[DOMNode _nodeWith:]):
    27042847        * bindings/objc/DOMCSS.mm:
    2705         (+[DOMCSSValue _CSSValueWith:WebCore::]):
     2848        (+[DOMCSSValue _CSSValueWith:]):
    27062849        * bindings/objc/DOMCustomXPathNSResolver.h:
    27072850        * bindings/objc/DOMCustomXPathNSResolver.mm:
    27082851        * bindings/objc/DOMEvents.mm:
    2709         (+[DOMEvent _eventWith:WebCore::]):
     2852        (+[DOMEvent _eventWith:]):
    27102853        * bindings/objc/DOMInternal.h:
    27112854        * bindings/objc/DOMSVGPathSegInternal.mm:
     
    1885418997        (-[SharedBufferData dealloc]):
    1885518998        (-[SharedBufferData finalize]):
    18856         (-[SharedBufferData initWithSharedBuffer:WebCore::]):
     18999        (-[SharedBufferData initWithSharedBuffer:]):
    1885719000        (-[SharedBufferData length]):
    1885819001        (-[SharedBufferData bytes]):
  • trunk/WebCore/DerivedSources.make

    r19910 r20130  
    1 # Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
     1# Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
    22# Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
    33#
     
    8181    DOMHTMLBodyElement.h \
    8282    DOMHTMLButtonElement.h \
     83    DOMHTMLCanvasElement.h \
    8384    DOMHTMLCollection.h \
    8485    DOMHTMLDListElement.h \
     
    298299    HTMLEntityNames.c \
    299300    JSAttr.h \
     301    JSCDATASection.h \
    300302    JSCSSPrimitiveValue.h \
    301303    JSCSSRule.h \
     
    307309    JSCanvasRenderingContext2D.h \
    308310    JSCharacterData.h \
     311    JSComment.h \
    309312    JSCounter.h \
    310313    JSCSSStyleDeclaration.h \
     
    318321    JSEvent.h \
    319322    JSEntity.h \
     323    JSEntityReference.h \
    320324    JSHTMLAppletElement.h \
    321325    JSHTMLAnchorElement.h \
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r20075 r20130  
    16481648                93F19B1708245E59001E9ABC /* libicucore.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 93F1D31A0558CC5C00821BC0 /* libicucore.dylib */; };
    16491649                93F19B1808245E59001E9ABC /* libxslt.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 840633070731A77200DB1FD1 /* libxslt.dylib */; };
     1650                93F9B6560BA0F35E00854064 /* DOMHTMLCanvasElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 93F9B6530BA0F35E00854064 /* DOMHTMLCanvasElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
     1651                93F9B6570BA0F35E00854064 /* DOMHTMLCanvasElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 93F9B6540BA0F35E00854064 /* DOMHTMLCanvasElement.mm */; };
     1652                93F9B6580BA0F35E00854064 /* DOMHTMLCanvasElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 93F9B6550BA0F35E00854064 /* DOMHTMLCanvasElementInternal.h */; };
     1653                93F9B6E00BA0FB7200854064 /* JSComment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93F9B6DE0BA0FB7200854064 /* JSComment.cpp */; };
     1654                93F9B6E10BA0FB7200854064 /* JSComment.h in Headers */ = {isa = PBXBuildFile; fileRef = 93F9B6DF0BA0FB7200854064 /* JSComment.h */; };
     1655                93F9B7740BA5FDDC00854064 /* JSEntityReference.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93F9B7720BA5FDDC00854064 /* JSEntityReference.cpp */; };
     1656                93F9B7750BA5FDDD00854064 /* JSEntityReference.h in Headers */ = {isa = PBXBuildFile; fileRef = 93F9B7730BA5FDDC00854064 /* JSEntityReference.h */; };
     1657                93F9B7A00BA6032600854064 /* JSCDATASection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93F9B79E0BA6032600854064 /* JSCDATASection.cpp */; };
     1658                93F9B7A10BA6032600854064 /* JSCDATASection.h in Headers */ = {isa = PBXBuildFile; fileRef = 93F9B79F0BA6032600854064 /* JSCDATASection.h */; };
    16501659                93FDAFCA0B11307400E2746F /* EditorInsertAction.h in Headers */ = {isa = PBXBuildFile; fileRef = 93FDAFC90B11307400E2746F /* EditorInsertAction.h */; settings = {ATTRIBUTES = (Private, ); }; };
    16511660                A70023FD0B02BEAB00170215 /* MimeTypeRegistry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A70023FB0B02BEAB00170215 /* MimeTypeRegistry.cpp */; };
     
    46774686                93F8B3070A300FEA00F61AB8 /* generate-bindings.pl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.perl; name = "generate-bindings.pl"; path = "scripts/generate-bindings.pl"; sourceTree = "<group>"; };
    46784687                93F8B3080A300FEA00F61AB8 /* IDLStructure.pm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.perl; name = IDLStructure.pm; path = scripts/IDLStructure.pm; sourceTree = "<group>"; };
     4688                93F9B6530BA0F35E00854064 /* DOMHTMLCanvasElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMHTMLCanvasElement.h; sourceTree = "<group>"; };
     4689                93F9B6540BA0F35E00854064 /* DOMHTMLCanvasElement.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLCanvasElement.mm; sourceTree = "<group>"; };
     4690                93F9B6550BA0F35E00854064 /* DOMHTMLCanvasElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMHTMLCanvasElementInternal.h; sourceTree = "<group>"; };
     4691                93F9B6DE0BA0FB7200854064 /* JSComment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSComment.cpp; sourceTree = "<group>"; };
     4692                93F9B6DF0BA0FB7200854064 /* JSComment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSComment.h; sourceTree = "<group>"; };
     4693                93F9B7720BA5FDDC00854064 /* JSEntityReference.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSEntityReference.cpp; sourceTree = "<group>"; };
     4694                93F9B7730BA5FDDC00854064 /* JSEntityReference.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSEntityReference.h; sourceTree = "<group>"; };
     4695                93F9B79E0BA6032600854064 /* JSCDATASection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCDATASection.cpp; sourceTree = "<group>"; };
     4696                93F9B79F0BA6032600854064 /* JSCDATASection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSCDATASection.h; sourceTree = "<group>"; };
    46794697                93FDAFC90B11307400E2746F /* EditorInsertAction.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = EditorInsertAction.h; sourceTree = "<group>"; };
    46804698                A70023FB0B02BEAB00170215 /* MimeTypeRegistry.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = MimeTypeRegistry.cpp; sourceTree = "<group>"; };
     
    62556273                        isa = PBXGroup;
    62566274                        children = (
     6275                                65DF31D809D1C122000BE325 /* JSAttr.cpp */,
     6276                                65DF31D909D1C123000BE325 /* JSAttr.h */,
     6277                                65DF323309D1DE65000BE325 /* JSCanvasGradient.cpp */,
     6278                                65DF323409D1DE65000BE325 /* JSCanvasGradient.h */,
     6279                                65DF323509D1DE65000BE325 /* JSCanvasPattern.cpp */,
     6280                                65DF323609D1DE65000BE325 /* JSCanvasPattern.h */,
     6281                                65DF323709D1DE65000BE325 /* JSCanvasRenderingContext2D.cpp */,
     6282                                65DF323809D1DE65000BE325 /* JSCanvasRenderingContext2D.h */,
     6283                                93F9B79E0BA6032600854064 /* JSCDATASection.cpp */,
     6284                                93F9B79F0BA6032600854064 /* JSCDATASection.h */,
     6285                                65DF31DF09D1CC60000BE325 /* JSCharacterData.cpp */,
     6286                                65DF31E009D1CC60000BE325 /* JSCharacterData.h */,
     6287                                93F9B6DE0BA0FB7200854064 /* JSComment.cpp */,
     6288                                93F9B6DF0BA0FB7200854064 /* JSComment.h */,
     6289                                930705D709E0C9B700B17FE4 /* JSCounter.cpp */,
     6290                                930705D909E0C9BF00B17FE4 /* JSCounter.h */,
     6291                                930705E809E0C9F000B17FE4 /* JSCSSPrimitiveValue.cpp */,
     6292                                930705EA09E0C9F600B17FE4 /* JSCSSPrimitiveValue.h */,
     6293                                14CF7B3109F6ECD700EB3665 /* JSCSSRule.cpp */,
     6294                                14CF7B3209F6ECD700EB3665 /* JSCSSRule.h */,
     6295                                A8D05FA50A23B301005E7203 /* JSCSSRuleList.cpp */,
     6296                                A8D05FA60A23B301005E7203 /* JSCSSRuleList.h */,
     6297                                142011B40A003133008303F9 /* JSCSSStyleDeclaration.cpp */,
     6298                                142011B50A003133008303F9 /* JSCSSStyleDeclaration.h */,
     6299                                14CF78A309F58CBF00EB3665 /* JSCSSValue.cpp */,
     6300                                14CF78A509F58CD800EB3665 /* JSCSSValue.h */,
     6301                                A8D05FA90A23B30F005E7203 /* JSCSSValueList.cpp */,
     6302                                A8D05FAA0A23B30F005E7203 /* JSCSSValueList.h */,
     6303                                659DDC8009E198BA001BF3C6 /* JSDocument.cpp */,
     6304                                659DDC8109E198BA001BF3C6 /* JSDocument.h */,
     6305                                1A494EDC0A123F4C00FDAFC1 /* JSDocumentFragment.cpp */,
     6306                                1A494EDD0A123F4C00FDAFC1 /* JSDocumentFragment.h */,
     6307                                65DF31E109D1CC60000BE325 /* JSDocumentType.cpp */,
     6308                                65DF31E209D1CC60000BE325 /* JSDocumentType.h */,
     6309                                65DF31E309D1CC60000BE325 /* JSDOMImplementation.cpp */,
     6310                                65DF31E409D1CC60000BE325 /* JSDOMImplementation.h */,
     6311                                1ACE53DD0A8D18810022947D /* JSDOMParser.cpp */,
     6312                                1ACE53DE0A8D18810022947D /* JSDOMParser.h */,
     6313                                1403BA0B09EB18C700797C7F /* JSDOMWindow.cpp */,
     6314                                1403BA0E09EB18F800797C7F /* JSDOMWindow.h */,
     6315                                65DF31E509D1CC60000BE325 /* JSElement.cpp */,
     6316                                65DF31E609D1CC60000BE325 /* JSElement.h */,
     6317                                65DF322D09D1DDBC000BE325 /* JSEntity.cpp */,
     6318                                65DF322E09D1DDBC000BE325 /* JSEntity.h */,
     6319                                93F9B7720BA5FDDC00854064 /* JSEntityReference.cpp */,
     6320                                93F9B7730BA5FDDC00854064 /* JSEntityReference.h */,
     6321                                14E8378309F85D1C00B85AE4 /* JSEvent.cpp */,
     6322                                14E8378D09F85D4F00B85AE4 /* JSEvent.h */,
     6323                                1A4A2DEB0A1B852A00C807F8 /* JSHTMLAnchorElement.cpp */,
     6324                                1A4A2DEC0A1B852A00C807F8 /* JSHTMLAnchorElement.h */,
     6325                                1A4A2DED0A1B852A00C807F8 /* JSHTMLAppletElement.cpp */,
     6326                                1A4A2DEE0A1B852A00C807F8 /* JSHTMLAppletElement.h */,
     6327                                1AE2AA0A0A1CDAB300B42B25 /* JSHTMLAreaElement.cpp */,
     6328                                1AE2AA0B0A1CDAB300B42B25 /* JSHTMLAreaElement.h */,
     6329                                A80E7B080A19D606007FB8C5 /* JSHTMLBaseElement.cpp */,
     6330                                A80E7B070A19D606007FB8C5 /* JSHTMLBaseElement.h */,
     6331                                1AE2AA0C0A1CDAB300B42B25 /* JSHTMLBaseFontElement.cpp */,
     6332                                1AE2AA0D0A1CDAB300B42B25 /* JSHTMLBaseFontElement.h */,
     6333                                1AE2AEE40A1D2A7500B42B25 /* JSHTMLBlockquoteElement.cpp */,
     6334                                1AE2AEE50A1D2A7500B42B25 /* JSHTMLBlockquoteElement.h */,
     6335                                1AE2AA0E0A1CDAB300B42B25 /* JSHTMLBodyElement.cpp */,
     6336                                1AE2AA0F0A1CDAB300B42B25 /* JSHTMLBodyElement.h */,
     6337                                1AE2AA100A1CDAB300B42B25 /* JSHTMLBRElement.cpp */,
     6338                                1AE2AA110A1CDAB300B42B25 /* JSHTMLBRElement.h */,
     6339                                A80E7E960A1A83E3007FB8C5 /* JSHTMLButtonElement.cpp */,
     6340                                A80E7E950A1A83E3007FB8C5 /* JSHTMLButtonElement.h */,
     6341                                938E665F09F09B81008A48EC /* JSHTMLCanvasElement.cpp */,
     6342                                938E666109F09B87008A48EC /* JSHTMLCanvasElement.h */,
     6343                                1A85B1E00A1B240500D8C87C /* JSHTMLDirectoryElement.cpp */,
     6344                                1A85B1E10A1B240500D8C87C /* JSHTMLDirectoryElement.h */,
     6345                                1A85B2B40A1B2AC700D8C87C /* JSHTMLDivElement.cpp */,
     6346                                1A85B2B50A1B2AC700D8C87C /* JSHTMLDivElement.h */,
     6347                                1A85B1E20A1B240500D8C87C /* JSHTMLDListElement.cpp */,
     6348                                1A85B1E30A1B240500D8C87C /* JSHTMLDListElement.h */,
     6349                                1A494E320A12358A00FDAFC1 /* JSHTMLDocument.cpp */,
     6350                                1A494E330A12358B00FDAFC1 /* JSHTMLDocument.h */,
     6351                                1A494BF80A122F4400FDAFC1 /* JSHTMLElement.cpp */,
     6352                                1A494BF90A122F4400FDAFC1 /* JSHTMLElement.h */,
     6353                                1AE2AA120A1CDAB300B42B25 /* JSHTMLFieldSetElement.cpp */,
     6354                                1AE2AA130A1CDAB300B42B25 /* JSHTMLFieldSetElement.h */,
     6355                                1AE2AA140A1CDAB300B42B25 /* JSHTMLFontElement.cpp */,
     6356                                1AE2AA150A1CDAB300B42B25 /* JSHTMLFontElement.h */,
     6357                                A8D064F90A23C0CC005E7203 /* JSHTMLFormElement.cpp */,
     6358                                A8D064FA0A23C0CC005E7203 /* JSHTMLFormElement.h */,
     6359                                A80E7B0A0A19D606007FB8C5 /* JSHTMLHeadElement.cpp */,
     6360                                A80E7B0B0A19D606007FB8C5 /* JSHTMLHeadElement.h */,
     6361                                1AE2AA1A0A1CDAB400B42B25 /* JSHTMLHeadingElement.cpp */,
     6362                                1AE2AA1B0A1CDAB400B42B25 /* JSHTMLHeadingElement.h */,
     6363                                1AE2AA1C0A1CDAB400B42B25 /* JSHTMLHRElement.cpp */,
     6364                                1AE2AA1D0A1CDAB400B42B25 /* JSHTMLHRElement.h */,
     6365                                1A85B18D0A1B18A200D8C87C /* JSHTMLHtmlElement.cpp */,
     6366                                1A85B18E0A1B18A200D8C87C /* JSHTMLHtmlElement.h */,
     6367                                1AE2AA930A1CDD2D00B42B25 /* JSHTMLImageElement.cpp */,
     6368                                1AE2AA940A1CDD2D00B42B25 /* JSHTMLImageElement.h */,
     6369                                A80E7E8E0A1A83E3007FB8C5 /* JSHTMLInputElement.cpp */,
     6370                                A80E7E8D0A1A83E3007FB8C5 /* JSHTMLInputElement.h */,
     6371                                1AE2AA950A1CDD2D00B42B25 /* JSHTMLIsIndexElement.cpp */,
     6372                                1AE2AA960A1CDD2D00B42B25 /* JSHTMLIsIndexElement.h */,
     6373                                1AE2AB170A1CE63B00B42B25 /* JSHTMLLabelElement.cpp */,
     6374                                1AE2AB180A1CE63B00B42B25 /* JSHTMLLabelElement.h */,
     6375                                1AE2AB190A1CE63B00B42B25 /* JSHTMLLegendElement.cpp */,
     6376                                1AE2AB1A0A1CE63B00B42B25 /* JSHTMLLegendElement.h */,
     6377                                1AE2AB1B0A1CE63B00B42B25 /* JSHTMLLIElement.cpp */,
     6378                                1AE2AB1C0A1CE63B00B42B25 /* JSHTMLLIElement.h */,
     6379                                A80E7B060A19D606007FB8C5 /* JSHTMLLinkElement.cpp */,
     6380                                A80E7B030A19D606007FB8C5 /* JSHTMLLinkElement.h */,
     6381                                1AE2AB1D0A1CE63B00B42B25 /* JSHTMLMapElement.cpp */,
     6382                                1AE2AB1E0A1CE63B00B42B25 /* JSHTMLMapElement.h */,
     6383                                1AE2AE590A1D26F200B42B25 /* JSHTMLMenuElement.cpp */,
     6384                                1AE2AE5A0A1D26F200B42B25 /* JSHTMLMenuElement.h */,
     6385                                A80E7A150A19C3D6007FB8C5 /* JSHTMLMetaElement.cpp */,
     6386                                A80E7A160A19C3D6007FB8C5 /* JSHTMLMetaElement.h */,
     6387                                1AE2AB1F0A1CE63B00B42B25 /* JSHTMLModElement.cpp */,
     6388                                1AE2AB200A1CE63B00B42B25 /* JSHTMLModElement.h */,
     6389                                1A85B1E40A1B240500D8C87C /* JSHTMLOListElement.cpp */,
     6390                                1A85B1E50A1B240500D8C87C /* JSHTMLOListElement.h */,
     6391                                A80E7E920A1A83E3007FB8C5 /* JSHTMLOptGroupElement.cpp */,
     6392                                A80E7E910A1A83E3007FB8C5 /* JSHTMLOptGroupElement.h */,
     6393                                A80E7E900A1A83E3007FB8C5 /* JSHTMLOptionElement.cpp */,
     6394                                A80E7E8F0A1A83E3007FB8C5 /* JSHTMLOptionElement.h */,
     6395                                448A29BE0A46D9CB0030759F /* JSHTMLOptionsCollection.cpp */,
     6396                                448A29BD0A46D9CB0030759F /* JSHTMLOptionsCollection.h */,
     6397                                1AE2AB9E0A1CE90500B42B25 /* JSHTMLParagraphElement.cpp */,
     6398                                1AE2AB9F0A1CE90500B42B25 /* JSHTMLParagraphElement.h */,
     6399                                1AE2ABA00A1CE90500B42B25 /* JSHTMLParamElement.cpp */,
     6400                                1AE2ABA10A1CE90500B42B25 /* JSHTMLParamElement.h */,
     6401                                1AE2ABA20A1CE90500B42B25 /* JSHTMLPreElement.cpp */,
     6402                                1AE2ABA30A1CE90500B42B25 /* JSHTMLPreElement.h */,
     6403                                1AE2AEC30A1D297B00B42B25 /* JSHTMLQuoteElement.cpp */,
     6404                                1AE2AEC40A1D297B00B42B25 /* JSHTMLQuoteElement.h */,
     6405                                1AE2ABA40A1CE90500B42B25 /* JSHTMLScriptElement.cpp */,
     6406                                1AE2ABA50A1CE90500B42B25 /* JSHTMLScriptElement.h */,
     6407                                E1E6EEA30B628DA8005F2F70 /* JSHTMLSelectElement.cpp */,
     6408                                E1E6EEA70B628DB3005F2F70 /* JSHTMLSelectElement.h */,
     6409                                A80E7B050A19D606007FB8C5 /* JSHTMLStyleElement.cpp */,
     6410                                A80E7B040A19D606007FB8C5 /* JSHTMLStyleElement.h */,
     6411                                A80E7E940A1A83E3007FB8C5 /* JSHTMLTextAreaElement.cpp */,
     6412                                A80E7E930A1A83E3007FB8C5 /* JSHTMLTextAreaElement.h */,
     6413                                A80E7B090A19D606007FB8C5 /* JSHTMLTitleElement.cpp */,
     6414                                A80E7B020A19D606007FB8C5 /* JSHTMLTitleElement.h */,
     6415                                1A85B20E0A1B258700D8C87C /* JSHTMLUListElement.cpp */,
     6416                                1A85B20F0A1B258700D8C87C /* JSHTMLUListElement.h */,
     6417                                A86629CE09DA2B47009633A5 /* JSKeyboardEvent.cpp */,
     6418                                A86629CD09DA2B47009633A5 /* JSKeyboardEvent.h */,
     6419                                A86629CC09DA2B47009633A5 /* JSMouseEvent.cpp */,
     6420                                A86629CB09DA2B47009633A5 /* JSMouseEvent.h */,
     6421                                65DF31E709D1CC60000BE325 /* JSMutationEvent.cpp */,
     6422                                65DF31E809D1CC60000BE325 /* JSMutationEvent.h */,
     6423                                14DC0D3509FED073007B0235 /* JSNode.cpp */,
     6424                                14DC0D3609FED073007B0235 /* JSNode.h */,
     6425                                14115B7009F84CD600CA4FC1 /* JSNodeFilter.cpp */,
     6426                                14115B7109F84CD600CA4FC1 /* JSNodeFilter.h */,
     6427                                1A750D8B0A90E521000FF215 /* JSNodeIterator.cpp */,
     6428                                1A750D8C0A90E521000FF215 /* JSNodeIterator.h */,
     6429                                65DF31E909D1CC60000BE325 /* JSNotation.cpp */,
     6430                                65DF31EA09D1CC60000BE325 /* JSNotation.h */,
     6431                                1A0D573E0A5C7867007EDD4C /* JSOverflowEvent.cpp */,
     6432                                1A0D573F0A5C7867007EDD4C /* JSOverflowEvent.h */,
     6433                                65DF31EB09D1CC60000BE325 /* JSProcessingInstruction.cpp */,
     6434                                65DF31EC09D1CC60000BE325 /* JSProcessingInstruction.h */,
     6435                                65DF31ED09D1CC60000BE325 /* JSRange.cpp */,
     6436                                65DF31EE09D1CC60000BE325 /* JSRange.h */,
     6437                                D23CA55E0AB0EAB6005108A5 /* JSRangeException.cpp */,
     6438                                D23CA55C0AB0EAAE005108A5 /* JSRangeException.h */,
    62576439                                B20111050AB7740500DB0E68 /* JSSVGAElement.cpp */,
    62586440                                B20111060AB7740500DB0E68 /* JSSVGAElement.h */,
     6441                                B222F6960AB771950022EFAD /* JSSVGAngle.cpp */,
     6442                                B222F6970AB771950022EFAD /* JSSVGAngle.h */,
    62596443                                B2FA3C4E0AB75A6E000E5AC4 /* JSSVGAnimateColorElement.cpp */,
    6260                                 B222F6960AB771950022EFAD /* JSSVGAngle.cpp */,
    6261                                 B222F69A0AB771B80022EFAD /* JSSVGElement.cpp */,
    6262                                 B222F69B0AB771B80022EFAD /* JSSVGElement.h */,
    6263                                 B222F6970AB771950022EFAD /* JSSVGAngle.h */,
    62646444                                B2FA3C4F0AB75A6E000E5AC4 /* JSSVGAnimateColorElement.h */,
    62656445                                B2FA3C500AB75A6E000E5AC4 /* JSSVGAnimatedAngle.cpp */,
     
    63096489                                B2FA3C7E0AB75A6E000E5AC4 /* JSSVGDocument.cpp */,
    63106490                                B2FA3C7F0AB75A6E000E5AC4 /* JSSVGDocument.h */,
     6491                                B222F69A0AB771B80022EFAD /* JSSVGElement.cpp */,
     6492                                B222F69B0AB771B80022EFAD /* JSSVGElement.h */,
    63116493                                B2CB923B0B5BD941009BAA78 /* JSSVGElementInstance.cpp */,
    63126494                                B2CB923C0B5BD941009BAA78 /* JSSVGElementInstance.h */,
     
    64956677                                B2FA3D300AB75A6F000E5AC4 /* JSSVGZoomEvent.cpp */,
    64966678                                B2FA3D310AB75A6F000E5AC4 /* JSSVGZoomEvent.h */,
    6497                                 65DF31D809D1C122000BE325 /* JSAttr.cpp */,
    6498                                 65DF31D909D1C123000BE325 /* JSAttr.h */,
    6499                                 65DF323309D1DE65000BE325 /* JSCanvasGradient.cpp */,
    6500                                 65DF323409D1DE65000BE325 /* JSCanvasGradient.h */,
    6501                                 65DF323509D1DE65000BE325 /* JSCanvasPattern.cpp */,
    6502                                 65DF323609D1DE65000BE325 /* JSCanvasPattern.h */,
    6503                                 65DF323709D1DE65000BE325 /* JSCanvasRenderingContext2D.cpp */,
    6504                                 65DF323809D1DE65000BE325 /* JSCanvasRenderingContext2D.h */,
    6505                                 65DF31DF09D1CC60000BE325 /* JSCharacterData.cpp */,
    6506                                 65DF31E009D1CC60000BE325 /* JSCharacterData.h */,
    6507                                 930705D709E0C9B700B17FE4 /* JSCounter.cpp */,
    6508                                 930705D909E0C9BF00B17FE4 /* JSCounter.h */,
    6509                                 930705E809E0C9F000B17FE4 /* JSCSSPrimitiveValue.cpp */,
    6510                                 930705EA09E0C9F600B17FE4 /* JSCSSPrimitiveValue.h */,
    6511                                 14CF7B3109F6ECD700EB3665 /* JSCSSRule.cpp */,
    6512                                 14CF7B3209F6ECD700EB3665 /* JSCSSRule.h */,
    6513                                 A8D05FA50A23B301005E7203 /* JSCSSRuleList.cpp */,
    6514                                 A8D05FA60A23B301005E7203 /* JSCSSRuleList.h */,
    6515                                 142011B40A003133008303F9 /* JSCSSStyleDeclaration.cpp */,
    6516                                 142011B50A003133008303F9 /* JSCSSStyleDeclaration.h */,
    6517                                 14CF78A309F58CBF00EB3665 /* JSCSSValue.cpp */,
    6518                                 14CF78A509F58CD800EB3665 /* JSCSSValue.h */,
    6519                                 A8D05FA90A23B30F005E7203 /* JSCSSValueList.cpp */,
    6520                                 A8D05FAA0A23B30F005E7203 /* JSCSSValueList.h */,
    6521                                 659DDC8009E198BA001BF3C6 /* JSDocument.cpp */,
    6522                                 659DDC8109E198BA001BF3C6 /* JSDocument.h */,
    6523                                 1A494EDC0A123F4C00FDAFC1 /* JSDocumentFragment.cpp */,
    6524                                 1A494EDD0A123F4C00FDAFC1 /* JSDocumentFragment.h */,
    6525                                 65DF31E109D1CC60000BE325 /* JSDocumentType.cpp */,
    6526                                 65DF31E209D1CC60000BE325 /* JSDocumentType.h */,
    6527                                 65DF31E309D1CC60000BE325 /* JSDOMImplementation.cpp */,
    6528                                 65DF31E409D1CC60000BE325 /* JSDOMImplementation.h */,
    6529                                 1ACE53DD0A8D18810022947D /* JSDOMParser.cpp */,
    6530                                 1ACE53DE0A8D18810022947D /* JSDOMParser.h */,
    6531                                 1403BA0B09EB18C700797C7F /* JSDOMWindow.cpp */,
    6532                                 1403BA0E09EB18F800797C7F /* JSDOMWindow.h */,
    6533                                 65DF31E509D1CC60000BE325 /* JSElement.cpp */,
    6534                                 65DF31E609D1CC60000BE325 /* JSElement.h */,
    6535                                 65DF322D09D1DDBC000BE325 /* JSEntity.cpp */,
    6536                                 65DF322E09D1DDBC000BE325 /* JSEntity.h */,
    6537                                 14E8378309F85D1C00B85AE4 /* JSEvent.cpp */,
    6538                                 14E8378D09F85D4F00B85AE4 /* JSEvent.h */,
    6539                                 1A4A2DEB0A1B852A00C807F8 /* JSHTMLAnchorElement.cpp */,
    6540                                 1A4A2DEC0A1B852A00C807F8 /* JSHTMLAnchorElement.h */,
    6541                                 1A4A2DED0A1B852A00C807F8 /* JSHTMLAppletElement.cpp */,
    6542                                 1A4A2DEE0A1B852A00C807F8 /* JSHTMLAppletElement.h */,
    6543                                 1AE2AA0A0A1CDAB300B42B25 /* JSHTMLAreaElement.cpp */,
    6544                                 1AE2AA0B0A1CDAB300B42B25 /* JSHTMLAreaElement.h */,
    6545                                 A80E7B080A19D606007FB8C5 /* JSHTMLBaseElement.cpp */,
    6546                                 A80E7B070A19D606007FB8C5 /* JSHTMLBaseElement.h */,
    6547                                 1AE2AA0C0A1CDAB300B42B25 /* JSHTMLBaseFontElement.cpp */,
    6548                                 1AE2AA0D0A1CDAB300B42B25 /* JSHTMLBaseFontElement.h */,
    6549                                 1AE2AEE40A1D2A7500B42B25 /* JSHTMLBlockquoteElement.cpp */,
    6550                                 1AE2AEE50A1D2A7500B42B25 /* JSHTMLBlockquoteElement.h */,
    6551                                 1AE2AA0E0A1CDAB300B42B25 /* JSHTMLBodyElement.cpp */,
    6552                                 1AE2AA0F0A1CDAB300B42B25 /* JSHTMLBodyElement.h */,
    6553                                 1AE2AA100A1CDAB300B42B25 /* JSHTMLBRElement.cpp */,
    6554                                 1AE2AA110A1CDAB300B42B25 /* JSHTMLBRElement.h */,
    6555                                 A80E7E960A1A83E3007FB8C5 /* JSHTMLButtonElement.cpp */,
    6556                                 A80E7E950A1A83E3007FB8C5 /* JSHTMLButtonElement.h */,
    6557                                 938E665F09F09B81008A48EC /* JSHTMLCanvasElement.cpp */,
    6558                                 938E666109F09B87008A48EC /* JSHTMLCanvasElement.h */,
    6559                                 1A85B1E00A1B240500D8C87C /* JSHTMLDirectoryElement.cpp */,
    6560                                 1A85B1E10A1B240500D8C87C /* JSHTMLDirectoryElement.h */,
    6561                                 1A85B2B40A1B2AC700D8C87C /* JSHTMLDivElement.cpp */,
    6562                                 1A85B2B50A1B2AC700D8C87C /* JSHTMLDivElement.h */,
    6563                                 1A85B1E20A1B240500D8C87C /* JSHTMLDListElement.cpp */,
    6564                                 1A85B1E30A1B240500D8C87C /* JSHTMLDListElement.h */,
    6565                                 1A494E320A12358A00FDAFC1 /* JSHTMLDocument.cpp */,
    6566                                 1A494E330A12358B00FDAFC1 /* JSHTMLDocument.h */,
    6567                                 1A494BF80A122F4400FDAFC1 /* JSHTMLElement.cpp */,
    6568                                 1A494BF90A122F4400FDAFC1 /* JSHTMLElement.h */,
    6569                                 1AE2AA120A1CDAB300B42B25 /* JSHTMLFieldSetElement.cpp */,
    6570                                 1AE2AA130A1CDAB300B42B25 /* JSHTMLFieldSetElement.h */,
    6571                                 1AE2AA140A1CDAB300B42B25 /* JSHTMLFontElement.cpp */,
    6572                                 1AE2AA150A1CDAB300B42B25 /* JSHTMLFontElement.h */,
    6573                                 A8D064F90A23C0CC005E7203 /* JSHTMLFormElement.cpp */,
    6574                                 A8D064FA0A23C0CC005E7203 /* JSHTMLFormElement.h */,
    6575                                 A80E7B0A0A19D606007FB8C5 /* JSHTMLHeadElement.cpp */,
    6576                                 A80E7B0B0A19D606007FB8C5 /* JSHTMLHeadElement.h */,
    6577                                 1AE2AA1A0A1CDAB400B42B25 /* JSHTMLHeadingElement.cpp */,
    6578                                 1AE2AA1B0A1CDAB400B42B25 /* JSHTMLHeadingElement.h */,
    6579                                 1AE2AA1C0A1CDAB400B42B25 /* JSHTMLHRElement.cpp */,
    6580                                 1AE2AA1D0A1CDAB400B42B25 /* JSHTMLHRElement.h */,
    6581                                 1A85B18D0A1B18A200D8C87C /* JSHTMLHtmlElement.cpp */,
    6582                                 1A85B18E0A1B18A200D8C87C /* JSHTMLHtmlElement.h */,
    6583                                 1AE2AA930A1CDD2D00B42B25 /* JSHTMLImageElement.cpp */,
    6584                                 1AE2AA940A1CDD2D00B42B25 /* JSHTMLImageElement.h */,
    6585                                 A80E7E8E0A1A83E3007FB8C5 /* JSHTMLInputElement.cpp */,
    6586                                 A80E7E8D0A1A83E3007FB8C5 /* JSHTMLInputElement.h */,
    6587                                 1AE2AA950A1CDD2D00B42B25 /* JSHTMLIsIndexElement.cpp */,
    6588                                 1AE2AA960A1CDD2D00B42B25 /* JSHTMLIsIndexElement.h */,
    6589                                 1AE2AB170A1CE63B00B42B25 /* JSHTMLLabelElement.cpp */,
    6590                                 1AE2AB180A1CE63B00B42B25 /* JSHTMLLabelElement.h */,
    6591                                 1AE2AB190A1CE63B00B42B25 /* JSHTMLLegendElement.cpp */,
    6592                                 1AE2AB1A0A1CE63B00B42B25 /* JSHTMLLegendElement.h */,
    6593                                 1AE2AB1B0A1CE63B00B42B25 /* JSHTMLLIElement.cpp */,
    6594                                 1AE2AB1C0A1CE63B00B42B25 /* JSHTMLLIElement.h */,
    6595                                 A80E7B060A19D606007FB8C5 /* JSHTMLLinkElement.cpp */,
    6596                                 A80E7B030A19D606007FB8C5 /* JSHTMLLinkElement.h */,
    6597                                 1AE2AB1D0A1CE63B00B42B25 /* JSHTMLMapElement.cpp */,
    6598                                 1AE2AB1E0A1CE63B00B42B25 /* JSHTMLMapElement.h */,
    6599                                 1AE2AE590A1D26F200B42B25 /* JSHTMLMenuElement.cpp */,
    6600                                 1AE2AE5A0A1D26F200B42B25 /* JSHTMLMenuElement.h */,
    6601                                 A80E7A150A19C3D6007FB8C5 /* JSHTMLMetaElement.cpp */,
    6602                                 A80E7A160A19C3D6007FB8C5 /* JSHTMLMetaElement.h */,
    6603                                 1AE2AB1F0A1CE63B00B42B25 /* JSHTMLModElement.cpp */,
    6604                                 1AE2AB200A1CE63B00B42B25 /* JSHTMLModElement.h */,
    6605                                 1A85B1E40A1B240500D8C87C /* JSHTMLOListElement.cpp */,
    6606                                 1A85B1E50A1B240500D8C87C /* JSHTMLOListElement.h */,
    6607                                 A80E7E920A1A83E3007FB8C5 /* JSHTMLOptGroupElement.cpp */,
    6608                                 A80E7E910A1A83E3007FB8C5 /* JSHTMLOptGroupElement.h */,
    6609                                 A80E7E900A1A83E3007FB8C5 /* JSHTMLOptionElement.cpp */,
    6610                                 A80E7E8F0A1A83E3007FB8C5 /* JSHTMLOptionElement.h */,
    6611                                 448A29BE0A46D9CB0030759F /* JSHTMLOptionsCollection.cpp */,
    6612                                 448A29BD0A46D9CB0030759F /* JSHTMLOptionsCollection.h */,
    6613                                 1AE2AB9E0A1CE90500B42B25 /* JSHTMLParagraphElement.cpp */,
    6614                                 1AE2AB9F0A1CE90500B42B25 /* JSHTMLParagraphElement.h */,
    6615                                 1AE2ABA00A1CE90500B42B25 /* JSHTMLParamElement.cpp */,
    6616                                 1AE2ABA10A1CE90500B42B25 /* JSHTMLParamElement.h */,
    6617                                 1AE2ABA20A1CE90500B42B25 /* JSHTMLPreElement.cpp */,
    6618                                 1AE2ABA30A1CE90500B42B25 /* JSHTMLPreElement.h */,
    6619                                 1AE2AEC30A1D297B00B42B25 /* JSHTMLQuoteElement.cpp */,
    6620                                 1AE2AEC40A1D297B00B42B25 /* JSHTMLQuoteElement.h */,
    6621                                 1AE2ABA40A1CE90500B42B25 /* JSHTMLScriptElement.cpp */,
    6622                                 1AE2ABA50A1CE90500B42B25 /* JSHTMLScriptElement.h */,
    6623                                 E1E6EEA30B628DA8005F2F70 /* JSHTMLSelectElement.cpp */,
    6624                                 E1E6EEA70B628DB3005F2F70 /* JSHTMLSelectElement.h */,
    6625                                 A80E7B050A19D606007FB8C5 /* JSHTMLStyleElement.cpp */,
    6626                                 A80E7B040A19D606007FB8C5 /* JSHTMLStyleElement.h */,
    6627                                 A80E7E940A1A83E3007FB8C5 /* JSHTMLTextAreaElement.cpp */,
    6628                                 A80E7E930A1A83E3007FB8C5 /* JSHTMLTextAreaElement.h */,
    6629                                 A80E7B090A19D606007FB8C5 /* JSHTMLTitleElement.cpp */,
    6630                                 A80E7B020A19D606007FB8C5 /* JSHTMLTitleElement.h */,
    6631                                 1A85B20E0A1B258700D8C87C /* JSHTMLUListElement.cpp */,
    6632                                 1A85B20F0A1B258700D8C87C /* JSHTMLUListElement.h */,
    6633                                 A86629CE09DA2B47009633A5 /* JSKeyboardEvent.cpp */,
    6634                                 A86629CD09DA2B47009633A5 /* JSKeyboardEvent.h */,
    6635                                 A86629CC09DA2B47009633A5 /* JSMouseEvent.cpp */,
    6636                                 A86629CB09DA2B47009633A5 /* JSMouseEvent.h */,
    6637                                 65DF31E709D1CC60000BE325 /* JSMutationEvent.cpp */,
    6638                                 65DF31E809D1CC60000BE325 /* JSMutationEvent.h */,
    6639                                 14DC0D3509FED073007B0235 /* JSNode.cpp */,
    6640                                 14DC0D3609FED073007B0235 /* JSNode.h */,
    6641                                 14115B7009F84CD600CA4FC1 /* JSNodeFilter.cpp */,
    6642                                 14115B7109F84CD600CA4FC1 /* JSNodeFilter.h */,
    6643                                 1A750D8B0A90E521000FF215 /* JSNodeIterator.cpp */,
    6644                                 1A750D8C0A90E521000FF215 /* JSNodeIterator.h */,
    6645                                 65DF31E909D1CC60000BE325 /* JSNotation.cpp */,
    6646                                 65DF31EA09D1CC60000BE325 /* JSNotation.h */,
    6647                                 1A0D573E0A5C7867007EDD4C /* JSOverflowEvent.cpp */,
    6648                                 1A0D573F0A5C7867007EDD4C /* JSOverflowEvent.h */,
    6649                                 65DF31EB09D1CC60000BE325 /* JSProcessingInstruction.cpp */,
    6650                                 65DF31EC09D1CC60000BE325 /* JSProcessingInstruction.h */,
    6651                                 65DF31ED09D1CC60000BE325 /* JSRange.cpp */,
    6652                                 65DF31EE09D1CC60000BE325 /* JSRange.h */,
    6653                                 D23CA55E0AB0EAB6005108A5 /* JSRangeException.cpp */,
    6654                                 D23CA55C0AB0EAAE005108A5 /* JSRangeException.h */,
    66556679                                65DF31EF09D1CC60000BE325 /* JSText.cpp */,
    66566680                                65DF31F009D1CC60000BE325 /* JSText.h */,
     
    74757499                                85BA4CD50AA6861B0088052D /* DOMHTMLButtonElement.h */,
    74767500                                85BA4CD60AA6861B0088052D /* DOMHTMLButtonElement.mm */,
     7501                                93F9B6530BA0F35E00854064 /* DOMHTMLCanvasElement.h */,
     7502                                93F9B6540BA0F35E00854064 /* DOMHTMLCanvasElement.mm */,
     7503                                93F9B6550BA0F35E00854064 /* DOMHTMLCanvasElementInternal.h */,
    74777504                                85DF2F8C0AA3C88100AD64C5 /* DOMHTMLCollection.h */,
    74787505                                85DF2F8D0AA3C88100AD64C5 /* DOMHTMLCollection.mm */,
     
    88898916                        isa = PBXGroup;
    88908917                        children = (
    8891                                 AB4CB4EA0B8BDA3D009F40B0 /* JSHTMLSelectElementCustom.h */,
    88928918                                14DFB33F0A7DF7630018F769 /* Derived Sources */,
    88938919                                93F8B3060A300FEA00F61AB8 /* CodeGeneratorJS.pm */,
     
    89058931                                448AD27A0A4813790023D179 /* JSHTMLOptionsCollectionCustom.cpp */,
    89068932                                BC17F9650B64EBB8004A65CB /* JSHTMLSelectElementCustom.cpp */,
     8933                                AB4CB4EA0B8BDA3D009F40B0 /* JSHTMLSelectElementCustom.h */,
    89078934                                1A750DD30A90E729000FF215 /* JSNodeIteratorCustom.cpp */,
    89088935                                8574D1F10ADE6122004CBA11 /* JSSVGElementWrapperFactory.cpp */,
     
    1116111188                                51DF6D7E0B92A16D00C2DC85 /* ThreadCheck.h in Headers */,
    1116211189                                BC7F44A80B9E324E00A9D081 /* ImageObserver.h in Headers */,
     11190                                93F9B6560BA0F35E00854064 /* DOMHTMLCanvasElement.h in Headers */,
     11191                                93F9B6580BA0F35E00854064 /* DOMHTMLCanvasElementInternal.h in Headers */,
     11192                                93F9B6E10BA0FB7200854064 /* JSComment.h in Headers */,
     11193                                93F9B7750BA5FDDD00854064 /* JSEntityReference.h in Headers */,
     11194                                93F9B7A10BA6032600854064 /* JSCDATASection.h in Headers */,
    1116311195                        );
    1116411196                        runOnlyForDeploymentPostprocessing = 0;
     
    1132011352                        runOnlyForDeploymentPostprocessing = 0;
    1132111353                        shellPath = /bin/sh;
    11322                         shellScript = "mkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\"\ncd \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\"\n\nif [ \"${BUILD_STYLE}\" = \"Release\" -o \"${BUILD_STYLE}\" = \"Debug\" ] ; then\n    export CREATE_HASH_TABLE=\"${BUILT_PRODUCTS_DIR}/JavaScriptCore.framework/PrivateHeaders/create_hash_table\"\nelse\n    export CREATE_HASH_TABLE=\"${NEXT_ROOT}${SYSTEM_LIBRARY_DIR}/Frameworks/JavaScriptCore.framework/PrivateHeaders/create_hash_table\"\nfi\n\nln -sfh \"${SRCROOT}\" WebCore\nexport WebCore=\"WebCore\"\n\nexport ENCODINGS_FILE=\"WebCore/platform/mac/mac-encodings.txt\"\nexport ENCODINGS_PREFIX=\"kTextEncoding\"\n\nif [ \"${ACTION}\" = \"build\" -o \"${ACTION}\" = \"install\" ]; then\n    make -f \"WebCore/DerivedSources.make\" -j `/usr/sbin/sysctl -n hw.ncpu`\nfi\n";
     11354                        shellScript = "mkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\"\ncd \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\"\n\nif [ \"${BUILD_STYLE}\" = \"Release\" -o \"${BUILD_STYLE}\" = \"Debug\" ] ; then\n    export CREATE_HASH_TABLE=\"${BUILT_PRODUCTS_DIR}/JavaScriptCore.framework/PrivateHeaders/create_hash_table\"\nelse\n    export CREATE_HASH_TABLE=\"${NEXT_ROOT}${SYSTEM_LIBRARY_DIR}/Frameworks/JavaScriptCore.framework/PrivateHeaders/create_hash_table\"\nfi\n\nln -sfh \"${SRCROOT}\" WebCore\nexport WebCore=\"WebCore\"\n\nexport ENCODINGS_FILE=\"WebCore/platform/mac/mac-encodings.txt\"\nexport ENCODINGS_PREFIX=\"kTextEncoding\"\n\nif [ \"${ACTION}\" = \"build\" -o \"${ACTION}\" = \"install\" ]; then\n    make -f \"WebCore/DerivedSources.make\" -j `/usr/sbin/sysctl -n hw.availcpu`\nfi\n";
    1132311355                };
    1132411356/* End PBXShellScriptBuildPhase section */
     
    1252612558                                934D9BA50B8C116B007B42A9 /* WebCoreNSStringExtras.mm in Sources */,
    1252712559                                51DF6D800B92A18E00C2DC85 /* ThreadCheck.mm in Sources */,
     12560                                93F9B6570BA0F35E00854064 /* DOMHTMLCanvasElement.mm in Sources */,
     12561                                93F9B6E00BA0FB7200854064 /* JSComment.cpp in Sources */,
     12562                                93F9B7740BA5FDDC00854064 /* JSEntityReference.cpp in Sources */,
     12563                                93F9B7A00BA6032600854064 /* JSCDATASection.cpp in Sources */,
    1252812564                        );
    1252912565                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/WebCore/WebCoreSources.bkl

    r19741 r20130  
    77        DerivedSources/WebCore/HTMLNames.cpp
    88        DerivedSources/WebCore/JSAttr.cpp
     9        DerivedSources/WebCore/JSCDATASection.cpp
    910        DerivedSources/WebCore/JSCSSPrimitiveValue.cpp
    1011        DerivedSources/WebCore/JSCSSRule.cpp
     
    1718        DerivedSources/WebCore/JSCanvasRenderingContext2D.cpp
    1819        DerivedSources/WebCore/JSCharacterData.cpp
     20        DerivedSources/WebCore/JSComment.cpp
    1921        DerivedSources/WebCore/JSCounter.cpp
    2022        DerivedSources/WebCore/JSDOMImplementation.cpp
     
    2628        DerivedSources/WebCore/JSElement.cpp
    2729        DerivedSources/WebCore/JSEntity.cpp
     30        DerivedSources/WebCore/JSEntityReference.cpp
    2831        DerivedSources/WebCore/JSEvent.cpp
    2932        DerivedSources/WebCore/JSHTMLAnchorElement.cpp
  • trunk/WebCore/bindings/js/JSHTMLElementWrapperFactory.cpp

    r19024 r20130  
    193193        map.set(imageTag.localName().impl(), createImageWrapper);
    194194        map.set(insTag.localName().impl(), createModWrapper);
     195        map.set(keygenTag.localName().impl(), createSelectWrapper);
    195196        map.set(listingTag.localName().impl(), createPreWrapper);
     197        map.set(xmpTag.localName().impl(), createPreWrapper);
    196198    }
    197199    CreateHTMLElementWrapperFunction createWrapperFunction = map.get(element->localName().impl());
  • trunk/WebCore/bindings/js/kjs_css.h

    r18912 r20130  
    205205    static const ClassInfo info;
    206206    enum { Red, Green, Blue };
     207    unsigned impl() const { return m_color; }
    207208  private:
    208209    unsigned m_color;
     
    221222    static const ClassInfo info;
    222223    enum { Top, Right, Bottom, Left };
     224    WebCore::RectImpl* impl() const { return m_rect.get(); }
    223225  private:
    224226    RefPtr<WebCore::RectImpl> m_rect;
  • trunk/WebCore/bindings/js/kjs_dom.cpp

    r20028 r20130  
    2929#include "Element.h"
    3030#include "Entity.h"
     31#include "EntityReference.h"
    3132#include "Event.h"
     33#include "EventNames.h"
    3234#include "EventTarget.h"
    33 #include "EventNames.h"
    3435#include "ExceptionCode.h"
    3536#include "Frame.h"
     
    3839#include "HTMLPlugInElement.h"
    3940#include "JSAttr.h"
    40 #include "JSCharacterData.h"
     41#include "JSCDATASection.h"
     42#include "JSComment.h"
    4143#include "JSDOMImplementation.h"
    4244#include "JSDocumentFragment.h"
     
    4446#include "JSElement.h"
    4547#include "JSEntity.h"
     48#include "JSEntityReference.h"
    4649#include "JSHTMLDocument.h"
    4750#include "JSHTMLElementWrapperFactory.h"
     
    5154#include "JSRange.h"
    5255#include "JSText.h"
    53 #include "Settings.h"
    5456#include "NamedNodeMap.h"
    5557#include "Notation.h"
     
    5759#include "Range.h"
    5860#include "RenderView.h"
    59 #include "xmlhttprequest.h"
     61#include "Settings.h"
    6062#include "kjs_css.h"
    6163#include "kjs_events.h"
    6264#include "kjs_traversal.h"
    6365#include "kjs_window.h"
     66#include "xmlhttprequest.h"
    6467
    6568#if ENABLE(SVG)
     
    979982      break;
    980983    case Node::TEXT_NODE:
     984      ret = new JSText(exec, static_cast<Text*>(n));
     985      break;
    981986    case Node::CDATA_SECTION_NODE:
    982       ret = new JSText(exec, static_cast<Text*>(n));
     987      ret = new JSCDATASection(exec, static_cast<CDATASection*>(n));
    983988      break;
    984989    case Node::ENTITY_NODE:
     
    989994      break;
    990995    case Node::COMMENT_NODE:
    991       ret = new JSCharacterData(exec, static_cast<CharacterData*>(n));
     996      ret = new JSComment(exec, static_cast<WebCore::Comment*>(n));
    992997      break;
    993998    case Node::DOCUMENT_NODE:
     
    10041009      break;
    10051010    case Node::ENTITY_REFERENCE_NODE:
     1011      ret = new JSEntityReference(exec, static_cast<EntityReference*>(n));
     1012      break;
    10061013    default:
    10071014      ret = new JSNode(exec, n);
  • trunk/WebCore/bindings/js/kjs_html.cpp

    r19979 r20130  
    423423const ClassInfo JSHTMLElement::frame_info = { "HTMLFrameElement", &JSHTMLElement::info, &HTMLFrameElementTable, 0 };
    424424const ClassInfo JSHTMLElement::iFrame_info = { "HTMLIFrameElement", &JSHTMLElement::info, &HTMLIFrameElementTable, 0 };
    425 const ClassInfo JSHTMLElement::info = { "DOMHTMLElement", &JSElement::info, &HTMLElementTable, 0 };
     425const ClassInfo JSHTMLElement::info = { "HTMLElement", &JSElement::info, &HTMLElementTable, 0 };
    426426const ClassInfo JSHTMLElement::marquee_info = { "HTMLMarqueeElement", &JSHTMLElement::info, &HTMLMarqueeElementTable, 0 };
    427427const ClassInfo JSHTMLElement::object_info = { "HTMLObjectElement", &JSHTMLElement::info, &HTMLObjectElementTable, 0 };
     
    666666
    667667KJS_IMPLEMENT_PROTOTYPE_FUNCTION(JSHTMLElementPrototypeFunction)
    668 KJS_IMPLEMENT_PROTOTYPE("DOMHTMLElement", JSHTMLElementPrototype, JSHTMLElementPrototypeFunction)
     668KJS_IMPLEMENT_PROTOTYPE("HTMLElement", JSHTMLElementPrototype, JSHTMLElementPrototypeFunction)
    669669
    670670JSValue* JSHTMLElementPrototypeFunction::callAsFunction(ExecState*, JSObject*, const List&)
     
    14411441KJS_IMPLEMENT_PROTOTYPE("HTMLCollection",JSHTMLCollectionPrototype,JSHTMLCollectionPrototypeFunction)
    14421442
    1443 const ClassInfo JSHTMLCollection::info = { "Collection", 0, 0, 0 };
     1443const ClassInfo JSHTMLCollection::info = { "HTMLCollection", 0, 0, 0 };
    14441444
    14451445JSHTMLCollection::JSHTMLCollection(ExecState* exec, HTMLCollection* c)
  • trunk/WebCore/bindings/objc/DOM.mm

    r19988 r20130  
    11/*
    2  * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
     2 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
    33 * Copyright (C) 2006 James G. Speth (speth@end.com)
    44 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
     
    3232#import "CSSStyleSheet.h"
    3333#import "Comment.h"
    34 #import "DOMImplementationFront.h"
     34#import "DOMHTMLCanvasElement.h"
    3535#import "DOMInternal.h"
    3636#import "DOMPrivate.h"
     
    123123    addElementClass(HTMLNames::brTag, [DOMHTMLBRElement class]);
    124124    addElementClass(HTMLNames::buttonTag, [DOMHTMLButtonElement class]);
    125     addElementClass(HTMLNames::canvasTag, [DOMHTMLImageElement class]);
     125    addElementClass(HTMLNames::canvasTag, [DOMHTMLCanvasElement class]);
    126126    addElementClass(HTMLNames::captionTag, [DOMHTMLTableCaptionElement class]);
    127127    addElementClass(HTMLNames::colTag, [DOMHTMLTableColElement class]);
    128128    addElementClass(HTMLNames::colgroupTag, [DOMHTMLTableColElement class]);
     129    addElementClass(HTMLNames::delTag, [DOMHTMLModElement class]);
    129130    addElementClass(HTMLNames::dirTag, [DOMHTMLDirectoryElement class]);
    130131    addElementClass(HTMLNames::divTag, [DOMHTMLDivElement class]);
    131132    addElementClass(HTMLNames::dlTag, [DOMHTMLDListElement class]);
     133    addElementClass(HTMLNames::embedTag, [DOMHTMLEmbedElement class]);
    132134    addElementClass(HTMLNames::fieldsetTag, [DOMHTMLFieldSetElement class]);
    133135    addElementClass(HTMLNames::fontTag, [DOMHTMLFontElement class]);
     
    147149    addElementClass(HTMLNames::imgTag, [DOMHTMLImageElement class]);
    148150    addElementClass(HTMLNames::inputTag, [DOMHTMLInputElement class]);
     151    addElementClass(HTMLNames::insTag, [DOMHTMLModElement class]);
    149152    addElementClass(HTMLNames::isindexTag, [DOMHTMLIsIndexElement class]);
    150153    addElementClass(HTMLNames::labelTag, [DOMHTMLLabelElement class]);
     
    173176    addElementClass(HTMLNames::textareaTag, [DOMHTMLTextAreaElement class]);
    174177    addElementClass(HTMLNames::tfootTag, [DOMHTMLTableSectionElement class]);
     178    addElementClass(HTMLNames::thTag, [DOMHTMLTableCellElement class]);
    175179    addElementClass(HTMLNames::theadTag, [DOMHTMLTableSectionElement class]);
    176180    addElementClass(HTMLNames::titleTag, [DOMHTMLTitleElement class]);
    177181    addElementClass(HTMLNames::trTag, [DOMHTMLTableRowElement class]);
    178182    addElementClass(HTMLNames::ulTag, [DOMHTMLUListElement class]);
     183    addElementClass(HTMLNames::xmpTag, [DOMHTMLPreElement class]);
    179184
    180185#if ENABLE(SVG)
     
    294299}
    295300
    296 + (DOMNode *)_nodeWith:(WebCore::Node *)impl
     301+ (DOMNode *)_wrapNode:(WebCore::Node *)impl
    297302{
    298303    if (!impl)
     
    364369}
    365370
    366 + (id <DOMEventTarget>)_eventTargetWith:(WebCore::EventTarget *)eventTarget
     371+ (id <DOMEventTarget>)_wrapEventTarget:(WebCore::EventTarget *)eventTarget
    367372{
    368373    if (!eventTarget)
     
    370375   
    371376    // We don't have an ObjC binding for XMLHttpRequest
    372     return [DOMNode _nodeWith:eventTarget->toNode()];
     377    return [DOMNode _wrapNode:eventTarget->toNode()];
    373378}
    374379
     
    593598}
    594599
    595 + (DOMNodeFilter *)_nodeFilterWith:(WebCore::NodeFilter *)impl
     600+ (DOMNodeFilter *)_wrapNodeFilter:(WebCore::NodeFilter *)impl
    596601{
    597602    if (!impl)
     
    665670    if (!node)
    666671        return WebCore::NodeFilter::FILTER_REJECT;
    667     return [m_filter acceptNode:[DOMNode _nodeWith:node]];
     672    return [m_filter acceptNode:[DOMNode _wrapNode:node]];
    668673}
    669674
     
    683688    RefPtr<WebCore::NodeIterator> impl = [self _document]->createNodeIterator([root _node], whatToShow, cppFilter, expandEntityReferences, ec);
    684689    WebCore::raiseOnDOMError(ec);
    685     return [DOMNodeIterator _nodeIteratorWith:impl.get() filter:filter];
     690    return [DOMNodeIterator _wrapNodeIterator:impl.get() filter:filter];
    686691}
    687692
     
    694699    RefPtr<WebCore::TreeWalker> impl = [self _document]->createTreeWalker([root _node], whatToShow, cppFilter, expandEntityReferences, ec);
    695700    WebCore::raiseOnDOMError(ec);
    696     return [DOMTreeWalker _treeWalkerWith:impl.get() filter:filter];
     701    return [DOMTreeWalker _wrapTreeWalker:impl.get() filter:filter];
    697702}
    698703
     
    754759void ObjCEventListener::handleEvent(Event* event, bool)
    755760{
    756     [m_listener handleEvent:[DOMEvent _eventWith:event]];
     761    [m_listener handleEvent:[DOMEvent _wrapEvent:event]];
    757762}
    758763
  • trunk/WebCore/bindings/objc/DOMCSS.mm

    r19855 r20130  
    7070}
    7171
    72 + (DOMStyleSheet *)_styleSheetWith:(WebCore::StyleSheet *)impl
     72+ (DOMStyleSheet *)_wrapStyleSheet:(WebCore::StyleSheet *)impl
    7373{
    7474    if (!impl)
     
    109109}
    110110
    111 + (DOMCSSRule *)_CSSRuleWith:(WebCore::CSSRule *)impl
     111+ (DOMCSSRule *)_wrapCSSRule:(WebCore::CSSRule *)impl
    112112{
    113113    if (!impl)
     
    122122    switch (impl->type()) {
    123123        case DOM_UNKNOWN_RULE:
    124             wrapperClass = [DOMCSSRule class];
     124            wrapperClass = [DOMCSSUnknownRule class];
    125125            break;
    126126        case DOM_STYLE_RULE:
     
    168168}
    169169
    170 + (DOMCSSValue *)_CSSValueWith:(WebCore::CSSValue *)impl
     170+ (DOMCSSValue *)_wrapCSSValue:(WebCore::CSSValue *)impl
    171171{
    172172    if (!impl)
  • trunk/WebCore/bindings/objc/DOMEvents.mm

    r19855 r20130  
    6464}
    6565
    66 + (DOMEvent *)_eventWith:(WebCore::Event *)impl
     66+ (DOMEvent *)_wrapEvent:(WebCore::Event *)impl
    6767{
    6868    if (!impl)
  • trunk/WebCore/bindings/objc/DOMHTML.mm

    r19100 r20130  
    4949- (DOMDocumentFragment *)createDocumentFragmentWithMarkupString:(NSString *)markupString baseURL:(NSURL *)baseURL
    5050{
    51     return [DOMDocumentFragment _documentFragmentWith:createFragmentFromMarkup([self _document], markupString, [baseURL absoluteString]).get()];
     51    return [DOMDocumentFragment _wrapDocumentFragment:createFragmentFromMarkup([self _document], markupString, [baseURL absoluteString]).get()];
    5252}
    5353
     
    5555{
    5656    // FIXME: Since this is not a contextual fragment, it won't handle whitespace properly.
    57     return [DOMDocumentFragment _documentFragmentWith:createFragmentFromText([self _document]->createRange().get(), text).get()];
     57    return [DOMDocumentFragment _wrapDocumentFragment:createFragmentFromText([self _document]->createRange().get(), text).get()];
    5858}
    5959
  • trunk/WebCore/bindings/objc/DOMImplementationFront.cpp

    r16241 r20130  
    2626#include "DOMImplementation.h"
    2727#include "HTMLDocument.h"
     28#include "JSDOMImplementation.h"
    2829
    2930namespace WebCore {
     
    3233{
    3334    return reinterpret_cast<DOMImplementationFront*>(document->implementation());
     35}
     36
     37DOMImplementationFront* implementationFront(JSDOMImplementation* wrapper)
     38{
     39    return reinterpret_cast<DOMImplementationFront*>(wrapper->impl());
    3440}
    3541
  • trunk/WebCore/bindings/objc/DOMImplementationFront.h

    r16241 r20130  
    3737class DocumentType;
    3838class HTMLDocument;
     39class JSDOMImplementation;
    3940class String;
    4041
     
    5455
    5556DOMImplementationFront* implementationFront(Document*);
     57DOMImplementationFront* implementationFront(JSDOMImplementation*);
    5658
    5759} // namespace WebCore
  • trunk/WebCore/bindings/objc/DOMInternal.h

    r19855 r20130  
    303303
    304304@interface DOMRGBColor (WebCoreInternal)
    305 + (DOMRGBColor *)_RGBColorWithRGB:(WebCore::RGBA32)value;
     305+ (DOMRGBColor *)_wrapRGBColor:(WebCore::RGBA32)value;
    306306- (WebCore::RGBA32)_RGBColor;
    307307@end
     
    310310
    311311@interface DOMNodeFilter : DOMObject <DOMNodeFilter>
    312 + (DOMNodeFilter *)_nodeFilterWith:(WebCore::NodeFilter *)impl;
     312+ (DOMNodeFilter *)_wrapNodeFilter:(WebCore::NodeFilter *)impl;
    313313@end
    314314
    315 
    316315#if ENABLE(XPATH)
     316
    317317// XPath Internal Interfaces
    318318
    319319@interface DOMNativeXPathNSResolver : DOMObject <DOMXPathNSResolver>
    320 + (DOMNativeXPathNSResolver *)_xpathNSResolverWith:(WebCore::XPathNSResolver *)impl;
     320+ (DOMNativeXPathNSResolver *)_wrapXPathNSResolver:(WebCore::XPathNSResolver *)impl;
    321321- (WebCore::XPathNSResolver *)_xpathNSResolver;
    322322@end
     
    326326// Helper functions for DOM wrappers and gluing to Objective-C
    327327
    328 namespace KJS {
    329     id createDOMWrapper(KJS::JSObject*, PassRefPtr<Bindings::RootObject> origin, PassRefPtr<Bindings::RootObject> current);
    330 } // namespace KJS
    331 
    332328namespace WebCore {
     329
     330    id createDOMWrapper(KJS::JSObject*, PassRefPtr<KJS::Bindings::RootObject> origin, PassRefPtr<KJS::Bindings::RootObject> current);
    333331
    334332    NSObject* getDOMWrapper(DOMObjectInternal*);
  • trunk/WebCore/bindings/objc/DOMObject.mm

    r16947 r20130  
    8686        return nil;
    8787
    88     return [DOMStyleSheet _styleSheetWith:styleSheet];
     88    return [DOMStyleSheet _wrapStyleSheet:styleSheet];
    8989}
    9090
  • trunk/WebCore/bindings/objc/DOMRGBColor.mm

    r16982 r20130  
    8282    WebCore::RGBA32 rgb = reinterpret_cast<uintptr_t>(_internal);
    8383    int value = (rgb >> 16) & 0xFF;
    84     return [DOMCSSPrimitiveValue _CSSPrimitiveValueWith:new WebCore::CSSPrimitiveValue(value, WebCore::CSSPrimitiveValue::CSS_NUMBER)];
     84    return [DOMCSSPrimitiveValue _wrapCSSPrimitiveValue:new WebCore::CSSPrimitiveValue(value, WebCore::CSSPrimitiveValue::CSS_NUMBER)];
    8585}
    8686
     
    8989    WebCore::RGBA32 rgb = reinterpret_cast<uintptr_t>(_internal);
    9090    int value = (rgb >> 8) & 0xFF;
    91     return [DOMCSSPrimitiveValue _CSSPrimitiveValueWith:new WebCore::CSSPrimitiveValue(value, WebCore::CSSPrimitiveValue::CSS_NUMBER)];
     91    return [DOMCSSPrimitiveValue _wrapCSSPrimitiveValue:new WebCore::CSSPrimitiveValue(value, WebCore::CSSPrimitiveValue::CSS_NUMBER)];
    9292}
    9393
     
    9696    WebCore::RGBA32 rgb = reinterpret_cast<uintptr_t>(_internal);
    9797    int value = rgb & 0xFF;
    98     return [DOMCSSPrimitiveValue _CSSPrimitiveValueWith:new WebCore::CSSPrimitiveValue(value, WebCore::CSSPrimitiveValue::CSS_NUMBER)];
     98    return [DOMCSSPrimitiveValue _wrapCSSPrimitiveValue:new WebCore::CSSPrimitiveValue(value, WebCore::CSSPrimitiveValue::CSS_NUMBER)];
    9999}
    100100
     
    103103    WebCore::RGBA32 rgb = reinterpret_cast<uintptr_t>(_internal);
    104104    float value = static_cast<float>(WebCore::Color(rgb).alpha()) / 0xFF;
    105     return [DOMCSSPrimitiveValue _CSSPrimitiveValueWith:new WebCore::CSSPrimitiveValue(value, WebCore::CSSPrimitiveValue::CSS_NUMBER)];
     105    return [DOMCSSPrimitiveValue _wrapCSSPrimitiveValue:new WebCore::CSSPrimitiveValue(value, WebCore::CSSPrimitiveValue::CSS_NUMBER)];
    106106   
    107107}
     
    141141}
    142142
    143 + (DOMRGBColor *)_RGBColorWithRGB:(WebCore::RGBA32)value
     143+ (DOMRGBColor *)_wrapRGBColor:(WebCore::RGBA32)value
    144144{
    145145    id cachedInstance;
  • trunk/WebCore/bindings/objc/DOMSVGPathSegInternal.mm

    r19855 r20130  
    7474}
    7575
    76 + (DOMSVGPathSeg *)_SVGPathSegWith:(WebCore::SVGPathSeg *)impl
     76+ (DOMSVGPathSeg *)_wrapSVGPathSeg:(WebCore::SVGPathSeg *)impl
    7777{
    7878    if (!impl)
  • trunk/WebCore/bindings/objc/DOMUtility.mm

    r19183 r20130  
    11/*
    2  * Copyright (C) 2004-2006 Apple Computer, Inc. All rights reserved.
     2 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
    33 * Copyright (C) 2006 James G. Speth (speth@end.com)
    44 *
     
    2525 */
    2626
    27 #include "config.h"
     27#import "config.h"
    2828
     29#import "DOMImplementationFront.h"
    2930#import "DOMInternal.h"
    3031#import "JSCSSRuleList.h"
     32#import "JSCounter.h"
     33#import "JSDOMImplementation.h"
     34#import "JSEvent.h"
     35#import "JSHTMLOptionsCollection.h"
     36#import "JSNodeIterator.h"
     37#import "JSRange.h"
     38#import "JSTreeWalker.h"
     39#import "JSXPathExpression.h"
     40#import "JSXPathResult.h"
    3141#import "Node.h"
    3242#import "WebScriptObjectPrivate.h"
    3343#import "kjs_css.h"
    3444#import "kjs_dom.h"
     45#import "kjs_html.h"
     46#import "kjs_window.h"
    3547#import <objc/objc-runtime.h>
    3648
    37 // This file makes use of the ObjC DOM API, and the C++ DOM API, so we need to be careful about what
    38 // headers are included to avoid naming conflicts.
     49// This file makes use of both the ObjC DOM API and the C++ DOM API, so we need to be careful about what
     50// headers are included and what namespaces we use to avoid naming conflicts.
     51
     52// FIXME: This has to be in the KJS namespace to avoid an Objective-C++ ambiguity with C++ and
     53// Objective-C classes of the same name (even when not in the same namespace). That's also the
     54// reason for the use of objc_getClass in the WRAP_OLD macro below.
     55
     56// Some day if the compiler is fixed, or if all the JS wrappers are named with a "JS" prefix,
     57// we could move the function into the WebCore namespace where it belongs.
    3958
    4059namespace KJS {
    4160
    42 id createDOMWrapper(JSObject* object, PassRefPtr<Bindings::RootObject> origin, PassRefPtr<Bindings::RootObject> current)
     61static inline id createDOMWrapper(KJS::JSObject* object)
    4362{
    44     id newObj = nil;
    45    
    46     if (object->inherits(&DOMNode::info))
    47         newObj = [objc_getClass("DOMNode") _nodeWith:static_cast<DOMNode*>(object)->impl()];
    48     else if (object->inherits(&DOMNodeList::info))
    49         newObj = [objc_getClass("DOMNodeList") _nodeListWith:static_cast<DOMNodeList*>(object)->impl()];
    50     else if (object->inherits(&DOMNamedNodeMap::info))
    51         newObj = [objc_getClass("DOMNamedNodeMap") _namedNodeMapWith:static_cast<DOMNamedNodeMap*>(object)->impl()];
    52     else if (object->inherits(&DOMStyleSheetList::info))
    53         newObj = [objc_getClass("DOMStyleSheetList") _styleSheetListWith:static_cast<DOMStyleSheetList*>(object)->impl()];
    54     else if (object->inherits(&DOMStyleSheet::info))
    55         newObj = [objc_getClass("DOMStyleSheet") _styleSheetWith:static_cast<DOMStyleSheet*>(object)->impl()];
    56     else if (object->inherits(&DOMMediaList::info))
    57         newObj = [objc_getClass("DOMMediaList") _mediaListWith:static_cast<DOMMediaList*>(object)->impl()];
    58     else if (object->inherits(&WebCore::JSCSSRuleList::info))
    59         newObj = [objc_getClass("DOMCSSRuleList") _CSSRuleListWith:static_cast<WebCore::JSCSSRuleList*>(object)->impl()];
    60     else if (object->inherits(&DOMCSSRule::info))
    61         newObj = [objc_getClass("DOMCSSRule") _CSSRuleWith:static_cast<DOMCSSRule*>(object)->impl()];
    62     else if (object->inherits(&DOMCSSStyleDeclaration::info))
    63         newObj = [objc_getClass("DOMCSSStyleDeclaration") _CSSStyleDeclarationWith:static_cast<DOMCSSStyleDeclaration*>(object)->impl()];
    64     else if (object->inherits(&DOMCSSValue::info))
    65         newObj = [objc_getClass("DOMCSSValue") _CSSValueWith:static_cast<DOMCSSValue*>(object)->impl()];
    66    
    67     [newObj _initializeWithObjectImp:object originRootObject:origin rootObject:current];
    68     return newObj;
     63    #define WRAP(className) \
     64        if (object->inherits(&WebCore::JS##className::info)) \
     65            return [DOM##className _wrap##className:static_cast<WebCore::JS##className*>(object)->impl()];
     66
     67    WRAP(CSSRuleList)
     68    WRAP(Counter)
     69    WRAP(HTMLOptionsCollection)
     70    WRAP(Range)
     71    WRAP(XPathExpression)
     72    WRAP(XPathResult)
     73
     74    #undef WRAP
     75
     76    #define WRAP(className) \
     77        if (object->inherits(&DOM##className::info)) \
     78            return [objc_getClass("DOM" #className) _wrap##className:static_cast<DOM##className*>(object)->impl()];
     79
     80    WRAP(CSSRule)
     81    WRAP(CSSStyleDeclaration)
     82    WRAP(CSSValue)
     83    WRAP(Event)
     84    WRAP(MediaList)
     85    WRAP(NamedNodeMap)
     86    WRAP(Node)
     87    WRAP(NodeList)
     88    WRAP(RGBColor)
     89    WRAP(Rect)
     90    WRAP(StyleSheet)
     91    WRAP(StyleSheetList)
     92
     93    #undef WRAP
     94
     95    if (object->inherits(&Window::info))
     96        return [DOMAbstractView _wrapAbstractView:static_cast<Window*>(object)->impl()];
     97    if (object->inherits(&WebCore::JSDOMImplementation::info))
     98        return [DOMImplementation _wrapDOMImplementation:implementationFront(static_cast<WebCore::JSDOMImplementation*>(object))];
     99    if (object->inherits(&WebCore::JSNodeIterator::info))
     100        return [DOMNodeIterator _wrapNodeIterator:static_cast<WebCore::JSNodeIterator*>(object)->impl() filter:nil];
     101    if (object->inherits(&WebCore::JSTreeWalker::info))
     102        return [DOMTreeWalker _wrapTreeWalker:static_cast<WebCore::JSTreeWalker*>(object)->impl() filter:nil];
     103
     104    // This must be after the HTMLOptionsCollection check, because it's a subclass in the JavaScript
     105    // binding, but not a subclass in the ObjC binding.
     106    if (object->inherits(&JSHTMLCollection::info))
     107        return [DOMHTMLCollection _wrapHTMLCollection:static_cast<JSHTMLCollection*>(object)->impl()];
     108
     109    return nil;
    69110}
    70111
    71 } // namespace KJS
     112}
     113
     114namespace WebCore {
     115
     116id createDOMWrapper(KJS::JSObject* object, PassRefPtr<KJS::Bindings::RootObject> origin, PassRefPtr<KJS::Bindings::RootObject> current)
     117{
     118    id wrapper = KJS::createDOMWrapper(object);
     119    [wrapper _initializeWithObjectImp:object originRootObject:origin rootObject:current];
     120    return wrapper;
     121}
     122
     123}
  • trunk/WebCore/bindings/objc/DOMXPath.mm

    r19855 r20130  
    7272}
    7373
    74 + (DOMNativeXPathNSResolver *)_xpathNSResolverWith:(WebCore::XPathNSResolver *)impl
     74+ (DOMNativeXPathNSResolver *)_wrapXPathNSResolver:(WebCore::XPathNSResolver *)impl
    7575{
    7676    if (!impl)
  • trunk/WebCore/bindings/objc/PublicDOMInterfaces.h

    r19855 r20130  
    324324@end
    325325
     326@interface DOMHTMLCanvasElement : DOMHTMLElement
     327@property int height;
     328@property int width;
     329@end
     330
    326331@interface DOMHTMLCollection : DOMObject
    327332@property(readonly) unsigned length;
     
    934939@property(readonly) BOOL horizontalOverflow;
    935940@property(readonly) BOOL verticalOverflow;
     941- (void)initOverflowEvent:(unsigned short)orient horizontalOverflow:(BOOL)horizontalOverflow verticalOverflow:(BOOL)verticalOverflow;
    936942@end
    937943
  • trunk/WebCore/bindings/objc/WebScriptObject.mm

    r20104 r20130  
    11/*
    2  * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
     2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    455455        }
    456456
    457         if (id domWrapper = createDOMWrapper(object, originRootObject, rootObject))
     457        if (id domWrapper = WebCore::createDOMWrapper(object, originRootObject, rootObject))
    458458            return domWrapper;
    459459
  • trunk/WebCore/bindings/scripts/CodeGeneratorObjC.pm

    r20048 r20130  
    332332    my $name = $codeGenerator->StripModule(shift);
    333333
    334     # special cases
    335334    return "DOMImplementationFront" if $name eq "DOMImplementation";
    336335    return "RectImpl" if $name eq "Rect";
    337336    return "DOMWindow" if $name eq "AbstractView";
    338 
    339337    return $name;
    340338}
     
    479477
    480478    return "" if $codeGenerator->IsNonPointerType($type) or $codeGenerator->IsStringType($type) or IsNativeObjCType($type);
    481     return "_RGBColorWithRGB" if $type eq "RGBColor";
    482 
    483     my $typeMaker = "";
    484     if ($type =~ /^(HTML|CSS|SVG)/ or $type eq "DOMImplementation" or $type eq "CDATASection") {
    485         $typeMaker = $type;
    486     } elsif ($type =~ /^XPath(.+)/) {
    487         $typeMaker = "xpath" . $1;
    488     } elsif ($type eq "DOMWindow") {
    489         $typeMaker = "abstractView";
    490     } else {
    491         $typeMaker = lcfirst($type);
    492     }
    493 
    494     # put into the form "_fooBarWith" for type FooBar.
    495     $typeMaker = "_" . $typeMaker . "With";
    496     return $typeMaker;
     479    return "_wrapAbstractView" if $type eq "DOMWindow";
     480    return "_wrap$type";
    497481}
    498482
     
    13381322                push(@functionContent, "        ec = WebCore::SVG_INVALID_VALUE_ERR;\n");
    13391323                push(@functionContent, "    $exceptionRaiseOnError\n");
    1340                 push(@functionContent, "    return [DOMSVGMatrix _SVGMatrixWith:$content];\n");
     1324                push(@functionContent, "    return [DOMSVGMatrix _wrapSVGMatrix:$content];\n");
    13411325            } elsif ($svgMatrixInverse) {
    13421326                # Special case with inverse & SVGMatrix
     
    13451329                push(@functionContent, "        ec = WebCore::SVG_MATRIX_NOT_INVERTABLE;\n");
    13461330                push(@functionContent, "    $exceptionRaiseOnError\n");
    1347                 push(@functionContent, "    return [DOMSVGMatrix _SVGMatrixWith:$content];\n");
     1331                push(@functionContent, "    return [DOMSVGMatrix _wrapSVGMatrix:$content];\n");
    13481332            } elsif ($returnType eq "void") {
    13491333                # Special case 'void' return type.
     
    14971481    push(@internalHeaderContent, $typeMakerSig . ";\n");
    14981482    if ($interfaceName eq "Node") {
    1499         push(@internalHeaderContent, "+ (id <DOMEventTarget>)_eventTargetWith:(WebCore::EventTarget *)eventTarget;\n");
     1483        push(@internalHeaderContent, "+ (id <DOMEventTarget>)_wrapEventTarget:(WebCore::EventTarget *)eventTarget;\n");
    15001484    }
    15011485    push(@internalHeaderContent, "\@end\n");
     
    15311515            push(@implContent, "}\n\n");
    15321516
    1533             # - (DOMFooBar)_FooBarWith:(WebCore::FooBar)impl for implementation class FooBar
     1517            # - (DOMFooBar)_wrapFooBar:(WebCore::FooBar)impl for implementation class FooBar
    15341518            push(@implContent, "$typeMakerSig\n");
    15351519            push(@implContent, "{\n");
     
    15531537            push(@implContent, "}\n\n");
    15541538
    1555             # - (DOMFooBar)_FooBarWith:(WebCore::FooBar *)impl for implementation class FooBar
     1539            # - (DOMFooBar)_wrapFooBar:(WebCore::FooBar *)impl for implementation class FooBar
    15561540            push(@implContent, "$typeMakerSig\n");
    15571541            push(@implContent, "{\n");
     
    15691553            my $internalBaseTypeMaker = GetObjCTypeMaker($baseClass);
    15701554
    1571             # - (DOMFooBar)_FooBarWith:(WebCore::FooBar *)impl for implementation class FooBar
     1555            # - (DOMFooBar)_wrapFooBar:(WebCore::FooBar *)impl for implementation class FooBar
    15721556            push(@implContent, "$typeMakerSig\n");
    15731557            push(@implContent, "{\n");
  • trunk/WebCore/dom/Document.cpp

    r20090 r20130  
    7676#include "NodeFilter.h"
    7777#include "NodeIterator.h"
     78#include "OverflowEvent.h"
    7879#include "PlatformKeyboardEvent.h"
    7980#include "ProcessingInstruction.h"
     
    9394#include "TreeWalker.h"
    9495#include "UIEvent.h"
     96#include "WheelEvent.h"
    9597#include "XMLTokenizer.h"
    9698#include "csshelper.h"
     
    23042306    if (eventType == "TextEvent")
    23052307        return new TextEvent;
     2308    if (eventType == "OverflowEvent")
     2309        return new OverflowEvent;
     2310    if (eventType == "WheelEvent")
     2311        return new WheelEvent;
    23062312#if ENABLE(SVG)
    23072313    if (eventType == "SVGEvents")
  • trunk/WebCore/dom/OverflowEvent.cpp

    r15191 r20130  
    11/*
    2  * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
     2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    2323 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2424 */
     25
    2526#include "config.h"
     27#include "OverflowEvent.h"
    2628
    27 #include "OverflowEvent.h"
    2829#include "EventNames.h"
    2930
     
    3233using namespace EventNames;
    3334   
     35OverflowEvent::OverflowEvent()
     36    : Event(overflowchangedEvent, false, false)
     37    , m_orient(VERTICAL)
     38    , m_horizontalOverflow(false)
     39    , m_verticalOverflow(false)
     40{
     41}
     42
    3443OverflowEvent::OverflowEvent(bool horizontalOverflowChanged, bool horizontalOverflow, bool verticalOverflowChanged, bool verticalOverflow)
    3544    : Event(overflowchangedEvent, false, false)
     
    3847{
    3948    ASSERT(horizontalOverflowChanged || verticalOverflowChanged);
    40        
     49
    4150    if (horizontalOverflowChanged && verticalOverflowChanged)
    4251        m_orient = BOTH;
     
    5261}
    5362
     63void OverflowEvent::initOverflowEvent(unsigned short orient, bool horizontalOverflow, bool verticalOverflow)
     64{
     65    if (dispatched())
     66        return;
     67   
     68    m_orient = orient;
     69    m_horizontalOverflow = horizontalOverflow;
     70    m_verticalOverflow = verticalOverflow;
    5471}
    5572
     73}
  • trunk/WebCore/dom/OverflowEvent.h

    r15191 r20130  
    11/*
    2  * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
     2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
    33 *
    44 * Redistribution and use in source and binary forms, with or without
     
    3838            BOTH       = 2
    3939        };
    40        
     40
     41        OverflowEvent();
    4142        OverflowEvent(bool horizontalOverflowChanged, bool horizontalOverflow, bool verticalOverflowChanged, bool verticalOverflow);
    42        
    43         virtual bool isOverflowEvent() const;
    44        
     43
     44        void initOverflowEvent(unsigned short orient, bool horizontalOverflow, bool verticalOverflow);
     45
    4546        unsigned short orient() const { return m_orient; }
    4647        bool horizontalOverflow() const { return m_horizontalOverflow; }
    4748        bool verticalOverflow() const { return m_verticalOverflow; }
     49
     50        virtual bool isOverflowEvent() const;
    4851       
    4952    private:
  • trunk/WebCore/dom/OverflowEvent.idl

    r16645 r20130  
    11/*
    2  * Copyright (C) 2006 Apple Computer, Inc.
     2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
    33 *
    4  * This library is free software; you can redistribute it and/or
    5  * modify it under the terms of the GNU Library General Public
    6  * License as published by the Free Software Foundation; either
    7  * version 2 of the License, or (at your option) any later version.
     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.
    812 *
    9  * This library is distributed in the hope that it will be useful,
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    12  * Library General Public License for more details.
    13  *
    14  * You should have received a copy of the GNU Library General Public License
    15  * along with this library; see the file COPYING.LIB.  If not, write to
    16  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    17  * Boston, MA 02111-1307, USA.
     13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, 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 COMPUTER, 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.
    1824 */
    1925module events {
     
    2733        readonly attribute boolean horizontalOverflow;
    2834        readonly attribute boolean verticalOverflow;       
     35
     36        void initOverflowEvent(in unsigned short orient,
     37                               in boolean horizontalOverflow,
     38                               in boolean verticalOverflow);
    2939    };
    3040
  • trunk/WebCore/html/HTMLCanvasElement.idl

    r19024 r20130  
    3131        attribute long height;
    3232
     33#if !defined(LANGUAGE_OBJECTIVE_C)
    3334        DOMObject getContext(in DOMString contextId);
     35#endif
    3436
    3537    };
  • trunk/WebCore/html/HTMLOptionsCollection.idl

    r19800 r20130  
    2323    // FIXME: The W3C spec says that HTMLOptionsCollection should not have a parent class.
    2424
    25     interface [LegacyParent=KJS::JSHTMLCollection, HasCustomIndexSetter] HTMLOptionsCollection : HTMLCollection {
     25    interface [LegacyParent=KJS::JSHTMLCollection, GenerateNativeConverter, HasCustomIndexSetter] HTMLOptionsCollection : HTMLCollection {
    2626                 attribute long selectedIndex;
    2727                 attribute [Custom] unsigned long length
  • trunk/WebCore/page/mac/WebCoreFrameBridge.mm

    r19838 r20130  
    333333    NSMutableArray *nodes = [NSMutableArray arrayWithCapacity:size];
    334334    for (size_t i = 0; i < size; ++i)
    335         [nodes addObject:[DOMNode _nodeWith:(*nodesVector)[i]]];
     335        [nodes addObject:[DOMNode _wrapNode:(*nodesVector)[i]]];
    336336    return nodes;
    337337}
     
    550550            // Skip option elements, other duds
    551551            if (elt->name() == targetName)
    552                 return [DOMElement _elementWith:elt];
     552                return [DOMElement _wrapElement:elt];
    553553        }
    554554    }
     
    577577        HTMLFormElement *formElement = inputElement->form();
    578578        if (formElement) {
    579             return [DOMElement _elementWith:formElement];
     579            return [DOMElement _wrapElement:formElement];
    580580        }
    581581    }
     
    585585- (DOMElement *)currentForm
    586586{
    587     return [DOMElement _elementWith:m_frame->currentForm()];
     587    return [DOMElement _wrapElement:m_frame->currentForm()];
    588588}
    589589
     
    596596        for (unsigned int i = 0; i < elements.size(); i++) {
    597597            if (elements.at(i)->isEnumeratable()) { // Skip option elements, other duds
    598                 DOMElement *de = [DOMElement _elementWith:elements.at(i)];
     598                DOMElement *de = [DOMElement _wrapElement:elements.at(i)];
    599599                if (!results) {
    600600                    results = [NSMutableArray arrayWithObject:de];
     
    839839    selectionController.setSelection(m_frame->selectionController()->selection());
    840840    selectionController.modify(alteration, direction, granularity);
    841     return [DOMRange _rangeWith:selectionController.toRange().get()];
     841    return [DOMRange _wrapRange:selectionController.toRange().get()];
    842842}
    843843
     
    902902- (DOMRange *)convertNSRangeToDOMRange:(NSRange)nsrange
    903903{
    904     return [DOMRange _rangeWith:[self convertToDOMRange:nsrange].get()];
     904    return [DOMRange _wrapRange:[self convertToDOMRange:nsrange].get()];
    905905}
    906906
     
    928928- (DOMRange *)markDOMRange
    929929{
    930     return [DOMRange _rangeWith:m_frame->mark().toRange().get()];
     930    return [DOMRange _wrapRange:m_frame->mark().toRange().get()];
    931931}
    932932
     
    938938- (DOMRange *)markedTextDOMRange
    939939{
    940     return [DOMRange _rangeWith:m_frame->markedTextRange()];
     940    return [DOMRange _wrapRange:m_frame->markedTextRange()];
    941941}
    942942
     
    990990    range->setStart(newStart.node(), newStart.offset(), exception);
    991991    range->setEnd(newStart.node(), newStart.offset(), exception);
    992     return [DOMRange _rangeWith:range.get()];
     992    return [DOMRange _wrapRange:range.get()];
    993993}
    994994
     
    10561056        return 0;
    10571057
    1058     return [DOMDocumentFragment _documentFragmentWith:createFragmentFromMarkup(m_frame->document(), markupString, baseURLString).get()];
     1058    return [DOMDocumentFragment _wrapDocumentFragment:createFragmentFromMarkup(m_frame->document(), markupString, baseURLString).get()];
    10591059}
    10601060
    10611061- (DOMDocumentFragment *)documentFragmentWithText:(NSString *)text inContext:(DOMRange *)context
    10621062{
    1063     return [DOMDocumentFragment _documentFragmentWith:createFragmentFromText([context _range], text).get()];
     1063    return [DOMDocumentFragment _wrapDocumentFragment:createFragmentFromText([context _range], text).get()];
    10641064}
    10651065
     
    10751075        nodesVector.append([node _node]);
    10761076   
    1077     return [DOMDocumentFragment _documentFragmentWith:createFragmentFromNodes(m_frame->document(), nodesVector).get()];
     1077    return [DOMDocumentFragment _wrapDocumentFragment:createFragmentFromNodes(m_frame->document(), nodesVector).get()];
    10781078}
    10791079
     
    10891089- (void)replaceSelectionWithNode:(DOMNode *)node selectReplacement:(BOOL)selectReplacement smartReplace:(BOOL)smartReplace matchStyle:(BOOL)matchStyle
    10901090{
    1091     DOMDocumentFragment *fragment = [DOMDocumentFragment _documentFragmentWith:m_frame->document()->createDocumentFragment().get()];
     1091    DOMDocumentFragment *fragment = [DOMDocumentFragment _wrapDocumentFragment:m_frame->document()->createDocumentFragment().get()];
    10921092    [fragment appendChild:node];
    10931093    [self replaceSelectionWithFragment:fragment selectReplacement:selectReplacement smartReplace:smartReplace matchStyle:matchStyle];
     
    11031103{
    11041104    [self replaceSelectionWithFragment:[self documentFragmentWithText:text
    1105         inContext:[DOMRange _rangeWith:m_frame->selectionController()->toRange().get()]]
     1105        inContext:[DOMRange _wrapRange:m_frame->selectionController()->toRange().get()]]
    11061106        selectReplacement:selectReplacement smartReplace:smartReplace matchStyle:YES];
    11071107}
     
    11241124    Node* newList = IncreaseSelectionListLevelCommand::increaseSelectionListLevel(m_frame->document());
    11251125    m_frame->revealSelection(RenderLayer::gAlignToEdgeIfNeeded);
    1126     return [DOMNode _nodeWith:newList];
     1126    return [DOMNode _wrapNode:newList];
    11271127}
    11281128
     
    11341134    Node* newList = IncreaseSelectionListLevelCommand::increaseSelectionListLevelOrdered(m_frame->document());
    11351135    m_frame->revealSelection(RenderLayer::gAlignToEdgeIfNeeded);
    1136     return [DOMNode _nodeWith:newList];
     1136    return [DOMNode _wrapNode:newList];
    11371137}
    11381138
     
    11441144    Node* newList = IncreaseSelectionListLevelCommand::increaseSelectionListLevelUnordered(m_frame->document());
    11451145    m_frame->revealSelection(RenderLayer::gAlignToEdgeIfNeeded);
    1146     return [DOMNode _nodeWith:newList];
     1146    return [DOMNode _wrapNode:newList];
    11471147}
    11481148
     
    11991199- (DOMRange *)dragCaretDOMRange
    12001200{
    1201     return [DOMRange _rangeWith:m_frame->dragCaretController()->toRange().get()];
     1201    return [DOMRange _wrapRange:m_frame->dragCaretController()->toRange().get()];
    12021202}
    12031203
     
    12101210{
    12111211    VisiblePosition position = [self _visiblePositionForPoint:point];
    1212     return position.isNull() ? nil : [DOMRange _rangeWith:Selection(position).toRange().get()];
     1212    return position.isNull() ? nil : [DOMRange _wrapRange:Selection(position).toRange().get()];
    12131213}
    12141214
     
    12211221    VisiblePosition previous = position.previous();
    12221222    if (previous.isNotNull()) {
    1223         DOMRange *previousCharacterRange = [DOMRange _rangeWith:makeRange(previous, position).get()];
     1223        DOMRange *previousCharacterRange = [DOMRange _wrapRange:makeRange(previous, position).get()];
    12241224        NSRect rect = [self firstRectForDOMRange:previousCharacterRange];
    12251225        if (NSPointInRect(point, rect))
     
    12291229    VisiblePosition next = position.next();
    12301230    if (next.isNotNull()) {
    1231         DOMRange *nextCharacterRange = [DOMRange _rangeWith:makeRange(position, next).get()];
     1231        DOMRange *nextCharacterRange = [DOMRange _wrapRange:makeRange(position, next).get()];
    12321232        NSRect rect = [self firstRectForDOMRange:nextCharacterRange];
    12331233        if (NSPointInRect(point, rect))
     
    12601260    if (!m_frame || !m_frame->typingStyle())
    12611261        return nil;
    1262     return [DOMCSSStyleDeclaration _CSSStyleDeclarationWith:m_frame->typingStyle()->copy().get()];
     1262    return [DOMCSSStyleDeclaration _wrapCSSStyleDeclaration:m_frame->typingStyle()->copy().get()];
    12631263}
    12641264
     
    13401340        return nil;
    13411341
    1342     return [DOMRange _rangeWith:makeRange(previous, next).get()];
     1342    return [DOMRange _wrapRange:makeRange(previous, next).get()];
    13431343}
    13441344
  • trunk/WebCore/platform/mac/ClipboardMac.mm

    r19808 r20130  
    333333    ASSERT(frame);
    334334    if (Page* page = frame->page())
    335         page->dragController()->client()->declareAndWriteDragImage(m_pasteboard.get(), [DOMElement _elementWith:element], url.getNSURL(), title, frame, Clipboard::canSaveAsWebArchive(frame));
     335        page->dragController()->client()->declareAndWriteDragImage(m_pasteboard.get(), [DOMElement _wrapElement:element], url.getNSURL(), title, frame, Clipboard::canSaveAsWebArchive(frame));
    336336}
    337337   
  • trunk/WebCore/platform/mac/PasteboardMac.mm

    r19920 r20130  
    139139        Pasteboard::generalPasteboard(); //Initialises pasteboard types
    140140   
    141     NSAttributedString *attributedString = [[[NSAttributedString alloc] _initWithDOMRange:[DOMRange _rangeWith:selectedRange]] autorelease];
     141    NSAttributedString *attributedString = [[[NSAttributedString alloc] _initWithDOMRange:[DOMRange _wrapRange:selectedRange]] autorelease];
    142142#ifdef BUILDING_ON_TIGER
    143143    // 4930197: Mail overrides [WebHTMLView pasteboardTypesForSelection] in order to add another type to the pasteboard
  • trunk/WebKit/ChangeLog

    r20125 r20130  
     12007-03-12  Darin Adler  <darin@apple.com>
     2
     3        Reviewed by Tim Hatcher.
     4
     5        - update for the new naming scheme for the Objective-C wrapper-creation
     6          functions: _wrapElement: instead of _elementWith:, etc.
     7
     8        * WebCoreSupport/WebEditorClient.mm:
     9        (WebEditorClient::textFieldDidBeginEditing):
     10        (WebEditorClient::textFieldDidEndEditing):
     11        (WebEditorClient::textDidChangeInTextField):
     12        (WebEditorClient::doTextFieldCommandFromEvent):
     13        (WebEditorClient::textWillBeDeletedInTextField):
     14        (WebEditorClient::textDidChangeInTextArea):
     15        * WebCoreSupport/WebFrameLoaderClient.mm:
     16        (WebFrameLoaderClient::createPlugin):
     17        (WebFrameLoaderClient::createJavaAppletWidget):
     18        * WebView/WebFrame.mm: (kit):
     19        Use the _wrapElement-style functions.
     20
    1212007-03-12  Anders Carlsson  <acarlsson@apple.com>
    222
  • trunk/WebKit/WebCoreSupport/WebEditorClient.mm

    r20108 r20130  
    443443void WebEditorClient::textFieldDidBeginEditing(WebCore::Element* element)
    444444{
    445     DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _HTMLInputElementWith:(WebCore::HTMLInputElement*)element];
     445    DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element];
    446446    FormDelegateLog(inputElement);
    447447    [[m_webView _formDelegate] textFieldDidBeginEditing:inputElement inFrame:kit(element->document()->frame())];
     
    450450void WebEditorClient::textFieldDidEndEditing(WebCore::Element* element)
    451451{
    452     DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _HTMLInputElementWith:(WebCore::HTMLInputElement*)element];
     452    DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element];
    453453    FormDelegateLog(inputElement);
    454454    [[m_webView _formDelegate] textFieldDidEndEditing:inputElement inFrame:kit(element->document()->frame())];
     
    457457void WebEditorClient::textDidChangeInTextField(WebCore::Element* element)
    458458{
    459     DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _HTMLInputElementWith:(WebCore::HTMLInputElement*)element];
     459    DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element];
    460460    FormDelegateLog(inputElement);
    461461    [[m_webView _formDelegate] textDidChangeInTextField:(DOMHTMLInputElement *)inputElement inFrame:kit(element->document()->frame())];
     
    486486bool WebEditorClient::doTextFieldCommandFromEvent(WebCore::Element* element, WebCore::KeyboardEvent* event)
    487487{
    488     DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _HTMLInputElementWith:(WebCore::HTMLInputElement*)element];
     488    DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element];
    489489
    490490    bool result = false;
     
    500500void WebEditorClient::textWillBeDeletedInTextField(WebCore::Element* element)
    501501{
    502     DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _HTMLInputElementWith:(WebCore::HTMLInputElement*)element];
     502    DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element];
    503503
    504504    // We're using the deleteBackward selector for all deletion operations since the autofill code treats all deletions the same way.
     
    509509void WebEditorClient::textDidChangeInTextArea(WebCore::Element* element)
    510510{
    511     DOMHTMLTextAreaElement* textAreaElement = [DOMHTMLTextAreaElement _HTMLTextAreaElementWith:(WebCore::HTMLTextAreaElement*)element];
     511    DOMHTMLTextAreaElement* textAreaElement = [DOMHTMLTextAreaElement _wrapHTMLTextAreaElement:(WebCore::HTMLTextAreaElement*)element];
    512512
    513513    FormDelegateLog(textAreaElement);
  • trunk/WebKit/WebCoreSupport/WebFrameLoaderClient.mm

    r20125 r20130  
    10881088                              attributeValues:nsArray(paramValues)
    10891089                              MIMEType:mimeType
    1090                               DOMElement:[DOMElement _elementWith:element]
     1090                              DOMElement:[DOMElement _wrapElement:element]
    10911091                              loadManually:loadManually]);
    10921092    END_BLOCK_OBJC_EXCEPTIONS;
     
    11131113                            attributeValues:nsArray(paramValues)
    11141114                            baseURL:baseURL.getNSURL()
    1115                             DOMElement:[DOMElement _elementWith:element]]);   
     1115                            DOMElement:[DOMElement _wrapElement:element]]);   
    11161116    END_BLOCK_OBJC_EXCEPTIONS;
    11171117   
  • trunk/WebKit/WebKit.xcodeproj/project.pbxproj

    r20104 r20130  
    13341334                        runOnlyForDeploymentPostprocessing = 0;
    13351335                        shellPath = /bin/sh;
    1336                         shellScript = "mkdir -p \"${TARGET_BUILD_DIR}/${PRIVATE_HEADERS_FOLDER_PATH}\"\nmkdir -p \"${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}\"\nmkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebKit\"\n\nif [ \"${ACTION}\" = \"build\" -o \"${ACTION}\" = \"install\" -o \"${ACTION}\" = \"installhdrs\" ]; then\n    make -f \"MigrateHeaders.make\" -j `/usr/sbin/sysctl -n hw.ncpu`\nfi\n";
     1336                        shellScript = "mkdir -p \"${TARGET_BUILD_DIR}/${PRIVATE_HEADERS_FOLDER_PATH}\"\nmkdir -p \"${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}\"\nmkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebKit\"\n\nif [ \"${ACTION}\" = \"build\" -o \"${ACTION}\" = \"install\" -o \"${ACTION}\" = \"installhdrs\" ]; then\n    make -f \"MigrateHeaders.make\" -j `/usr/sbin/sysctl -n hw.availcpu`\nfi\n";
    13371337                };
    13381338                939811300824BF01008DF038 /* Make Frameworks Symbolic Link */ = {
  • trunk/WebKit/WebView/WebFrame.mm

    r19830 r20130  
    158158DOMCSSStyleDeclaration *kit(WebCore::CSSStyleDeclaration* declaration)
    159159{
    160     return [DOMCSSStyleDeclaration _CSSStyleDeclarationWith:declaration];
     160    return [DOMCSSStyleDeclaration _wrapCSSStyleDeclaration:declaration];
    161161}
    162162
     
    168168DOMElement *kit(Element* element)
    169169{
    170     return [DOMElement _elementWith:element];
     170    return [DOMElement _wrapElement:element];
    171171}
    172172
     
    178178DOMNode *kit(Node* node)
    179179{
    180     return [DOMNode _nodeWith:node];
     180    return [DOMNode _wrapNode:node];
    181181}
    182182
     
    188188DOMDocument *kit(Document* document)
    189189{
    190     return [DOMDocument _documentWith:document];
     190    return [DOMDocument _wrapDocument:document];
    191191}
    192192
     
    198198DOMHTMLElement *kit(HTMLElement *element)
    199199{
    200     return [DOMHTMLElement _HTMLElementWith:element];
     200    return [DOMHTMLElement _wrapHTMLElement:element];
    201201}
    202202
     
    208208DOMRange *kit(Range* range)
    209209{
    210     return [DOMRange _rangeWith:range];
     210    return [DOMRange _wrapRange:range];
    211211}
    212212
Note: See TracChangeset for help on using the changeset viewer.