Changeset 20130 in webkit
- Timestamp:
- Mar 12, 2007, 5:49:02 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r20127 r20130 1 2007-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 1 13 2007-03-12 Antti Koivisto <antti@apple.com> 2 14 -
trunk/WebCore/CMakeLists.txt
r19855 r20130 232 232 233 233 dom/Attr.idl 234 dom/CDATASection.idl 234 235 dom/CharacterData.idl 236 dom/Comment.idl 237 dom/DOMImplementation.idl 238 dom/Document.idl 235 239 dom/DocumentFragment.idl 236 dom/Document.idl237 240 dom/DocumentType.idl 238 dom/DOMImplementation.idl239 241 dom/Element.idl 240 242 dom/Entity.idl 243 dom/EntityReference.idl 241 244 dom/Event.idl 242 245 dom/KeyboardEvent.idl 243 246 dom/MouseEvent.idl 244 247 dom/MutationEvent.idl 248 dom/Node.idl 245 249 dom/NodeFilter.idl 246 dom/Node.idl247 250 dom/NodeIterator.idl 248 251 dom/Notation.idl 249 252 dom/OverflowEvent.idl 250 253 dom/ProcessingInstruction.idl 254 dom/Range.idl 251 255 dom/RangeException.idl 252 dom/Range.idl253 256 dom/Text.idl 254 257 dom/TextEvent.idl -
trunk/WebCore/ChangeLog
r20129 r20130 1 2007-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 1 144 2007-03-12 Timothy Hatcher <timothy@apple.com> 2 145 … … 2701 2844 * bindings/objc/DOM.mm: 2702 2845 (WebCore::createElementClassMap): 2703 (+[DOMNode _nodeWith: WebCore::]):2846 (+[DOMNode _nodeWith:]): 2704 2847 * bindings/objc/DOMCSS.mm: 2705 (+[DOMCSSValue _CSSValueWith: WebCore::]):2848 (+[DOMCSSValue _CSSValueWith:]): 2706 2849 * bindings/objc/DOMCustomXPathNSResolver.h: 2707 2850 * bindings/objc/DOMCustomXPathNSResolver.mm: 2708 2851 * bindings/objc/DOMEvents.mm: 2709 (+[DOMEvent _eventWith: WebCore::]):2852 (+[DOMEvent _eventWith:]): 2710 2853 * bindings/objc/DOMInternal.h: 2711 2854 * bindings/objc/DOMSVGPathSegInternal.mm: … … 18854 18997 (-[SharedBufferData dealloc]): 18855 18998 (-[SharedBufferData finalize]): 18856 (-[SharedBufferData initWithSharedBuffer: WebCore::]):18999 (-[SharedBufferData initWithSharedBuffer:]): 18857 19000 (-[SharedBufferData length]): 18858 19001 (-[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. 2 2 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 3 # … … 81 81 DOMHTMLBodyElement.h \ 82 82 DOMHTMLButtonElement.h \ 83 DOMHTMLCanvasElement.h \ 83 84 DOMHTMLCollection.h \ 84 85 DOMHTMLDListElement.h \ … … 298 299 HTMLEntityNames.c \ 299 300 JSAttr.h \ 301 JSCDATASection.h \ 300 302 JSCSSPrimitiveValue.h \ 301 303 JSCSSRule.h \ … … 307 309 JSCanvasRenderingContext2D.h \ 308 310 JSCharacterData.h \ 311 JSComment.h \ 309 312 JSCounter.h \ 310 313 JSCSSStyleDeclaration.h \ … … 318 321 JSEvent.h \ 319 322 JSEntity.h \ 323 JSEntityReference.h \ 320 324 JSHTMLAppletElement.h \ 321 325 JSHTMLAnchorElement.h \ -
trunk/WebCore/WebCore.xcodeproj/project.pbxproj
r20075 r20130 1648 1648 93F19B1708245E59001E9ABC /* libicucore.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 93F1D31A0558CC5C00821BC0 /* libicucore.dylib */; }; 1649 1649 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 */; }; 1650 1659 93FDAFCA0B11307400E2746F /* EditorInsertAction.h in Headers */ = {isa = PBXBuildFile; fileRef = 93FDAFC90B11307400E2746F /* EditorInsertAction.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1651 1660 A70023FD0B02BEAB00170215 /* MimeTypeRegistry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A70023FB0B02BEAB00170215 /* MimeTypeRegistry.cpp */; }; … … 4677 4686 93F8B3070A300FEA00F61AB8 /* generate-bindings.pl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.perl; name = "generate-bindings.pl"; path = "scripts/generate-bindings.pl"; sourceTree = "<group>"; }; 4678 4687 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>"; }; 4679 4697 93FDAFC90B11307400E2746F /* EditorInsertAction.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = EditorInsertAction.h; sourceTree = "<group>"; }; 4680 4698 A70023FB0B02BEAB00170215 /* MimeTypeRegistry.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = MimeTypeRegistry.cpp; sourceTree = "<group>"; }; … … 6255 6273 isa = PBXGroup; 6256 6274 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 */, 6257 6439 B20111050AB7740500DB0E68 /* JSSVGAElement.cpp */, 6258 6440 B20111060AB7740500DB0E68 /* JSSVGAElement.h */, 6441 B222F6960AB771950022EFAD /* JSSVGAngle.cpp */, 6442 B222F6970AB771950022EFAD /* JSSVGAngle.h */, 6259 6443 B2FA3C4E0AB75A6E000E5AC4 /* JSSVGAnimateColorElement.cpp */, 6260 B222F6960AB771950022EFAD /* JSSVGAngle.cpp */,6261 B222F69A0AB771B80022EFAD /* JSSVGElement.cpp */,6262 B222F69B0AB771B80022EFAD /* JSSVGElement.h */,6263 B222F6970AB771950022EFAD /* JSSVGAngle.h */,6264 6444 B2FA3C4F0AB75A6E000E5AC4 /* JSSVGAnimateColorElement.h */, 6265 6445 B2FA3C500AB75A6E000E5AC4 /* JSSVGAnimatedAngle.cpp */, … … 6309 6489 B2FA3C7E0AB75A6E000E5AC4 /* JSSVGDocument.cpp */, 6310 6490 B2FA3C7F0AB75A6E000E5AC4 /* JSSVGDocument.h */, 6491 B222F69A0AB771B80022EFAD /* JSSVGElement.cpp */, 6492 B222F69B0AB771B80022EFAD /* JSSVGElement.h */, 6311 6493 B2CB923B0B5BD941009BAA78 /* JSSVGElementInstance.cpp */, 6312 6494 B2CB923C0B5BD941009BAA78 /* JSSVGElementInstance.h */, … … 6495 6677 B2FA3D300AB75A6F000E5AC4 /* JSSVGZoomEvent.cpp */, 6496 6678 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 */,6655 6679 65DF31EF09D1CC60000BE325 /* JSText.cpp */, 6656 6680 65DF31F009D1CC60000BE325 /* JSText.h */, … … 7475 7499 85BA4CD50AA6861B0088052D /* DOMHTMLButtonElement.h */, 7476 7500 85BA4CD60AA6861B0088052D /* DOMHTMLButtonElement.mm */, 7501 93F9B6530BA0F35E00854064 /* DOMHTMLCanvasElement.h */, 7502 93F9B6540BA0F35E00854064 /* DOMHTMLCanvasElement.mm */, 7503 93F9B6550BA0F35E00854064 /* DOMHTMLCanvasElementInternal.h */, 7477 7504 85DF2F8C0AA3C88100AD64C5 /* DOMHTMLCollection.h */, 7478 7505 85DF2F8D0AA3C88100AD64C5 /* DOMHTMLCollection.mm */, … … 8889 8916 isa = PBXGroup; 8890 8917 children = ( 8891 AB4CB4EA0B8BDA3D009F40B0 /* JSHTMLSelectElementCustom.h */,8892 8918 14DFB33F0A7DF7630018F769 /* Derived Sources */, 8893 8919 93F8B3060A300FEA00F61AB8 /* CodeGeneratorJS.pm */, … … 8905 8931 448AD27A0A4813790023D179 /* JSHTMLOptionsCollectionCustom.cpp */, 8906 8932 BC17F9650B64EBB8004A65CB /* JSHTMLSelectElementCustom.cpp */, 8933 AB4CB4EA0B8BDA3D009F40B0 /* JSHTMLSelectElementCustom.h */, 8907 8934 1A750DD30A90E729000FF215 /* JSNodeIteratorCustom.cpp */, 8908 8935 8574D1F10ADE6122004CBA11 /* JSSVGElementWrapperFactory.cpp */, … … 11161 11188 51DF6D7E0B92A16D00C2DC85 /* ThreadCheck.h in Headers */, 11162 11189 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 */, 11163 11195 ); 11164 11196 runOnlyForDeploymentPostprocessing = 0; … … 11320 11352 runOnlyForDeploymentPostprocessing = 0; 11321 11353 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"; 11323 11355 }; 11324 11356 /* End PBXShellScriptBuildPhase section */ … … 12526 12558 934D9BA50B8C116B007B42A9 /* WebCoreNSStringExtras.mm in Sources */, 12527 12559 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 */, 12528 12564 ); 12529 12565 runOnlyForDeploymentPostprocessing = 0; -
trunk/WebCore/WebCoreSources.bkl
r19741 r20130 7 7 DerivedSources/WebCore/HTMLNames.cpp 8 8 DerivedSources/WebCore/JSAttr.cpp 9 DerivedSources/WebCore/JSCDATASection.cpp 9 10 DerivedSources/WebCore/JSCSSPrimitiveValue.cpp 10 11 DerivedSources/WebCore/JSCSSRule.cpp … … 17 18 DerivedSources/WebCore/JSCanvasRenderingContext2D.cpp 18 19 DerivedSources/WebCore/JSCharacterData.cpp 20 DerivedSources/WebCore/JSComment.cpp 19 21 DerivedSources/WebCore/JSCounter.cpp 20 22 DerivedSources/WebCore/JSDOMImplementation.cpp … … 26 28 DerivedSources/WebCore/JSElement.cpp 27 29 DerivedSources/WebCore/JSEntity.cpp 30 DerivedSources/WebCore/JSEntityReference.cpp 28 31 DerivedSources/WebCore/JSEvent.cpp 29 32 DerivedSources/WebCore/JSHTMLAnchorElement.cpp -
trunk/WebCore/bindings/js/JSHTMLElementWrapperFactory.cpp
r19024 r20130 193 193 map.set(imageTag.localName().impl(), createImageWrapper); 194 194 map.set(insTag.localName().impl(), createModWrapper); 195 map.set(keygenTag.localName().impl(), createSelectWrapper); 195 196 map.set(listingTag.localName().impl(), createPreWrapper); 197 map.set(xmpTag.localName().impl(), createPreWrapper); 196 198 } 197 199 CreateHTMLElementWrapperFunction createWrapperFunction = map.get(element->localName().impl()); -
trunk/WebCore/bindings/js/kjs_css.h
r18912 r20130 205 205 static const ClassInfo info; 206 206 enum { Red, Green, Blue }; 207 unsigned impl() const { return m_color; } 207 208 private: 208 209 unsigned m_color; … … 221 222 static const ClassInfo info; 222 223 enum { Top, Right, Bottom, Left }; 224 WebCore::RectImpl* impl() const { return m_rect.get(); } 223 225 private: 224 226 RefPtr<WebCore::RectImpl> m_rect; -
trunk/WebCore/bindings/js/kjs_dom.cpp
r20028 r20130 29 29 #include "Element.h" 30 30 #include "Entity.h" 31 #include "EntityReference.h" 31 32 #include "Event.h" 33 #include "EventNames.h" 32 34 #include "EventTarget.h" 33 #include "EventNames.h"34 35 #include "ExceptionCode.h" 35 36 #include "Frame.h" … … 38 39 #include "HTMLPlugInElement.h" 39 40 #include "JSAttr.h" 40 #include "JSCharacterData.h" 41 #include "JSCDATASection.h" 42 #include "JSComment.h" 41 43 #include "JSDOMImplementation.h" 42 44 #include "JSDocumentFragment.h" … … 44 46 #include "JSElement.h" 45 47 #include "JSEntity.h" 48 #include "JSEntityReference.h" 46 49 #include "JSHTMLDocument.h" 47 50 #include "JSHTMLElementWrapperFactory.h" … … 51 54 #include "JSRange.h" 52 55 #include "JSText.h" 53 #include "Settings.h"54 56 #include "NamedNodeMap.h" 55 57 #include "Notation.h" … … 57 59 #include "Range.h" 58 60 #include "RenderView.h" 59 #include " xmlhttprequest.h"61 #include "Settings.h" 60 62 #include "kjs_css.h" 61 63 #include "kjs_events.h" 62 64 #include "kjs_traversal.h" 63 65 #include "kjs_window.h" 66 #include "xmlhttprequest.h" 64 67 65 68 #if ENABLE(SVG) … … 979 982 break; 980 983 case Node::TEXT_NODE: 984 ret = new JSText(exec, static_cast<Text*>(n)); 985 break; 981 986 case Node::CDATA_SECTION_NODE: 982 ret = new JS Text(exec, static_cast<Text*>(n));987 ret = new JSCDATASection(exec, static_cast<CDATASection*>(n)); 983 988 break; 984 989 case Node::ENTITY_NODE: … … 989 994 break; 990 995 case Node::COMMENT_NODE: 991 ret = new JSC haracterData(exec, static_cast<CharacterData*>(n));996 ret = new JSComment(exec, static_cast<WebCore::Comment*>(n)); 992 997 break; 993 998 case Node::DOCUMENT_NODE: … … 1004 1009 break; 1005 1010 case Node::ENTITY_REFERENCE_NODE: 1011 ret = new JSEntityReference(exec, static_cast<EntityReference*>(n)); 1012 break; 1006 1013 default: 1007 1014 ret = new JSNode(exec, n); -
trunk/WebCore/bindings/js/kjs_html.cpp
r19979 r20130 423 423 const ClassInfo JSHTMLElement::frame_info = { "HTMLFrameElement", &JSHTMLElement::info, &HTMLFrameElementTable, 0 }; 424 424 const ClassInfo JSHTMLElement::iFrame_info = { "HTMLIFrameElement", &JSHTMLElement::info, &HTMLIFrameElementTable, 0 }; 425 const ClassInfo JSHTMLElement::info = { " DOMHTMLElement", &JSElement::info, &HTMLElementTable, 0 };425 const ClassInfo JSHTMLElement::info = { "HTMLElement", &JSElement::info, &HTMLElementTable, 0 }; 426 426 const ClassInfo JSHTMLElement::marquee_info = { "HTMLMarqueeElement", &JSHTMLElement::info, &HTMLMarqueeElementTable, 0 }; 427 427 const ClassInfo JSHTMLElement::object_info = { "HTMLObjectElement", &JSHTMLElement::info, &HTMLObjectElementTable, 0 }; … … 666 666 667 667 KJS_IMPLEMENT_PROTOTYPE_FUNCTION(JSHTMLElementPrototypeFunction) 668 KJS_IMPLEMENT_PROTOTYPE(" DOMHTMLElement", JSHTMLElementPrototype, JSHTMLElementPrototypeFunction)668 KJS_IMPLEMENT_PROTOTYPE("HTMLElement", JSHTMLElementPrototype, JSHTMLElementPrototypeFunction) 669 669 670 670 JSValue* JSHTMLElementPrototypeFunction::callAsFunction(ExecState*, JSObject*, const List&) … … 1441 1441 KJS_IMPLEMENT_PROTOTYPE("HTMLCollection",JSHTMLCollectionPrototype,JSHTMLCollectionPrototypeFunction) 1442 1442 1443 const ClassInfo JSHTMLCollection::info = { " Collection", 0, 0, 0 };1443 const ClassInfo JSHTMLCollection::info = { "HTMLCollection", 0, 0, 0 }; 1444 1444 1445 1445 JSHTMLCollection::JSHTMLCollection(ExecState* exec, HTMLCollection* c) -
trunk/WebCore/bindings/objc/DOM.mm
r19988 r20130 1 1 /* 2 * Copyright (C) 2004 -2006 Apple Computer, Inc.All rights reserved.2 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2006 James G. Speth (speth@end.com) 4 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) … … 32 32 #import "CSSStyleSheet.h" 33 33 #import "Comment.h" 34 #import "DOM ImplementationFront.h"34 #import "DOMHTMLCanvasElement.h" 35 35 #import "DOMInternal.h" 36 36 #import "DOMPrivate.h" … … 123 123 addElementClass(HTMLNames::brTag, [DOMHTMLBRElement class]); 124 124 addElementClass(HTMLNames::buttonTag, [DOMHTMLButtonElement class]); 125 addElementClass(HTMLNames::canvasTag, [DOMHTML ImageElement class]);125 addElementClass(HTMLNames::canvasTag, [DOMHTMLCanvasElement class]); 126 126 addElementClass(HTMLNames::captionTag, [DOMHTMLTableCaptionElement class]); 127 127 addElementClass(HTMLNames::colTag, [DOMHTMLTableColElement class]); 128 128 addElementClass(HTMLNames::colgroupTag, [DOMHTMLTableColElement class]); 129 addElementClass(HTMLNames::delTag, [DOMHTMLModElement class]); 129 130 addElementClass(HTMLNames::dirTag, [DOMHTMLDirectoryElement class]); 130 131 addElementClass(HTMLNames::divTag, [DOMHTMLDivElement class]); 131 132 addElementClass(HTMLNames::dlTag, [DOMHTMLDListElement class]); 133 addElementClass(HTMLNames::embedTag, [DOMHTMLEmbedElement class]); 132 134 addElementClass(HTMLNames::fieldsetTag, [DOMHTMLFieldSetElement class]); 133 135 addElementClass(HTMLNames::fontTag, [DOMHTMLFontElement class]); … … 147 149 addElementClass(HTMLNames::imgTag, [DOMHTMLImageElement class]); 148 150 addElementClass(HTMLNames::inputTag, [DOMHTMLInputElement class]); 151 addElementClass(HTMLNames::insTag, [DOMHTMLModElement class]); 149 152 addElementClass(HTMLNames::isindexTag, [DOMHTMLIsIndexElement class]); 150 153 addElementClass(HTMLNames::labelTag, [DOMHTMLLabelElement class]); … … 173 176 addElementClass(HTMLNames::textareaTag, [DOMHTMLTextAreaElement class]); 174 177 addElementClass(HTMLNames::tfootTag, [DOMHTMLTableSectionElement class]); 178 addElementClass(HTMLNames::thTag, [DOMHTMLTableCellElement class]); 175 179 addElementClass(HTMLNames::theadTag, [DOMHTMLTableSectionElement class]); 176 180 addElementClass(HTMLNames::titleTag, [DOMHTMLTitleElement class]); 177 181 addElementClass(HTMLNames::trTag, [DOMHTMLTableRowElement class]); 178 182 addElementClass(HTMLNames::ulTag, [DOMHTMLUListElement class]); 183 addElementClass(HTMLNames::xmpTag, [DOMHTMLPreElement class]); 179 184 180 185 #if ENABLE(SVG) … … 294 299 } 295 300 296 + (DOMNode *)_ nodeWith:(WebCore::Node *)impl301 + (DOMNode *)_wrapNode:(WebCore::Node *)impl 297 302 { 298 303 if (!impl) … … 364 369 } 365 370 366 + (id <DOMEventTarget>)_ eventTargetWith:(WebCore::EventTarget *)eventTarget371 + (id <DOMEventTarget>)_wrapEventTarget:(WebCore::EventTarget *)eventTarget 367 372 { 368 373 if (!eventTarget) … … 370 375 371 376 // We don't have an ObjC binding for XMLHttpRequest 372 return [DOMNode _ nodeWith:eventTarget->toNode()];377 return [DOMNode _wrapNode:eventTarget->toNode()]; 373 378 } 374 379 … … 593 598 } 594 599 595 + (DOMNodeFilter *)_ nodeFilterWith:(WebCore::NodeFilter *)impl600 + (DOMNodeFilter *)_wrapNodeFilter:(WebCore::NodeFilter *)impl 596 601 { 597 602 if (!impl) … … 665 670 if (!node) 666 671 return WebCore::NodeFilter::FILTER_REJECT; 667 return [m_filter acceptNode:[DOMNode _ nodeWith:node]];672 return [m_filter acceptNode:[DOMNode _wrapNode:node]]; 668 673 } 669 674 … … 683 688 RefPtr<WebCore::NodeIterator> impl = [self _document]->createNodeIterator([root _node], whatToShow, cppFilter, expandEntityReferences, ec); 684 689 WebCore::raiseOnDOMError(ec); 685 return [DOMNodeIterator _ nodeIteratorWith:impl.get() filter:filter];690 return [DOMNodeIterator _wrapNodeIterator:impl.get() filter:filter]; 686 691 } 687 692 … … 694 699 RefPtr<WebCore::TreeWalker> impl = [self _document]->createTreeWalker([root _node], whatToShow, cppFilter, expandEntityReferences, ec); 695 700 WebCore::raiseOnDOMError(ec); 696 return [DOMTreeWalker _ treeWalkerWith:impl.get() filter:filter];701 return [DOMTreeWalker _wrapTreeWalker:impl.get() filter:filter]; 697 702 } 698 703 … … 754 759 void ObjCEventListener::handleEvent(Event* event, bool) 755 760 { 756 [m_listener handleEvent:[DOMEvent _ eventWith:event]];761 [m_listener handleEvent:[DOMEvent _wrapEvent:event]]; 757 762 } 758 763 -
trunk/WebCore/bindings/objc/DOMCSS.mm
r19855 r20130 70 70 } 71 71 72 + (DOMStyleSheet *)_ styleSheetWith:(WebCore::StyleSheet *)impl72 + (DOMStyleSheet *)_wrapStyleSheet:(WebCore::StyleSheet *)impl 73 73 { 74 74 if (!impl) … … 109 109 } 110 110 111 + (DOMCSSRule *)_ CSSRuleWith:(WebCore::CSSRule *)impl111 + (DOMCSSRule *)_wrapCSSRule:(WebCore::CSSRule *)impl 112 112 { 113 113 if (!impl) … … 122 122 switch (impl->type()) { 123 123 case DOM_UNKNOWN_RULE: 124 wrapperClass = [DOMCSS Rule class];124 wrapperClass = [DOMCSSUnknownRule class]; 125 125 break; 126 126 case DOM_STYLE_RULE: … … 168 168 } 169 169 170 + (DOMCSSValue *)_ CSSValueWith:(WebCore::CSSValue *)impl170 + (DOMCSSValue *)_wrapCSSValue:(WebCore::CSSValue *)impl 171 171 { 172 172 if (!impl) -
trunk/WebCore/bindings/objc/DOMEvents.mm
r19855 r20130 64 64 } 65 65 66 + (DOMEvent *)_ eventWith:(WebCore::Event *)impl66 + (DOMEvent *)_wrapEvent:(WebCore::Event *)impl 67 67 { 68 68 if (!impl) -
trunk/WebCore/bindings/objc/DOMHTML.mm
r19100 r20130 49 49 - (DOMDocumentFragment *)createDocumentFragmentWithMarkupString:(NSString *)markupString baseURL:(NSURL *)baseURL 50 50 { 51 return [DOMDocumentFragment _ documentFragmentWith:createFragmentFromMarkup([self _document], markupString, [baseURL absoluteString]).get()];51 return [DOMDocumentFragment _wrapDocumentFragment:createFragmentFromMarkup([self _document], markupString, [baseURL absoluteString]).get()]; 52 52 } 53 53 … … 55 55 { 56 56 // 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()]; 58 58 } 59 59 -
trunk/WebCore/bindings/objc/DOMImplementationFront.cpp
r16241 r20130 26 26 #include "DOMImplementation.h" 27 27 #include "HTMLDocument.h" 28 #include "JSDOMImplementation.h" 28 29 29 30 namespace WebCore { … … 32 33 { 33 34 return reinterpret_cast<DOMImplementationFront*>(document->implementation()); 35 } 36 37 DOMImplementationFront* implementationFront(JSDOMImplementation* wrapper) 38 { 39 return reinterpret_cast<DOMImplementationFront*>(wrapper->impl()); 34 40 } 35 41 -
trunk/WebCore/bindings/objc/DOMImplementationFront.h
r16241 r20130 37 37 class DocumentType; 38 38 class HTMLDocument; 39 class JSDOMImplementation; 39 40 class String; 40 41 … … 54 55 55 56 DOMImplementationFront* implementationFront(Document*); 57 DOMImplementationFront* implementationFront(JSDOMImplementation*); 56 58 57 59 } // namespace WebCore -
trunk/WebCore/bindings/objc/DOMInternal.h
r19855 r20130 303 303 304 304 @interface DOMRGBColor (WebCoreInternal) 305 + (DOMRGBColor *)_ RGBColorWithRGB:(WebCore::RGBA32)value;305 + (DOMRGBColor *)_wrapRGBColor:(WebCore::RGBA32)value; 306 306 - (WebCore::RGBA32)_RGBColor; 307 307 @end … … 310 310 311 311 @interface DOMNodeFilter : DOMObject <DOMNodeFilter> 312 + (DOMNodeFilter *)_ nodeFilterWith:(WebCore::NodeFilter *)impl;312 + (DOMNodeFilter *)_wrapNodeFilter:(WebCore::NodeFilter *)impl; 313 313 @end 314 314 315 316 315 #if ENABLE(XPATH) 316 317 317 // XPath Internal Interfaces 318 318 319 319 @interface DOMNativeXPathNSResolver : DOMObject <DOMXPathNSResolver> 320 + (DOMNativeXPathNSResolver *)_ xpathNSResolverWith:(WebCore::XPathNSResolver *)impl;320 + (DOMNativeXPathNSResolver *)_wrapXPathNSResolver:(WebCore::XPathNSResolver *)impl; 321 321 - (WebCore::XPathNSResolver *)_xpathNSResolver; 322 322 @end … … 326 326 // Helper functions for DOM wrappers and gluing to Objective-C 327 327 328 namespace KJS {329 id createDOMWrapper(KJS::JSObject*, PassRefPtr<Bindings::RootObject> origin, PassRefPtr<Bindings::RootObject> current);330 } // namespace KJS331 332 328 namespace WebCore { 329 330 id createDOMWrapper(KJS::JSObject*, PassRefPtr<KJS::Bindings::RootObject> origin, PassRefPtr<KJS::Bindings::RootObject> current); 333 331 334 332 NSObject* getDOMWrapper(DOMObjectInternal*); -
trunk/WebCore/bindings/objc/DOMObject.mm
r16947 r20130 86 86 return nil; 87 87 88 return [DOMStyleSheet _ styleSheetWith:styleSheet];88 return [DOMStyleSheet _wrapStyleSheet:styleSheet]; 89 89 } 90 90 -
trunk/WebCore/bindings/objc/DOMRGBColor.mm
r16982 r20130 82 82 WebCore::RGBA32 rgb = reinterpret_cast<uintptr_t>(_internal); 83 83 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)]; 85 85 } 86 86 … … 89 89 WebCore::RGBA32 rgb = reinterpret_cast<uintptr_t>(_internal); 90 90 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)]; 92 92 } 93 93 … … 96 96 WebCore::RGBA32 rgb = reinterpret_cast<uintptr_t>(_internal); 97 97 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)]; 99 99 } 100 100 … … 103 103 WebCore::RGBA32 rgb = reinterpret_cast<uintptr_t>(_internal); 104 104 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)]; 106 106 107 107 } … … 141 141 } 142 142 143 + (DOMRGBColor *)_ RGBColorWithRGB:(WebCore::RGBA32)value143 + (DOMRGBColor *)_wrapRGBColor:(WebCore::RGBA32)value 144 144 { 145 145 id cachedInstance; -
trunk/WebCore/bindings/objc/DOMSVGPathSegInternal.mm
r19855 r20130 74 74 } 75 75 76 + (DOMSVGPathSeg *)_ SVGPathSegWith:(WebCore::SVGPathSeg *)impl76 + (DOMSVGPathSeg *)_wrapSVGPathSeg:(WebCore::SVGPathSeg *)impl 77 77 { 78 78 if (!impl) -
trunk/WebCore/bindings/objc/DOMUtility.mm
r19183 r20130 1 1 /* 2 * Copyright (C) 2004 -2006 Apple Computer, Inc.All rights reserved.2 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2006 James G. Speth (speth@end.com) 4 4 * … … 25 25 */ 26 26 27 #i nclude"config.h"27 #import "config.h" 28 28 29 #import "DOMImplementationFront.h" 29 30 #import "DOMInternal.h" 30 31 #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" 31 41 #import "Node.h" 32 42 #import "WebScriptObjectPrivate.h" 33 43 #import "kjs_css.h" 34 44 #import "kjs_dom.h" 45 #import "kjs_html.h" 46 #import "kjs_window.h" 35 47 #import <objc/objc-runtime.h> 36 48 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. 39 58 40 59 namespace KJS { 41 60 42 id createDOMWrapper(JSObject* object, PassRefPtr<Bindings::RootObject> origin, PassRefPtr<Bindings::RootObject> current)61 static inline id createDOMWrapper(KJS::JSObject* object) 43 62 { 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; 69 110 } 70 111 71 } // namespace KJS 112 } 113 114 namespace WebCore { 115 116 id 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 72 72 } 73 73 74 + (DOMNativeXPathNSResolver *)_ xpathNSResolverWith:(WebCore::XPathNSResolver *)impl74 + (DOMNativeXPathNSResolver *)_wrapXPathNSResolver:(WebCore::XPathNSResolver *)impl 75 75 { 76 76 if (!impl) -
trunk/WebCore/bindings/objc/PublicDOMInterfaces.h
r19855 r20130 324 324 @end 325 325 326 @interface DOMHTMLCanvasElement : DOMHTMLElement 327 @property int height; 328 @property int width; 329 @end 330 326 331 @interface DOMHTMLCollection : DOMObject 327 332 @property(readonly) unsigned length; … … 934 939 @property(readonly) BOOL horizontalOverflow; 935 940 @property(readonly) BOOL verticalOverflow; 941 - (void)initOverflowEvent:(unsigned short)orient horizontalOverflow:(BOOL)horizontalOverflow verticalOverflow:(BOOL)verticalOverflow; 936 942 @end 937 943 -
trunk/WebCore/bindings/objc/WebScriptObject.mm
r20104 r20130 1 1 /* 2 * Copyright (C) 2004, 2006 Apple Computer, Inc.All rights reserved.2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 455 455 } 456 456 457 if (id domWrapper = createDOMWrapper(object, originRootObject, rootObject))457 if (id domWrapper = WebCore::createDOMWrapper(object, originRootObject, rootObject)) 458 458 return domWrapper; 459 459 -
trunk/WebCore/bindings/scripts/CodeGeneratorObjC.pm
r20048 r20130 332 332 my $name = $codeGenerator->StripModule(shift); 333 333 334 # special cases335 334 return "DOMImplementationFront" if $name eq "DOMImplementation"; 336 335 return "RectImpl" if $name eq "Rect"; 337 336 return "DOMWindow" if $name eq "AbstractView"; 338 339 337 return $name; 340 338 } … … 479 477 480 478 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"; 497 481 } 498 482 … … 1338 1322 push(@functionContent, " ec = WebCore::SVG_INVALID_VALUE_ERR;\n"); 1339 1323 push(@functionContent, " $exceptionRaiseOnError\n"); 1340 push(@functionContent, " return [DOMSVGMatrix _ SVGMatrixWith:$content];\n");1324 push(@functionContent, " return [DOMSVGMatrix _wrapSVGMatrix:$content];\n"); 1341 1325 } elsif ($svgMatrixInverse) { 1342 1326 # Special case with inverse & SVGMatrix … … 1345 1329 push(@functionContent, " ec = WebCore::SVG_MATRIX_NOT_INVERTABLE;\n"); 1346 1330 push(@functionContent, " $exceptionRaiseOnError\n"); 1347 push(@functionContent, " return [DOMSVGMatrix _ SVGMatrixWith:$content];\n");1331 push(@functionContent, " return [DOMSVGMatrix _wrapSVGMatrix:$content];\n"); 1348 1332 } elsif ($returnType eq "void") { 1349 1333 # Special case 'void' return type. … … 1497 1481 push(@internalHeaderContent, $typeMakerSig . ";\n"); 1498 1482 if ($interfaceName eq "Node") { 1499 push(@internalHeaderContent, "+ (id <DOMEventTarget>)_ eventTargetWith:(WebCore::EventTarget *)eventTarget;\n");1483 push(@internalHeaderContent, "+ (id <DOMEventTarget>)_wrapEventTarget:(WebCore::EventTarget *)eventTarget;\n"); 1500 1484 } 1501 1485 push(@internalHeaderContent, "\@end\n"); … … 1531 1515 push(@implContent, "}\n\n"); 1532 1516 1533 # - (DOMFooBar)_ FooBarWith:(WebCore::FooBar)impl for implementation class FooBar1517 # - (DOMFooBar)_wrapFooBar:(WebCore::FooBar)impl for implementation class FooBar 1534 1518 push(@implContent, "$typeMakerSig\n"); 1535 1519 push(@implContent, "{\n"); … … 1553 1537 push(@implContent, "}\n\n"); 1554 1538 1555 # - (DOMFooBar)_ FooBarWith:(WebCore::FooBar *)impl for implementation class FooBar1539 # - (DOMFooBar)_wrapFooBar:(WebCore::FooBar *)impl for implementation class FooBar 1556 1540 push(@implContent, "$typeMakerSig\n"); 1557 1541 push(@implContent, "{\n"); … … 1569 1553 my $internalBaseTypeMaker = GetObjCTypeMaker($baseClass); 1570 1554 1571 # - (DOMFooBar)_ FooBarWith:(WebCore::FooBar *)impl for implementation class FooBar1555 # - (DOMFooBar)_wrapFooBar:(WebCore::FooBar *)impl for implementation class FooBar 1572 1556 push(@implContent, "$typeMakerSig\n"); 1573 1557 push(@implContent, "{\n"); -
trunk/WebCore/dom/Document.cpp
r20090 r20130 76 76 #include "NodeFilter.h" 77 77 #include "NodeIterator.h" 78 #include "OverflowEvent.h" 78 79 #include "PlatformKeyboardEvent.h" 79 80 #include "ProcessingInstruction.h" … … 93 94 #include "TreeWalker.h" 94 95 #include "UIEvent.h" 96 #include "WheelEvent.h" 95 97 #include "XMLTokenizer.h" 96 98 #include "csshelper.h" … … 2304 2306 if (eventType == "TextEvent") 2305 2307 return new TextEvent; 2308 if (eventType == "OverflowEvent") 2309 return new OverflowEvent; 2310 if (eventType == "WheelEvent") 2311 return new WheelEvent; 2306 2312 #if ENABLE(SVG) 2307 2313 if (eventType == "SVGEvents") -
trunk/WebCore/dom/OverflowEvent.cpp
r15191 r20130 1 1 /* 2 * Copyright (C) 2006 Apple Computer, Inc.All rights reserved.2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 23 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 24 */ 25 25 26 #include "config.h" 27 #include "OverflowEvent.h" 26 28 27 #include "OverflowEvent.h"28 29 #include "EventNames.h" 29 30 … … 32 33 using namespace EventNames; 33 34 35 OverflowEvent::OverflowEvent() 36 : Event(overflowchangedEvent, false, false) 37 , m_orient(VERTICAL) 38 , m_horizontalOverflow(false) 39 , m_verticalOverflow(false) 40 { 41 } 42 34 43 OverflowEvent::OverflowEvent(bool horizontalOverflowChanged, bool horizontalOverflow, bool verticalOverflowChanged, bool verticalOverflow) 35 44 : Event(overflowchangedEvent, false, false) … … 38 47 { 39 48 ASSERT(horizontalOverflowChanged || verticalOverflowChanged); 40 49 41 50 if (horizontalOverflowChanged && verticalOverflowChanged) 42 51 m_orient = BOTH; … … 52 61 } 53 62 63 void 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; 54 71 } 55 72 73 } -
trunk/WebCore/dom/OverflowEvent.h
r15191 r20130 1 1 /* 2 * Copyright (C) 2006 Apple Computer, Inc.All rights reserved.2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 38 38 BOTH = 2 39 39 }; 40 40 41 OverflowEvent(); 41 42 OverflowEvent(bool horizontalOverflowChanged, bool horizontalOverflow, bool verticalOverflowChanged, bool verticalOverflow); 42 43 v irtual bool isOverflowEvent() const;44 43 44 void initOverflowEvent(unsigned short orient, bool horizontalOverflow, bool verticalOverflow); 45 45 46 unsigned short orient() const { return m_orient; } 46 47 bool horizontalOverflow() const { return m_horizontalOverflow; } 47 48 bool verticalOverflow() const { return m_verticalOverflow; } 49 50 virtual bool isOverflowEvent() const; 48 51 49 52 private: -
trunk/WebCore/dom/OverflowEvent.idl
r16645 r20130 1 1 /* 2 * Copyright (C) 2006 Apple Computer, Inc.2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 3 3 * 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. 8 12 * 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. 18 24 */ 19 25 module events { … … 27 33 readonly attribute boolean horizontalOverflow; 28 34 readonly attribute boolean verticalOverflow; 35 36 void initOverflowEvent(in unsigned short orient, 37 in boolean horizontalOverflow, 38 in boolean verticalOverflow); 29 39 }; 30 40 -
trunk/WebCore/html/HTMLCanvasElement.idl
r19024 r20130 31 31 attribute long height; 32 32 33 #if !defined(LANGUAGE_OBJECTIVE_C) 33 34 DOMObject getContext(in DOMString contextId); 35 #endif 34 36 35 37 }; -
trunk/WebCore/html/HTMLOptionsCollection.idl
r19800 r20130 23 23 // FIXME: The W3C spec says that HTMLOptionsCollection should not have a parent class. 24 24 25 interface [LegacyParent=KJS::JSHTMLCollection, HasCustomIndexSetter] HTMLOptionsCollection : HTMLCollection {25 interface [LegacyParent=KJS::JSHTMLCollection, GenerateNativeConverter, HasCustomIndexSetter] HTMLOptionsCollection : HTMLCollection { 26 26 attribute long selectedIndex; 27 27 attribute [Custom] unsigned long length -
trunk/WebCore/page/mac/WebCoreFrameBridge.mm
r19838 r20130 333 333 NSMutableArray *nodes = [NSMutableArray arrayWithCapacity:size]; 334 334 for (size_t i = 0; i < size; ++i) 335 [nodes addObject:[DOMNode _ nodeWith:(*nodesVector)[i]]];335 [nodes addObject:[DOMNode _wrapNode:(*nodesVector)[i]]]; 336 336 return nodes; 337 337 } … … 550 550 // Skip option elements, other duds 551 551 if (elt->name() == targetName) 552 return [DOMElement _ elementWith:elt];552 return [DOMElement _wrapElement:elt]; 553 553 } 554 554 } … … 577 577 HTMLFormElement *formElement = inputElement->form(); 578 578 if (formElement) { 579 return [DOMElement _ elementWith:formElement];579 return [DOMElement _wrapElement:formElement]; 580 580 } 581 581 } … … 585 585 - (DOMElement *)currentForm 586 586 { 587 return [DOMElement _ elementWith:m_frame->currentForm()];587 return [DOMElement _wrapElement:m_frame->currentForm()]; 588 588 } 589 589 … … 596 596 for (unsigned int i = 0; i < elements.size(); i++) { 597 597 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)]; 599 599 if (!results) { 600 600 results = [NSMutableArray arrayWithObject:de]; … … 839 839 selectionController.setSelection(m_frame->selectionController()->selection()); 840 840 selectionController.modify(alteration, direction, granularity); 841 return [DOMRange _ rangeWith:selectionController.toRange().get()];841 return [DOMRange _wrapRange:selectionController.toRange().get()]; 842 842 } 843 843 … … 902 902 - (DOMRange *)convertNSRangeToDOMRange:(NSRange)nsrange 903 903 { 904 return [DOMRange _ rangeWith:[self convertToDOMRange:nsrange].get()];904 return [DOMRange _wrapRange:[self convertToDOMRange:nsrange].get()]; 905 905 } 906 906 … … 928 928 - (DOMRange *)markDOMRange 929 929 { 930 return [DOMRange _ rangeWith:m_frame->mark().toRange().get()];930 return [DOMRange _wrapRange:m_frame->mark().toRange().get()]; 931 931 } 932 932 … … 938 938 - (DOMRange *)markedTextDOMRange 939 939 { 940 return [DOMRange _ rangeWith:m_frame->markedTextRange()];940 return [DOMRange _wrapRange:m_frame->markedTextRange()]; 941 941 } 942 942 … … 990 990 range->setStart(newStart.node(), newStart.offset(), exception); 991 991 range->setEnd(newStart.node(), newStart.offset(), exception); 992 return [DOMRange _ rangeWith:range.get()];992 return [DOMRange _wrapRange:range.get()]; 993 993 } 994 994 … … 1056 1056 return 0; 1057 1057 1058 return [DOMDocumentFragment _ documentFragmentWith:createFragmentFromMarkup(m_frame->document(), markupString, baseURLString).get()];1058 return [DOMDocumentFragment _wrapDocumentFragment:createFragmentFromMarkup(m_frame->document(), markupString, baseURLString).get()]; 1059 1059 } 1060 1060 1061 1061 - (DOMDocumentFragment *)documentFragmentWithText:(NSString *)text inContext:(DOMRange *)context 1062 1062 { 1063 return [DOMDocumentFragment _ documentFragmentWith:createFragmentFromText([context _range], text).get()];1063 return [DOMDocumentFragment _wrapDocumentFragment:createFragmentFromText([context _range], text).get()]; 1064 1064 } 1065 1065 … … 1075 1075 nodesVector.append([node _node]); 1076 1076 1077 return [DOMDocumentFragment _ documentFragmentWith:createFragmentFromNodes(m_frame->document(), nodesVector).get()];1077 return [DOMDocumentFragment _wrapDocumentFragment:createFragmentFromNodes(m_frame->document(), nodesVector).get()]; 1078 1078 } 1079 1079 … … 1089 1089 - (void)replaceSelectionWithNode:(DOMNode *)node selectReplacement:(BOOL)selectReplacement smartReplace:(BOOL)smartReplace matchStyle:(BOOL)matchStyle 1090 1090 { 1091 DOMDocumentFragment *fragment = [DOMDocumentFragment _ documentFragmentWith:m_frame->document()->createDocumentFragment().get()];1091 DOMDocumentFragment *fragment = [DOMDocumentFragment _wrapDocumentFragment:m_frame->document()->createDocumentFragment().get()]; 1092 1092 [fragment appendChild:node]; 1093 1093 [self replaceSelectionWithFragment:fragment selectReplacement:selectReplacement smartReplace:smartReplace matchStyle:matchStyle]; … … 1103 1103 { 1104 1104 [self replaceSelectionWithFragment:[self documentFragmentWithText:text 1105 inContext:[DOMRange _ rangeWith:m_frame->selectionController()->toRange().get()]]1105 inContext:[DOMRange _wrapRange:m_frame->selectionController()->toRange().get()]] 1106 1106 selectReplacement:selectReplacement smartReplace:smartReplace matchStyle:YES]; 1107 1107 } … … 1124 1124 Node* newList = IncreaseSelectionListLevelCommand::increaseSelectionListLevel(m_frame->document()); 1125 1125 m_frame->revealSelection(RenderLayer::gAlignToEdgeIfNeeded); 1126 return [DOMNode _ nodeWith:newList];1126 return [DOMNode _wrapNode:newList]; 1127 1127 } 1128 1128 … … 1134 1134 Node* newList = IncreaseSelectionListLevelCommand::increaseSelectionListLevelOrdered(m_frame->document()); 1135 1135 m_frame->revealSelection(RenderLayer::gAlignToEdgeIfNeeded); 1136 return [DOMNode _ nodeWith:newList];1136 return [DOMNode _wrapNode:newList]; 1137 1137 } 1138 1138 … … 1144 1144 Node* newList = IncreaseSelectionListLevelCommand::increaseSelectionListLevelUnordered(m_frame->document()); 1145 1145 m_frame->revealSelection(RenderLayer::gAlignToEdgeIfNeeded); 1146 return [DOMNode _ nodeWith:newList];1146 return [DOMNode _wrapNode:newList]; 1147 1147 } 1148 1148 … … 1199 1199 - (DOMRange *)dragCaretDOMRange 1200 1200 { 1201 return [DOMRange _ rangeWith:m_frame->dragCaretController()->toRange().get()];1201 return [DOMRange _wrapRange:m_frame->dragCaretController()->toRange().get()]; 1202 1202 } 1203 1203 … … 1210 1210 { 1211 1211 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()]; 1213 1213 } 1214 1214 … … 1221 1221 VisiblePosition previous = position.previous(); 1222 1222 if (previous.isNotNull()) { 1223 DOMRange *previousCharacterRange = [DOMRange _ rangeWith:makeRange(previous, position).get()];1223 DOMRange *previousCharacterRange = [DOMRange _wrapRange:makeRange(previous, position).get()]; 1224 1224 NSRect rect = [self firstRectForDOMRange:previousCharacterRange]; 1225 1225 if (NSPointInRect(point, rect)) … … 1229 1229 VisiblePosition next = position.next(); 1230 1230 if (next.isNotNull()) { 1231 DOMRange *nextCharacterRange = [DOMRange _ rangeWith:makeRange(position, next).get()];1231 DOMRange *nextCharacterRange = [DOMRange _wrapRange:makeRange(position, next).get()]; 1232 1232 NSRect rect = [self firstRectForDOMRange:nextCharacterRange]; 1233 1233 if (NSPointInRect(point, rect)) … … 1260 1260 if (!m_frame || !m_frame->typingStyle()) 1261 1261 return nil; 1262 return [DOMCSSStyleDeclaration _ CSSStyleDeclarationWith:m_frame->typingStyle()->copy().get()];1262 return [DOMCSSStyleDeclaration _wrapCSSStyleDeclaration:m_frame->typingStyle()->copy().get()]; 1263 1263 } 1264 1264 … … 1340 1340 return nil; 1341 1341 1342 return [DOMRange _ rangeWith:makeRange(previous, next).get()];1342 return [DOMRange _wrapRange:makeRange(previous, next).get()]; 1343 1343 } 1344 1344 -
trunk/WebCore/platform/mac/ClipboardMac.mm
r19808 r20130 333 333 ASSERT(frame); 334 334 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)); 336 336 } 337 337 -
trunk/WebCore/platform/mac/PasteboardMac.mm
r19920 r20130 139 139 Pasteboard::generalPasteboard(); //Initialises pasteboard types 140 140 141 NSAttributedString *attributedString = [[[NSAttributedString alloc] _initWithDOMRange:[DOMRange _ rangeWith:selectedRange]] autorelease];141 NSAttributedString *attributedString = [[[NSAttributedString alloc] _initWithDOMRange:[DOMRange _wrapRange:selectedRange]] autorelease]; 142 142 #ifdef BUILDING_ON_TIGER 143 143 // 4930197: Mail overrides [WebHTMLView pasteboardTypesForSelection] in order to add another type to the pasteboard -
trunk/WebKit/ChangeLog
r20125 r20130 1 2007-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 1 21 2007-03-12 Anders Carlsson <acarlsson@apple.com> 2 22 -
trunk/WebKit/WebCoreSupport/WebEditorClient.mm
r20108 r20130 443 443 void WebEditorClient::textFieldDidBeginEditing(WebCore::Element* element) 444 444 { 445 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _ HTMLInputElementWith:(WebCore::HTMLInputElement*)element];445 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element]; 446 446 FormDelegateLog(inputElement); 447 447 [[m_webView _formDelegate] textFieldDidBeginEditing:inputElement inFrame:kit(element->document()->frame())]; … … 450 450 void WebEditorClient::textFieldDidEndEditing(WebCore::Element* element) 451 451 { 452 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _ HTMLInputElementWith:(WebCore::HTMLInputElement*)element];452 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element]; 453 453 FormDelegateLog(inputElement); 454 454 [[m_webView _formDelegate] textFieldDidEndEditing:inputElement inFrame:kit(element->document()->frame())]; … … 457 457 void WebEditorClient::textDidChangeInTextField(WebCore::Element* element) 458 458 { 459 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _ HTMLInputElementWith:(WebCore::HTMLInputElement*)element];459 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element]; 460 460 FormDelegateLog(inputElement); 461 461 [[m_webView _formDelegate] textDidChangeInTextField:(DOMHTMLInputElement *)inputElement inFrame:kit(element->document()->frame())]; … … 486 486 bool WebEditorClient::doTextFieldCommandFromEvent(WebCore::Element* element, WebCore::KeyboardEvent* event) 487 487 { 488 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _ HTMLInputElementWith:(WebCore::HTMLInputElement*)element];488 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element]; 489 489 490 490 bool result = false; … … 500 500 void WebEditorClient::textWillBeDeletedInTextField(WebCore::Element* element) 501 501 { 502 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _ HTMLInputElementWith:(WebCore::HTMLInputElement*)element];502 DOMHTMLInputElement* inputElement = [DOMHTMLInputElement _wrapHTMLInputElement:(WebCore::HTMLInputElement*)element]; 503 503 504 504 // We're using the deleteBackward selector for all deletion operations since the autofill code treats all deletions the same way. … … 509 509 void WebEditorClient::textDidChangeInTextArea(WebCore::Element* element) 510 510 { 511 DOMHTMLTextAreaElement* textAreaElement = [DOMHTMLTextAreaElement _ HTMLTextAreaElementWith:(WebCore::HTMLTextAreaElement*)element];511 DOMHTMLTextAreaElement* textAreaElement = [DOMHTMLTextAreaElement _wrapHTMLTextAreaElement:(WebCore::HTMLTextAreaElement*)element]; 512 512 513 513 FormDelegateLog(textAreaElement); -
trunk/WebKit/WebCoreSupport/WebFrameLoaderClient.mm
r20125 r20130 1088 1088 attributeValues:nsArray(paramValues) 1089 1089 MIMEType:mimeType 1090 DOMElement:[DOMElement _ elementWith:element]1090 DOMElement:[DOMElement _wrapElement:element] 1091 1091 loadManually:loadManually]); 1092 1092 END_BLOCK_OBJC_EXCEPTIONS; … … 1113 1113 attributeValues:nsArray(paramValues) 1114 1114 baseURL:baseURL.getNSURL() 1115 DOMElement:[DOMElement _ elementWith:element]]);1115 DOMElement:[DOMElement _wrapElement:element]]); 1116 1116 END_BLOCK_OBJC_EXCEPTIONS; 1117 1117 -
trunk/WebKit/WebKit.xcodeproj/project.pbxproj
r20104 r20130 1334 1334 runOnlyForDeploymentPostprocessing = 0; 1335 1335 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"; 1337 1337 }; 1338 1338 939811300824BF01008DF038 /* Make Frameworks Symbolic Link */ = { -
trunk/WebKit/WebView/WebFrame.mm
r19830 r20130 158 158 DOMCSSStyleDeclaration *kit(WebCore::CSSStyleDeclaration* declaration) 159 159 { 160 return [DOMCSSStyleDeclaration _ CSSStyleDeclarationWith:declaration];160 return [DOMCSSStyleDeclaration _wrapCSSStyleDeclaration:declaration]; 161 161 } 162 162 … … 168 168 DOMElement *kit(Element* element) 169 169 { 170 return [DOMElement _ elementWith:element];170 return [DOMElement _wrapElement:element]; 171 171 } 172 172 … … 178 178 DOMNode *kit(Node* node) 179 179 { 180 return [DOMNode _ nodeWith:node];180 return [DOMNode _wrapNode:node]; 181 181 } 182 182 … … 188 188 DOMDocument *kit(Document* document) 189 189 { 190 return [DOMDocument _ documentWith:document];190 return [DOMDocument _wrapDocument:document]; 191 191 } 192 192 … … 198 198 DOMHTMLElement *kit(HTMLElement *element) 199 199 { 200 return [DOMHTMLElement _ HTMLElementWith:element];200 return [DOMHTMLElement _wrapHTMLElement:element]; 201 201 } 202 202 … … 208 208 DOMRange *kit(Range* range) 209 209 { 210 return [DOMRange _ rangeWith:range];210 return [DOMRange _wrapRange:range]; 211 211 } 212 212
Note:
See TracChangeset
for help on using the changeset viewer.