Changeset 203993 in webkit
- Timestamp:
- Aug 1, 2016 3:51:04 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 added
- 11 edited
- 13 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r203989 r203993 1 2016-08-01 Anders Carlsson <andersca@apple.com> 2 3 Freeze the last of the HTML Objective-C bindings 4 https://bugs.webkit.org/show_bug.cgi?id=160430 5 6 Reviewed by Tim Horton. 7 8 Also, remove a bunch of form validation related methods that were never exposed/used. 9 10 * DerivedSources.make: 11 * WebCore.xcodeproj/project.pbxproj: 12 * bindings/objc/DOMBlob.h: Added. 13 * bindings/objc/DOMBlob.mm: Added. 14 * bindings/objc/DOMBlobInternal.h: Added. 15 * bindings/objc/DOMDOMTokenList.h: Added. 16 * bindings/objc/DOMDOMTokenList.mm: Added. 17 * bindings/objc/DOMDOMTokenListInternal.h: Added. 18 * bindings/objc/DOMFile.h: Added. 19 * bindings/objc/DOMFile.mm: Added. 20 * bindings/objc/DOMFileInternal.h: Added. 21 * bindings/objc/DOMFileList.h: Added. 22 * bindings/objc/DOMFileList.mm: Added. 23 * bindings/objc/DOMFileListInternal.h: Added. 24 * bindings/objc/DOMHTMLButtonElement.mm: 25 * bindings/objc/DOMHTMLFieldSetElement.mm: 26 * bindings/objc/DOMHTMLInputElement.mm: 27 * bindings/objc/DOMHTMLInputElementPrivate.h: 28 * bindings/objc/DOMHTMLObjectElement.mm: 29 * bindings/objc/DOMHTMLSelectElement.mm: 30 * bindings/objc/DOMHTMLTextAreaElement.mm: 31 * bindings/objc/DOMHTMLTextAreaElementPrivate.h: 32 * bindings/objc/DOMMediaError.h: Added. 33 * bindings/objc/DOMMediaError.mm: Added. 34 * bindings/objc/DOMMediaErrorInternal.h: Added. 35 * bindings/objc/DOMTimeRanges.h: Added. 36 * bindings/objc/DOMTimeRanges.mm: Added. 37 * bindings/objc/DOMTimeRangesInternal.h: Added. 38 1 39 2016-08-01 Anders Carlsson <andersca@apple.com> 2 40 -
trunk/Source/WebCore/DerivedSources.make
r203988 r203993 347 347 $(WebCore)/dom/WheelEvent.idl \ 348 348 $(WebCore)/dom/XMLDocument.idl \ 349 $(WebCore)/fileapi/Blob.idl \350 $(WebCore)/fileapi/File.idl \351 $(WebCore)/fileapi/FileError.idl \352 349 $(WebCore)/fileapi/FileException.idl \ 353 $(WebCore)/fileapi/FileList.idl \354 350 $(WebCore)/fileapi/FileReader.idl \ 355 351 $(WebCore)/fileapi/FileReaderSync.idl \ 356 352 $(WebCore)/html/DOMFormData.idl \ 357 353 $(WebCore)/html/DOMSettableTokenList.idl \ 358 $(WebCore)/html/DOMTokenList.idl \359 354 $(WebCore)/html/DOMURL.idl \ 360 355 $(WebCore)/html/ImageData.idl \ 361 356 $(WebCore)/html/MediaController.idl \ 362 $(WebCore)/html/MediaError.idl \363 357 $(WebCore)/html/MediaKeyError.idl \ 364 358 $(WebCore)/html/MediaKeyEvent.idl \ 365 359 $(WebCore)/html/RadioNodeList.idl \ 366 360 $(WebCore)/html/TextMetrics.idl \ 367 $(WebCore)/html/TimeRanges.idl \368 361 $(WebCore)/html/URLUtils.idl \ 369 $(WebCore)/html/ValidityState.idl \370 362 $(WebCore)/html/VoidCallback.idl \ 371 363 $(WebCore)/html/canvas/ANGLEInstancedArrays.idl \ … … 494 486 495 487 JS_ONLY_BINDING_IDLS = \ 488 $(WebCore)/fileapi/Blob.idl \ 489 $(WebCore)/fileapi/File.idl \ 490 $(WebCore)/fileapi/FileError.idl \ 491 $(WebCore)/fileapi/FileList.idl \ 492 $(WebCore)/html/DOMTokenList.idl \ 496 493 $(WebCore)/html/HTMLAnchorElement.idl \ 497 494 $(WebCore)/html/HTMLAppletElement.idl \ … … 574 571 $(WebCore)/html/HTMLUnknownElement.idl \ 575 572 $(WebCore)/html/HTMLVideoElement.idl \ 573 $(WebCore)/html/MediaError.idl \ 574 $(WebCore)/html/TimeRanges.idl \ 575 $(WebCore)/html/ValidityState.idl \ 576 576 $(WebCore)/svg/SVGAElement.idl \ 577 577 $(WebCore)/svg/SVGAltGlyphDefElement.idl \ -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r203989 r203993 665 665 15C77093100D3CA8005BA267 /* JSValidityState.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C77091100D3CA8005BA267 /* JSValidityState.h */; }; 666 666 15C77094100D3CA8005BA267 /* JSValidityState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15C77092100D3CA8005BA267 /* JSValidityState.cpp */; }; 667 15C770A5100D41CD005BA267 /* DOMValidityState.mm in Sources */ = {isa = PBXBuildFile; fileRef = 15C770A3100D41CD005BA267 /* DOMValidityState.mm */; };668 15C770A6100D41CD005BA267 /* DOMValidityState.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C770A4100D41CD005BA267 /* DOMValidityState.h */; };669 667 15FCC9FC1B4DF7F200E72326 /* DOMURLMediaStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 073794ED19EE364200E5A045 /* DOMURLMediaStream.cpp */; }; 670 668 15FCC9FE1B4DF85E00E72326 /* DOMURLMediaStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 15FCC9FD1B4DF85600E72326 /* DOMURLMediaStream.h */; }; … … 689 687 1A1414B513A0F0500019996C /* WebKitFontFamilyNames.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A1414B313A0F0500019996C /* WebKitFontFamilyNames.cpp */; }; 690 688 1A1414B613A0F0500019996C /* WebKitFontFamilyNames.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 1A1414B413A0F0500019996C /* WebKitFontFamilyNames.h */; settings = {ATTRIBUTES = (); }; }; 689 1A144B4D1D4FF77300D9E32C /* DOMDOMTokenListInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A144B4C1D4FF76900D9E32C /* DOMDOMTokenListInternal.h */; }; 690 1A144B501D4FF7F100D9E32C /* DOMDOMTokenList.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A144B4F1D4FF7DD00D9E32C /* DOMDOMTokenList.mm */; }; 691 1A144B511D4FF9BD00D9E32C /* DOMDOMTokenList.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A144B4E1D4FF7DD00D9E32C /* DOMDOMTokenList.h */; settings = {ATTRIBUTES = (Private, ); }; }; 692 1A144B521D50024300D9E32C /* DOMHTMLTitleElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85992EB90AA5069500AC0785 /* DOMHTMLTitleElement.mm */; }; 691 693 1A1D13800A5325520064BF5F /* DOMXPath.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A1D137E0A5325520064BF5F /* DOMXPath.h */; settings = {ATTRIBUTES = (Private, ); }; }; 692 694 1A1D13810A5325520064BF5F /* DOMXPath.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A1D137F0A5325520064BF5F /* DOMXPath.mm */; }; … … 803 805 1A67BF681D4FE42300412AC7 /* DOMHTMLModElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E7116D0AC5D5350053270F /* DOMHTMLModElementInternal.h */; }; 804 806 1A67BF691D4FE42300412AC7 /* DOMHTMLObjectElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E7116E0AC5D5350053270F /* DOMHTMLObjectElementInternal.h */; }; 805 1A67BF6A1D4FE42300412AC7 /* DOMHTMLObjectElementPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 4429AAFF0CB84EC3007647C5 /* DOMHTMLObjectElementPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };806 807 1A67BF6B1D4FE42300412AC7 /* DOMHTMLOListElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85BA4D070AA688680088052D /* DOMHTMLOListElement.h */; settings = {ATTRIBUTES = (Private, ); }; }; 807 808 1A67BF6C1D4FE42300412AC7 /* DOMHTMLOListElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E7116F0AC5D5350053270F /* DOMHTMLOListElementInternal.h */; }; … … 1280 1281 2D413F611A187A3F0041A521 /* LookupSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D413F601A187A3F0041A521 /* LookupSPI.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1281 1282 2D4150DE1C1F868C000A3BA2 /* JSMockPageOverlay.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D6F3E921C1F85550061DBD4 /* JSMockPageOverlay.cpp */; }; 1282 2D44469B1C84CD050024C889 /* DOMMediaError.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 2DEC66751C8403C30099846A /* DOMMediaError.h */; };1283 2D44469F1C84CD060024C889 /* DOMTimeRanges.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 2DEC666F1C83F2AF0099846A /* DOMTimeRanges.h */; };1284 1283 2D46F04E17B96FBD005647F0 /* IntPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D46F04D17B96FBD005647F0 /* IntPoint.cpp */; }; 1285 1284 2D46F05017B96FD2005647F0 /* IntSize.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D46F04F17B96FD2005647F0 /* IntSize.cpp */; }; … … 1365 1364 2E3BC0CA117D3E0800B9409A /* JSFileError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2E3BC0C8117D3E0800B9409A /* JSFileError.cpp */; }; 1366 1365 2E3BC0CB117D3E0800B9409A /* JSFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E3BC0C9117D3E0800B9409A /* JSFileError.h */; }; 1367 2E3BC108117D479800B9409A /* DOMFileError.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E3BC106117D479800B9409A /* DOMFileError.h */; };1368 2E3BC109117D479800B9409A /* DOMFileError.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2E3BC107117D479800B9409A /* DOMFileError.mm */; };1369 2E3BC10B117D47C800B9409A /* DOMFileErrorInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E3BC10A117D47C800B9409A /* DOMFileErrorInternal.h */; };1370 1366 2E3C8C621BFBA97500309566 /* CaptureDeviceManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E3C8C611BFBA8DC00309566 /* CaptureDeviceManager.h */; }; 1371 1367 2E3C8C641BFBB75D00309566 /* CaptureDeviceManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2E3C8C631BFBB75D00309566 /* CaptureDeviceManager.cpp */; }; … … 2775 2771 7694563C1214D97C0007CBAE /* JSDOMTokenList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7694563A1214D97C0007CBAE /* JSDOMTokenList.cpp */; }; 2776 2772 7694563D1214D97C0007CBAE /* JSDOMTokenList.h in Headers */ = {isa = PBXBuildFile; fileRef = 7694563B1214D97C0007CBAE /* JSDOMTokenList.h */; }; 2777 7694565B1214DB630007CBAE /* DOMDOMTokenList.h in Headers */ = {isa = PBXBuildFile; fileRef = 769456591214DB630007CBAE /* DOMDOMTokenList.h */; };2778 7694565C1214DB630007CBAE /* DOMDOMTokenList.mm in Sources */ = {isa = PBXBuildFile; fileRef = 7694565A1214DB630007CBAE /* DOMDOMTokenList.mm */; };2779 2773 76CDD2F21103DA6600680521 /* AccessibilityMenuList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 76CDD2EC1103DA6600680521 /* AccessibilityMenuList.cpp */; }; 2780 2774 76CDD2F31103DA6600680521 /* AccessibilityMenuList.h in Headers */ = {isa = PBXBuildFile; fileRef = 76CDD2ED1103DA6600680521 /* AccessibilityMenuList.h */; }; … … 7270 7264 A1C797181883DD82000F5E1F /* DOMGestureEvent.h in Copy Generated Headers */, 7271 7265 85DF34620AAFC2D400E59AE3 /* DOMKeyboardEvent.h in Copy Generated Headers */, 7272 2D44469B1C84CD050024C889 /* DOMMediaError.h in Copy Generated Headers */,7273 7266 8506579F0AAB4A8E002D15C0 /* DOMMediaList.h in Copy Generated Headers */, 7274 7267 857E0B310AB044780036E447 /* DOMMouseEvent.h in Copy Generated Headers */, … … 7293 7286 1C11CCC20AA6093700DADB20 /* DOMText.h in Copy Generated Headers */, 7294 7287 933A14760B7D1BAF00A53FFD /* DOMTextEvent.h in Copy Generated Headers */, 7295 2D44469F1C84CD060024C889 /* DOMTimeRanges.h in Copy Generated Headers */,7296 7288 A1C797191883DDED000F5E1F /* DOMTouch.h in Copy Generated Headers */, 7297 7289 A1C7971A1883DE0D000F5E1F /* DOMTouchEvent.h in Copy Generated Headers */, … … 8043 8035 15C77091100D3CA8005BA267 /* JSValidityState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSValidityState.h; sourceTree = "<group>"; }; 8044 8036 15C77092100D3CA8005BA267 /* JSValidityState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSValidityState.cpp; sourceTree = "<group>"; }; 8045 15C770A3100D41CD005BA267 /* DOMValidityState.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMValidityState.mm; sourceTree = "<group>"; };8046 15C770A4100D41CD005BA267 /* DOMValidityState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMValidityState.h; sourceTree = "<group>"; };8047 8037 15FCC9FD1B4DF85600E72326 /* DOMURLMediaStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMURLMediaStream.h; sourceTree = "<group>"; }; 8048 8038 163E88F5118A39D200ED9231 /* SimpleFontDataCoreText.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SimpleFontDataCoreText.cpp; sourceTree = "<group>"; }; … … 8068 8058 1A1414B313A0F0500019996C /* WebKitFontFamilyNames.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebKitFontFamilyNames.cpp; sourceTree = "<group>"; }; 8069 8059 1A1414B413A0F0500019996C /* WebKitFontFamilyNames.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebKitFontFamilyNames.h; sourceTree = "<group>"; }; 8060 1A144B4C1D4FF76900D9E32C /* DOMDOMTokenListInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMDOMTokenListInternal.h; sourceTree = "<group>"; }; 8061 1A144B4E1D4FF7DD00D9E32C /* DOMDOMTokenList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMDOMTokenList.h; sourceTree = "<group>"; }; 8062 1A144B4F1D4FF7DD00D9E32C /* DOMDOMTokenList.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMDOMTokenList.mm; sourceTree = "<group>"; }; 8070 8063 1A1D137E0A5325520064BF5F /* DOMXPath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMXPath.h; sourceTree = "<group>"; }; 8071 8064 1A1D137F0A5325520064BF5F /* DOMXPath.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMXPath.mm; sourceTree = "<group>"; }; … … 8728 8721 2E3BC0C8117D3E0800B9409A /* JSFileError.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFileError.cpp; sourceTree = "<group>"; }; 8729 8722 2E3BC0C9117D3E0800B9409A /* JSFileError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFileError.h; sourceTree = "<group>"; }; 8730 2E3BC106117D479800B9409A /* DOMFileError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMFileError.h; sourceTree = "<group>"; };8731 2E3BC107117D479800B9409A /* DOMFileError.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMFileError.mm; sourceTree = "<group>"; };8732 2E3BC10A117D47C800B9409A /* DOMFileErrorInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMFileErrorInternal.h; sourceTree = "<group>"; };8733 8723 2E3C8C611BFBA8DC00309566 /* CaptureDeviceManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CaptureDeviceManager.h; sourceTree = "<group>"; }; 8734 8724 2E3C8C631BFBB75D00309566 /* CaptureDeviceManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CaptureDeviceManager.cpp; sourceTree = "<group>"; }; … … 9233 9223 4415292C0E1AE8A000C4A2D0 /* HTMLPlugInImageElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLPlugInImageElement.h; sourceTree = "<group>"; }; 9234 9224 4415292D0E1AE8A000C4A2D0 /* HTMLPlugInImageElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLPlugInImageElement.cpp; sourceTree = "<group>"; }; 9235 4429AAFF0CB84EC3007647C5 /* DOMHTMLObjectElementPrivate.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLObjectElementPrivate.h; sourceTree = "<group>"; };9236 9225 4429AB070CB84F81007647C5 /* DOMTextEventInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMTextEventInternal.h; sourceTree = "<group>"; }; 9237 9226 442ABCD517D9262F00D30715 /* SynchronousLoaderClientCFNet.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SynchronousLoaderClientCFNet.cpp; sourceTree = "<group>"; }; … … 10294 10283 7694563A1214D97C0007CBAE /* JSDOMTokenList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMTokenList.cpp; sourceTree = "<group>"; }; 10295 10284 7694563B1214D97C0007CBAE /* JSDOMTokenList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSDOMTokenList.h; sourceTree = "<group>"; }; 10296 769456591214DB630007CBAE /* DOMDOMTokenList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMDOMTokenList.h; sourceTree = "<group>"; };10297 7694565A1214DB630007CBAE /* DOMDOMTokenList.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMDOMTokenList.mm; sourceTree = "<group>"; };10298 10285 76CDD2EC1103DA6600680521 /* AccessibilityMenuList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilityMenuList.cpp; sourceTree = "<group>"; }; 10299 10286 76CDD2ED1103DA6600680521 /* AccessibilityMenuList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityMenuList.h; sourceTree = "<group>"; }; … … 16247 16234 isa = PBXGroup; 16248 16235 children = ( 16236 2E2D99E510E2BC1C00496337 /* DOMBlob.h */, 16237 2E2D99E610E2BC1C00496337 /* DOMBlob.mm */, 16238 2E2D99E910E2BC3800496337 /* DOMBlobInternal.h */, 16239 1A144B4E1D4FF7DD00D9E32C /* DOMDOMTokenList.h */, 16240 1A144B4F1D4FF7DD00D9E32C /* DOMDOMTokenList.mm */, 16241 1A144B4C1D4FF76900D9E32C /* DOMDOMTokenListInternal.h */, 16242 BC00EFFE0E0A185500FD04E3 /* DOMFile.h */, 16243 BC00EFFF0E0A185500FD04E3 /* DOMFile.mm */, 16244 BC00F0000E0A185500FD04E3 /* DOMFileInternal.h */, 16245 BC00F0010E0A185500FD04E3 /* DOMFileList.h */, 16246 BC00F0020E0A185500FD04E3 /* DOMFileList.mm */, 16247 BC00F0030E0A185500FD04E3 /* DOMFileListInternal.h */, 16249 16248 85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */, 16250 16249 85DF81220AA7787200486AD7 /* DOMHTMLAnchorElement.mm */, … … 16365 16364 85DF81260AA7787200486AD7 /* DOMHTMLObjectElement.mm */, 16366 16365 85E7116E0AC5D5350053270F /* DOMHTMLObjectElementInternal.h */, 16367 4429AAFF0CB84EC3007647C5 /* DOMHTMLObjectElementPrivate.h */,16368 16366 85BA4D070AA688680088052D /* DOMHTMLOListElement.h */, 16369 16367 85BA4D080AA688680088052D /* DOMHTMLOListElement.mm */, … … 16430 16428 2DEC664C1C82CFBF0099846A /* DOMHTMLVideoElement.mm */, 16431 16429 2DEC664D1C82CFBF0099846A /* DOMHTMLVideoElementInternal.h */, 16430 2DEC66751C8403C30099846A /* DOMMediaError.h */, 16431 2DEC66761C8403C30099846A /* DOMMediaError.mm */, 16432 2DEC66771C8403C30099846A /* DOMMediaErrorInternal.h */, 16433 2DEC666F1C83F2AF0099846A /* DOMTimeRanges.h */, 16434 2DEC66701C83F2AF0099846A /* DOMTimeRanges.mm */, 16435 2DEC66711C83F2AF0099846A /* DOMTimeRangesInternal.h */, 16432 16436 ); 16433 16437 name = HTML; … … 18774 18778 85967DCA0AA8BF0F005FEDEE /* CSS */, 18775 18779 85AFA7AB0AAF3BB000E84305 /* Events */, 18776 85C56D030AA8BAA700D95755 /* HTML */,18777 18780 85E7113D0AC5D4A10053270F /* Internal */, 18778 18781 8538F0570AD722B9006A81D1 /* Ranges */, … … 18786 18789 sourceTree = BUILT_PRODUCTS_DIR; 18787 18790 }; 18788 85C56D030AA8BAA700D95755 /* HTML */ = {18789 isa = PBXGroup;18790 children = (18791 2E2D99E510E2BC1C00496337 /* DOMBlob.h */,18792 2E2D99E610E2BC1C00496337 /* DOMBlob.mm */,18793 769456591214DB630007CBAE /* DOMDOMTokenList.h */,18794 7694565A1214DB630007CBAE /* DOMDOMTokenList.mm */,18795 BC00EFFE0E0A185500FD04E3 /* DOMFile.h */,18796 BC00EFFF0E0A185500FD04E3 /* DOMFile.mm */,18797 2E3BC106117D479800B9409A /* DOMFileError.h */,18798 2E3BC107117D479800B9409A /* DOMFileError.mm */,18799 BC00F0010E0A185500FD04E3 /* DOMFileList.h */,18800 BC00F0020E0A185500FD04E3 /* DOMFileList.mm */,18801 2DEC66751C8403C30099846A /* DOMMediaError.h */,18802 2DEC66761C8403C30099846A /* DOMMediaError.mm */,18803 2DEC666F1C83F2AF0099846A /* DOMTimeRanges.h */,18804 2DEC66701C83F2AF0099846A /* DOMTimeRanges.mm */,18805 15C770A4100D41CD005BA267 /* DOMValidityState.h */,18806 15C770A3100D41CD005BA267 /* DOMValidityState.mm */,18807 );18808 name = HTML;18809 sourceTree = "<group>";18810 };18811 18791 85E7113D0AC5D4A10053270F /* Internal */ = { 18812 18792 isa = PBXGroup; … … 18814 18794 8538F0180AD718D8006A81D1 /* DOMAbstractViewInternal.h */, 18815 18795 85E7113E0AC5D5340053270F /* DOMAttrInternal.h */, 18816 2E2D99E910E2BC3800496337 /* DOMBlobInternal.h */,18817 18796 85E7113F0AC5D5340053270F /* DOMCDATASectionInternal.h */, 18818 18797 85E711400AC5D5340053270F /* DOMCharacterDataInternal.h */, … … 18842 18821 85E7114B0AC5D5340053270F /* DOMEntityReferenceInternal.h */, 18843 18822 85B498F40ADB337A00925CBB /* DOMEventInternal.h */, 18844 2E3BC10A117D47C800B9409A /* DOMFileErrorInternal.h */,18845 BC00F0000E0A185500FD04E3 /* DOMFileInternal.h */,18846 BC00F0030E0A185500FD04E3 /* DOMFileListInternal.h */,18847 18823 85989DC50ACC8BBD00A0BC51 /* DOMKeyboardEventInternal.h */, 18848 2DEC66771C8403C30099846A /* DOMMediaErrorInternal.h */,18849 18824 85E711820AC5D5350053270F /* DOMMediaListInternal.h */, 18850 18825 75793ED20D0CE85B007FC0AC /* DOMMessageEventInternal.h */, … … 18867 18842 4429AB070CB84F81007647C5 /* DOMTextEventInternal.h */, 18868 18843 85E7118A0AC5D5350053270F /* DOMTextInternal.h */, 18869 2DEC66711C83F2AF0099846A /* DOMTimeRangesInternal.h */,18870 18844 850B41C10AD9E7E700A6ED4F /* DOMTreeWalkerInternal.h */, 18871 18845 85989DC90ACC8BBD00A0BC51 /* DOMUIEventInternal.h */, … … 22477 22451 isa = PBXGroup; 22478 22452 children = ( 22453 854F12AC0A8EBC18000940B5 /* Core */, 22479 22454 1AD2D15C1D4FD6B200B7DE36 /* HTML */, 22480 854F12AC0A8EBC18000940B5 /* Core */,22481 22455 85B232260A8BF3A100FDF47B /* Derived Sources */, 22482 22456 854075420AD6C73E00620C57 /* DOMExceptions */, … … 25461 25435 7C93F34A1AA6BA5E00A98BAB /* CompiledContentExtension.h in Headers */, 25462 25436 37C236111097EE7700EF9F72 /* ComplexTextController.h in Headers */, 25463 1A67BF6A1D4FE42300412AC7 /* DOMHTMLObjectElementPrivate.h in Headers */,25464 25437 E4BA50901BCFBD9500E34EF7 /* ComposedTreeAncestorIterator.h in Headers */, 25465 25438 E44FA1851BCA6B5A0091B6EF /* ComposedTreeIterator.h in Headers */, … … 25849 25822 52CCA9EA15E3F64C0053C77F /* DOMDOMNamedFlowCollectionInternal.h in Headers */, 25850 25823 9B3A8872145632F9003AE8F5 /* DOMDOMSettableTokenList.h in Headers */, 25851 7694565B1214DB630007CBAE /* DOMDOMTokenList.h in Headers */,25852 25824 7AABA25A14BC613300AA9A11 /* DOMEditor.h in Headers */, 25853 25825 85ACA9C00A9B5FA500671E90 /* DOMElement.h in Headers */, … … 25867 25839 BC1A37B5097C715F0019F3D8 /* DOMExtensions.h in Headers */, 25868 25840 BC00F0040E0A185500FD04E3 /* DOMFile.h in Headers */, 25869 2E3BC108117D479800B9409A /* DOMFileError.h in Headers */,25870 2E3BC10B117D47C800B9409A /* DOMFileErrorInternal.h in Headers */,25871 25841 BC00F0060E0A185500FD04E3 /* DOMFileInternal.h in Headers */, 25872 25842 BC00F0070E0A185500FD04E3 /* DOMFileList.h in Headers */, … … 26006 25976 CD9DE18217AAD6A400EA386D /* DOMURLMediaSource.h in Headers */, 26007 25977 15FCC9FE1B4DF85E00E72326 /* DOMURLMediaStream.h in Headers */, 26008 15C770A6100D41CD005BA267 /* DOMValidityState.h in Headers */,26009 25978 BC1A37C0097C715F0019F3D8 /* DOMViews.h in Headers */, 26010 25979 31C0FF490E4CEFDD007D6FE5 /* DOMWebKitAnimationEvent.h in Headers */, … … 27877 27846 F55B3DD01251F12D003EF269 /* ResetInputType.h in Headers */, 27878 27847 7EE6846A12D26E3800E79415 /* ResourceError.h in Headers */, 27848 1A144B4D1D4FF77300D9E32C /* DOMDOMTokenListInternal.h in Headers */, 27879 27849 934F713C0D5A6F1900018D69 /* ResourceErrorBase.h in Headers */, 27880 27850 514C76790CE923A1007EF3CD /* ResourceHandle.h in Headers */, … … 28205 28175 E4BBED4D14FCDBA1003F0B98 /* StyleRule.h in Headers */, 28206 28176 E4946EAF156E64DD00D3297F /* StyleRuleImport.h in Headers */, 28177 1A144B511D4FF9BD00D9E32C /* DOMDOMTokenList.h in Headers */, 28207 28178 F47A5E3E195B8C8A00483100 /* StyleScrollSnapPoints.h in Headers */, 28208 28179 9D6380101AF173220031A15C /* StyleSelfAlignmentData.h in Headers */, … … 29727 29698 8518DCEA0A9CC80D0091B7A6 /* DOMDOMImplementation.mm in Sources */, 29728 29699 52CCA9E915E3F64C0053C77F /* DOMDOMNamedFlowCollection.mm in Sources */, 29729 7694565C1214DB630007CBAE /* DOMDOMTokenList.mm in Sources */,29730 29700 7AABA25914BC613300AA9A11 /* DOMEditor.cpp in Sources */, 29731 29701 85ACA9C10A9B5FA500671E90 /* DOMElement.mm in Sources */, … … 29736 29706 BC1A37B3097C715F0019F3D8 /* DOMEvents.mm in Sources */, 29737 29707 BC00F0050E0A185500FD04E3 /* DOMFile.mm in Sources */, 29738 2E3BC109117D479800B9409A /* DOMFileError.mm in Sources */,29739 29708 BC00F0080E0A185500FD04E3 /* DOMFileList.mm in Sources */, 29740 29709 2ED609BC1145B07100C8684E /* DOMFormData.cpp in Sources */, … … 29848 29817 15FCC9FC1B4DF7F200E72326 /* DOMURLMediaStream.cpp in Sources */, 29849 29818 BC1A37BF097C715F0019F3D8 /* DOMUtility.mm in Sources */, 29850 15C770A5100D41CD005BA267 /* DOMValidityState.mm in Sources */,29851 29819 31C0FF4A0E4CEFDD007D6FE5 /* DOMWebKitAnimationEvent.mm in Sources */, 29852 29820 3106037A143281CD00ABF4BA /* DOMWebKitCSSFilterValue.mm in Sources */, … … 31560 31528 A8DF4AED0980C42C0052981B /* RenderTableSection.cpp in Sources */, 31561 31529 BCEA488B097D93020094C9E4 /* RenderText.cpp in Sources */, 31530 1A144B501D4FF7F100D9E32C /* DOMDOMTokenList.mm in Sources */, 31562 31531 AB67D1A8097F3AE300F9392E /* RenderTextControl.cpp in Sources */, 31563 31532 083DAEA60F01A7FB00342754 /* RenderTextControlMultiLine.cpp in Sources */, … … 31601 31570 6B693A341C51A95D00B03BEF /* ResourceLoadObserver.cpp in Sources */, 31602 31571 7A929CA61C598A9E004DF226 /* ResourceLoadStatistics.cpp in Sources */, 31572 1A144B521D50024300D9E32C /* DOMHTMLTitleElement.mm in Sources */, 31603 31573 7AD3CDD91C8A002F00F12698 /* ResourceLoadStatisticsStore.cpp in Sources */, 31604 31574 5C9B860C1C21E3C900110F36 /* ResourceLoadTiming.mm in Sources */, -
trunk/Source/WebCore/bindings/objc/DOMBlob.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOM HTMLObjectElement.h>26 #import <WebCore/DOMObject.h> 27 27 28 @class DOMValidityState; 29 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 34 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 28 WEBKIT_CLASS_AVAILABLE_MAC(10_6) 29 WEBCORE_EXPORT @interface DOMBlob : DOMObject 30 @property (readonly) unsigned long long size; 37 31 @end -
trunk/Source/WebCore/bindings/objc/DOMBlob.mm
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOMHTMLObjectElement.h> 26 #import "config.h" 27 #import "DOMBlobInternal.h" 27 28 28 @class DOMValidityState; 29 #import "Blob.h" 30 #import "DOMInternal.h" 31 #import "DOMNodeInternal.h" 32 #import "ExceptionHandlers.h" 33 #import "JSMainThreadExecState.h" 34 #import "ThreadCheck.h" 35 #import "URL.h" 36 #import "WebCoreObjCExtras.h" 37 #import "WebScriptObjectPrivate.h" 38 #import <wtf/GetPtr.h> 29 39 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 40 #define IMPL reinterpret_cast<WebCore::Blob*>(_internal) 34 41 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 42 @implementation DOMBlob 43 44 - (void)dealloc 45 { 46 if (WebCoreObjCScheduleDeallocateOnMainThread([DOMBlob class], self)) 47 return; 48 49 if (_internal) 50 IMPL->deref(); 51 [super dealloc]; 52 } 53 54 - (unsigned long long)size 55 { 56 WebCore::JSMainThreadNullState state; 57 return IMPL->size(); 58 } 59 60 - (NSString *)type 61 { 62 WebCore::JSMainThreadNullState state; 63 return IMPL->type(); 64 } 65 37 66 @end 67 68 WebCore::Blob* core(DOMBlob *wrapper) 69 { 70 return wrapper ? reinterpret_cast<WebCore::Blob*>(wrapper->_internal) : 0; 71 } 72 73 DOMBlob *kit(WebCore::Blob* value) 74 { 75 WebCoreThreadViolationCheckRoundOne(); 76 if (!value) 77 return nil; 78 if (DOMBlob *wrapper = getDOMWrapper(value)) 79 return [[wrapper retain] autorelease]; 80 DOMBlob *wrapper = [[DOMBlob alloc] _init]; 81 wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value); 82 value->ref(); 83 addDOMWrapper(wrapper, value); 84 return [wrapper autorelease]; 85 } -
trunk/Source/WebCore/bindings/objc/DOMBlobInternal.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOM HTMLObjectElement.h>26 #import <WebCore/DOMBlob.h> 27 27 28 @class DOMValidityState; 28 namespace WebCore { 29 class Blob; 30 } 29 31 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 34 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 37 @end 32 WEBCORE_EXPORT WebCore::Blob* core(DOMBlob *); 33 WEBCORE_EXPORT DOMBlob *kit(WebCore::Blob*); -
trunk/Source/WebCore/bindings/objc/DOMDOMTokenList.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOMHTMLObjectElement.h>27 26 28 @class DOMValidityState; 27 #import <WebCore/DOMObject.h> 29 28 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 29 @class NSString; 34 30 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 31 WEBKIT_CLASS_AVAILABLE_MAC(9876_5) 32 WEBCORE_EXPORT @interface DOMDOMTokenList : DOMObject 33 @property (readonly) unsigned length; 34 @property (copy) NSString *value; 35 36 - (NSString *)item:(unsigned)index; 37 - (BOOL)contains:(NSString *)token; 38 - (BOOL)toggle:(NSString *)token force:(BOOL)force; 37 39 @end -
trunk/Source/WebCore/bindings/objc/DOMDOMTokenListInternal.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOMHTMLObjectElement.h>27 26 28 @class DOMValidityState; 27 #import <WebCore/DOMDOMTokenList.h> 29 28 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 29 namespace WebCore { 30 class DOMTokenList; 31 } 34 32 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 37 @end 33 WEBCORE_EXPORT WebCore::DOMTokenList* core(DOMDOMTokenList *); 34 WEBCORE_EXPORT DOMDOMTokenList *kit(WebCore::DOMTokenList*); -
trunk/Source/WebCore/bindings/objc/DOMFile.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOM HTMLObjectElement.h>26 #import <WebCore/DOMBlob.h> 27 27 28 @class DOMValidityState;28 @class NSString; 29 29 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 34 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 30 WEBKIT_CLASS_AVAILABLE_MAC(10_6) 31 WEBCORE_EXPORT @interface DOMFile : DOMBlob 32 @property (readonly, copy) NSString *name; 37 33 @end -
trunk/Source/WebCore/bindings/objc/DOMFile.mm
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOMHTMLObjectElement.h> 26 #import "config.h" 27 #import "DOMFileInternal.h" 27 28 28 @class DOMValidityState; 29 #import "DOMBlobInternal.h" 30 #import "DOMNodeInternal.h" 31 #import "ExceptionHandlers.h" 32 #import "File.h" 33 #import "JSMainThreadExecState.h" 34 #import "ThreadCheck.h" 35 #import "URL.h" 36 #import "WebScriptObjectPrivate.h" 37 #import <wtf/GetPtr.h> 29 38 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 39 #define IMPL static_cast<WebCore::File*>(reinterpret_cast<WebCore::Blob*>(_internal)) 34 40 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 41 @implementation DOMFile 42 43 - (NSString *)name 44 { 45 WebCore::JSMainThreadNullState state; 46 return IMPL->name(); 47 } 48 49 - (long long)lastModified 50 { 51 WebCore::JSMainThreadNullState state; 52 return IMPL->lastModified(); 53 } 54 37 55 @end 56 57 WebCore::File* core(DOMFile *wrapper) 58 { 59 return wrapper ? reinterpret_cast<WebCore::File*>(wrapper->_internal) : 0; 60 } 61 62 DOMFile *kit(WebCore::File* value) 63 { 64 WebCoreThreadViolationCheckRoundOne(); 65 return static_cast<DOMFile*>(kit(static_cast<WebCore::Blob*>(value))); 66 } -
trunk/Source/WebCore/bindings/objc/DOMFileInternal.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOM HTMLObjectElement.h>26 #import <WebCore/DOMFile.h> 27 27 28 @class DOMValidityState; 28 namespace WebCore { 29 class File; 30 } 29 31 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 34 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 37 @end 32 WEBCORE_EXPORT WebCore::File* core(DOMFile *); 33 WEBCORE_EXPORT DOMFile *kit(WebCore::File*); -
trunk/Source/WebCore/bindings/objc/DOMFileList.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOM HTMLObjectElement.h>26 #import <WebCore/DOMObject.h> 27 27 28 @class DOM ValidityState;28 @class DOMFile; 29 29 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 30 WEBKIT_CLASS_AVAILABLE_MAC(10_6) 31 WEBCORE_EXPORT @interface DOMFileList : DOMObject 32 @property (readonly) unsigned length; 34 33 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 34 - (DOMFile *)item:(unsigned)index; 37 35 @end -
trunk/Source/WebCore/bindings/objc/DOMFileListInternal.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOM HTMLObjectElement.h>26 #import <WebCore/DOMFileList.h> 27 27 28 @class DOMValidityState; 28 namespace WebCore { 29 class FileList; 30 } 29 31 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 34 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 37 @end 32 WEBCORE_EXPORT WebCore::FileList* core(DOMFileList *); 33 WEBCORE_EXPORT DOMFileList *kit(WebCore::FileList*); -
trunk/Source/WebCore/bindings/objc/DOMHTMLButtonElement.mm
r203988 r203993 30 30 #import "DOMNodeInternal.h" 31 31 #import "DOMNodeListInternal.h" 32 #import "DOMValidityStateInternal.h"33 32 #import "ExceptionHandlers.h" 34 33 #import "HTMLButtonElement.h" … … 40 39 #import "ThreadCheck.h" 41 40 #import "URL.h" 42 #import "ValidityState.h"43 41 #import "WebScriptObjectPrivate.h" 44 42 #import <wtf/GetPtr.h> … … 78 76 } 79 77 80 - (NSString *)formAction81 {82 WebCore::JSMainThreadNullState state;83 return IMPL->formAction();84 }85 86 - (void)setFormAction:(NSString *)newFormAction87 {88 WebCore::JSMainThreadNullState state;89 IMPL->setFormAction(newFormAction);90 }91 92 - (NSString *)formEnctype93 {94 WebCore::JSMainThreadNullState state;95 return IMPL->formEnctype();96 }97 98 - (void)setFormEnctype:(NSString *)newFormEnctype99 {100 WebCore::JSMainThreadNullState state;101 IMPL->setFormEnctype(newFormEnctype);102 }103 104 - (NSString *)formMethod105 {106 WebCore::JSMainThreadNullState state;107 return IMPL->formMethod();108 }109 110 - (void)setFormMethod:(NSString *)newFormMethod111 {112 WebCore::JSMainThreadNullState state;113 IMPL->setFormMethod(newFormMethod);114 }115 116 78 - (NSString *)type 117 79 { … … 124 86 WebCore::JSMainThreadNullState state; 125 87 IMPL->setType(newType); 126 }127 128 - (BOOL)formNoValidate129 {130 WebCore::JSMainThreadNullState state;131 return IMPL->hasAttributeWithoutSynchronization(WebCore::HTMLNames::formnovalidateAttr);132 }133 134 - (void)setFormNoValidate:(BOOL)newFormNoValidate135 {136 WebCore::JSMainThreadNullState state;137 IMPL->setBooleanAttribute(WebCore::HTMLNames::formnovalidateAttr, newFormNoValidate);138 }139 140 - (NSString *)formTarget141 {142 WebCore::JSMainThreadNullState state;143 return IMPL->getAttribute(WebCore::HTMLNames::formtargetAttr);144 }145 146 - (void)setFormTarget:(NSString *)newFormTarget147 {148 WebCore::JSMainThreadNullState state;149 IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::formtargetAttr, newFormTarget);150 88 } 151 89 … … 180 118 } 181 119 182 - (DOMValidityState *)validity183 {184 WebCore::JSMainThreadNullState state;185 return kit(WTF::getPtr(IMPL->validity()));186 }187 188 - (NSString *)validationMessage189 {190 WebCore::JSMainThreadNullState state;191 return IMPL->validationMessage();192 }193 194 - (DOMNodeList *)labels195 {196 WebCore::JSMainThreadNullState state;197 return kit(WTF::getPtr(IMPL->labels()));198 }199 200 120 - (NSString *)accessKey 201 121 { … … 208 128 WebCore::JSMainThreadNullState state; 209 129 IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::accesskeyAttr, newAccessKey); 210 }211 212 - (BOOL)checkValidity213 {214 WebCore::JSMainThreadNullState state;215 return IMPL->checkValidity();216 }217 218 - (void)setCustomValidity:(NSString *)error219 {220 WebCore::JSMainThreadNullState state;221 IMPL->setCustomValidity(error);222 130 } 223 131 -
trunk/Source/WebCore/bindings/objc/DOMHTMLFieldSetElement.mm
r203988 r203993 31 31 #import "DOMInternal.h" 32 32 #import "DOMNodeInternal.h" 33 #import "DOMValidityStateInternal.h"34 33 #import "ExceptionHandlers.h" 35 34 #import "HTMLCollection.h" … … 48 47 @implementation DOMHTMLFieldSetElement 49 48 50 - (BOOL)disabled51 {52 WebCore::JSMainThreadNullState state;53 return IMPL->hasAttributeWithoutSynchronization(WebCore::HTMLNames::disabledAttr);54 }55 56 - (void)setDisabled:(BOOL)newDisabled57 {58 WebCore::JSMainThreadNullState state;59 IMPL->setBooleanAttribute(WebCore::HTMLNames::disabledAttr, newDisabled);60 }61 62 49 - (DOMHTMLFormElement *)form 63 50 { 64 51 WebCore::JSMainThreadNullState state; 65 52 return kit(WTF::getPtr(IMPL->form())); 66 }67 68 - (NSString *)name69 {70 WebCore::JSMainThreadNullState state;71 return IMPL->getNameAttribute();72 }73 74 - (void)setName:(NSString *)newName75 {76 WebCore::JSMainThreadNullState state;77 IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::nameAttr, newName);78 }79 80 - (NSString *)type81 {82 WebCore::JSMainThreadNullState state;83 return IMPL->type();84 }85 86 - (DOMHTMLCollection *)elements87 {88 WebCore::JSMainThreadNullState state;89 return kit(WTF::getPtr(IMPL->elementsForNativeBindings()));90 }91 92 - (BOOL)willValidate93 {94 WebCore::JSMainThreadNullState state;95 return IMPL->willValidate();96 }97 98 - (DOMValidityState *)validity99 {100 WebCore::JSMainThreadNullState state;101 return kit(WTF::getPtr(IMPL->validity()));102 }103 104 - (NSString *)validationMessage105 {106 WebCore::JSMainThreadNullState state;107 return IMPL->validationMessage();108 }109 110 - (BOOL)checkValidity111 {112 WebCore::JSMainThreadNullState state;113 return IMPL->checkValidity();114 }115 116 - (void)setCustomValidity:(NSString *)error117 {118 WebCore::JSMainThreadNullState state;119 IMPL->setCustomValidity(error);120 53 } 121 54 -
trunk/Source/WebCore/bindings/objc/DOMHTMLInputElement.mm
r203988 r203993 34 34 #import "DOMInternal.h" 35 35 #import "DOMPrivate.h" 36 #import "DOMValidityStateInternal.h"37 36 #import "ExceptionHandlers.h" 38 37 #import "FileList.h" … … 48 47 #import "ThreadCheck.h" 49 48 #import "URL.h" 50 #import "ValidityState.h"51 49 #import "WebScriptObjectPrivate.h" 52 50 #import <wtf/GetPtr.h> … … 492 490 } 493 491 494 - (DOMValidityState *)validity495 {496 WebCore::JSMainThreadNullState state;497 return kit(WTF::getPtr(IMPL->validity()));498 }499 500 492 - (NSString *)validationMessage 501 493 { -
trunk/Source/WebCore/bindings/objc/DOMHTMLInputElementPrivate.h
r203988 r203993 49 49 @property double valueAsNumber; 50 50 @property unsigned width; 51 @property (readonly, strong) DOMValidityState *validity;52 @property (readonly, copy) NSString *validationMessage;53 51 @property (readonly, strong) DOMNodeList *labels; 54 52 @property (copy) NSString *selectionDirection; … … 60 58 - (void)stepUp:(int)n; 61 59 - (void)stepDown:(int)n; 62 - (BOOL)checkValidity;63 - (void)setCustomValidity:(NSString *)error;64 60 - (void)setRangeText:(NSString *)replacement; 65 61 - (void)setRangeText:(NSString *)replacement start:(unsigned)start end:(unsigned)end selectionMode:(NSString *)selectionMode; -
trunk/Source/WebCore/bindings/objc/DOMHTMLObjectElement.mm
r203988 r203993 31 31 #import "DOMNodeInternal.h" 32 32 #import "DOMPrivate.h" 33 #import "DOMValidityStateInternal.h"34 33 #import "Document.h" 35 34 #import "ExceptionHandlers.h" … … 41 40 #import "ThreadCheck.h" 42 41 #import "URL.h" 43 #import "ValidityState.h"44 42 #import "WebScriptObjectPrivate.h" 45 43 #import <wtf/GetPtr.h> … … 245 243 WebCore::JSMainThreadNullState state; 246 244 IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::widthAttr, newWidth); 247 }248 249 - (BOOL)willValidate250 {251 WebCore::JSMainThreadNullState state;252 return IMPL->willValidate();253 }254 255 - (DOMValidityState *)validity256 {257 WebCore::JSMainThreadNullState state;258 return kit(WTF::getPtr(IMPL->validity()));259 }260 261 - (NSString *)validationMessage262 {263 WebCore::JSMainThreadNullState state;264 return IMPL->validationMessage();265 245 } 266 246 … … 279 259 } 280 260 281 - (BOOL)checkValidity282 {283 WebCore::JSMainThreadNullState state;284 return IMPL->checkValidity();285 }286 287 - (void)setCustomValidity:(NSString *)error288 {289 WebCore::JSMainThreadNullState state;290 IMPL->setCustomValidity(error);291 }292 293 261 @end 294 262 -
trunk/Source/WebCore/bindings/objc/DOMHTMLSelectElement.mm
r203988 r203993 33 33 #import "DOMNodeInternal.h" 34 34 #import "DOMNodeListInternal.h" 35 #import "DOMValidityStateInternal.h"36 35 #import "ExceptionHandlers.h" 37 36 #import "HTMLCollection.h" … … 47 46 #import "ThreadCheck.h" 48 47 #import "URL.h" 49 #import "ValidityState.h"50 48 #import "WebScriptObjectPrivate.h" 51 49 #import <wtf/GetPtr.h> … … 109 107 } 110 108 111 - (BOOL)required112 {113 WebCore::JSMainThreadNullState state;114 return IMPL->hasAttributeWithoutSynchronization(WebCore::HTMLNames::requiredAttr);115 }116 117 - (void)setRequired:(BOOL)newRequired118 {119 WebCore::JSMainThreadNullState state;120 IMPL->setBooleanAttribute(WebCore::HTMLNames::requiredAttr, newRequired);121 }122 123 109 - (int)size 124 110 { … … 151 137 } 152 138 153 - (DOMHTMLCollection *)selectedOptions154 {155 WebCore::JSMainThreadNullState state;156 return kit(WTF::getPtr(IMPL->selectedOptions()));157 }158 159 139 - (int)selectedIndex 160 140 { … … 185 165 WebCore::JSMainThreadNullState state; 186 166 return IMPL->willValidate(); 187 }188 189 - (DOMValidityState *)validity190 {191 WebCore::JSMainThreadNullState state;192 return kit(WTF::getPtr(IMPL->validity()));193 }194 195 - (NSString *)validationMessage196 {197 WebCore::JSMainThreadNullState state;198 return IMPL->validationMessage();199 }200 201 - (DOMNodeList *)labels202 {203 WebCore::JSMainThreadNullState state;204 return kit(WTF::getPtr(IMPL->labels()));205 }206 207 - (NSString *)autocomplete208 {209 WebCore::JSMainThreadNullState state;210 return IMPL->autocomplete();211 }212 213 - (void)setAutocomplete:(NSString *)newAutocomplete214 {215 WebCore::JSMainThreadNullState state;216 IMPL->setAutocomplete(newAutocomplete);217 167 } 218 168 … … 255 205 } 256 206 257 - (BOOL)checkValidity258 {259 WebCore::JSMainThreadNullState state;260 return IMPL->checkValidity();261 }262 263 - (void)setCustomValidity:(NSString *)error264 {265 WebCore::JSMainThreadNullState state;266 IMPL->setCustomValidity(error);267 }268 269 207 @end 270 208 -
trunk/Source/WebCore/bindings/objc/DOMHTMLTextAreaElement.mm
r203981 r203993 30 30 #import "DOMNodeInternal.h" 31 31 #import "DOMNodeListInternal.h" 32 #import "DOMValidityStateInternal.h"33 32 #import "ExceptionHandlers.h" 34 33 #import "HTMLTextAreaElement.h" … … 36 35 #import "NodeList.h" 37 36 #import "ThreadCheck.h" 38 #import "ValidityState.h"39 37 40 38 using namespace WebCore; … … 241 239 } 242 240 243 - (DOMValidityState *)validity244 {245 JSMainThreadNullState state;246 return kit(wrapped(_internal).validity());247 }248 249 - (NSString *)validationMessage250 {251 JSMainThreadNullState state;252 return wrapped(_internal).validationMessage();253 }254 255 241 - (DOMNodeList *)labels 256 242 { … … 317 303 JSMainThreadNullState state; 318 304 wrapped(_internal).setAutocomplete(newAutocomplete); 319 }320 321 - (BOOL)checkValidity322 {323 JSMainThreadNullState state;324 return wrapped(_internal).checkValidity();325 }326 327 - (void)setCustomValidity:(NSString *)error328 {329 JSMainThreadNullState state;330 wrapped(_internal).setCustomValidity(error);331 305 } 332 306 -
trunk/Source/WebCore/bindings/objc/DOMHTMLTextAreaElementPrivate.h
r203974 r203993 36 36 @property (copy) NSString *wrap; 37 37 @property (readonly) unsigned textLength; 38 @property (readonly, strong) DOMValidityState *validity;39 @property (readonly, copy) NSString *validationMessage;40 38 @property (readonly, strong) DOMNodeList *labels; 41 39 @property (copy) NSString *selectionDirection; … … 43 41 @property (copy) NSString *autocapitalize; 44 42 @property (copy) NSString *autocomplete; 45 - (BOOL)checkValidity;46 - (void)setCustomValidity:(NSString *)error;47 43 - (void)setRangeText:(NSString *)replacement; 48 44 - (void)setRangeText:(NSString *)replacement start:(unsigned)start end:(unsigned)end selectionMode:(NSString *)selectionMode; -
trunk/Source/WebCore/bindings/objc/DOMMediaError.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOM HTMLObjectElement.h>26 #import <WebCore/DOMObject.h> 27 27 28 @class DOMValidityState; 28 enum { 29 DOM_MEDIA_ERR_ABORTED = 1, 30 DOM_MEDIA_ERR_NETWORK = 2, 31 DOM_MEDIA_ERR_DECODE = 3, 32 DOM_MEDIA_ERR_SRC_NOT_SUPPORTED = 4, 33 DOM_MEDIA_ERR_ENCRYPTED = 5 34 } WEBKIT_ENUM_AVAILABLE_MAC(9876_5); 29 35 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 34 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 36 WEBKIT_CLASS_AVAILABLE_MAC(9876_5) 37 WEBCORE_EXPORT @interface DOMMediaError : DOMObject 38 @property (readonly) unsigned short code; 37 39 @end -
trunk/Source/WebCore/bindings/objc/DOMMediaErrorInternal.h
r203992 r203993 1 1 /* 2 * Copyright (C) 2004-2016 Apple Inc. All rights reserved. 2 * This file is part of the WebKit open source project. 3 * This file has been generated by generate-bindings.pl. DO NOT MODIFY! 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 21 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 25 */ 25 26 26 #import <WebCore/DOM HTMLObjectElement.h>27 #import <WebCore/DOMMediaError.h> 27 28 28 @class DOMValidityState; 29 namespace WebCore { 30 class MediaError; 31 } 29 32 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 34 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 37 @end 33 WEBCORE_EXPORT WebCore::MediaError* core(DOMMediaError *); 34 WEBCORE_EXPORT DOMMediaError *kit(WebCore::MediaError*); -
trunk/Source/WebCore/bindings/objc/DOMTimeRanges.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOM HTMLObjectElement.h>26 #import <WebCore/DOMObject.h> 27 27 28 @class DOMValidityState; 28 WEBKIT_CLASS_AVAILABLE_MAC(9876_5) 29 WEBCORE_EXPORT @interface DOMTimeRanges : DOMObject 30 @property (readonly) unsigned length; 29 31 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 34 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 32 - (double)start:(unsigned)index; 33 - (double)end:(unsigned)index; 37 34 @end -
trunk/Source/WebCore/bindings/objc/DOMTimeRangesInternal.h
r203992 r203993 24 24 */ 25 25 26 #import <WebCore/DOM HTMLObjectElement.h>26 #import <WebCore/DOMTimeRanges.h> 27 27 28 @class DOMValidityState; 28 namespace WebCore { 29 class TimeRanges; 30 } 29 31 30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate) 31 @property (readonly) BOOL willValidate; 32 @property (readonly, strong) DOMValidityState *validity; 33 @property (readonly, copy) NSString *validationMessage; 34 35 - (BOOL)checkValidity; 36 - (void)setCustomValidity:(NSString *)error; 37 @end 32 WEBCORE_EXPORT WebCore::TimeRanges* core(DOMTimeRanges *); 33 WEBCORE_EXPORT DOMTimeRanges *kit(WebCore::TimeRanges*);
Note: See TracChangeset
for help on using the changeset viewer.