Changeset 203993 in webkit


Ignore:
Timestamp:
Aug 1, 2016 3:51:04 PM (8 years ago)
Author:
andersca@apple.com
Message:

Freeze the last of the HTML Objective-C bindings
https://bugs.webkit.org/show_bug.cgi?id=160430

Reviewed by Tim Horton.

Also, remove a bunch of form validation related methods that were never exposed/used.

  • DerivedSources.make:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/objc/DOMBlob.h: Added.
  • bindings/objc/DOMBlob.mm: Added.
  • bindings/objc/DOMBlobInternal.h: Added.
  • bindings/objc/DOMDOMTokenList.h: Added.
  • bindings/objc/DOMDOMTokenList.mm: Added.
  • bindings/objc/DOMDOMTokenListInternal.h: Added.
  • bindings/objc/DOMFile.h: Added.
  • bindings/objc/DOMFile.mm: Added.
  • bindings/objc/DOMFileInternal.h: Added.
  • bindings/objc/DOMFileList.h: Added.
  • bindings/objc/DOMFileList.mm: Added.
  • bindings/objc/DOMFileListInternal.h: Added.
  • bindings/objc/DOMHTMLButtonElement.mm:
  • bindings/objc/DOMHTMLFieldSetElement.mm:
  • bindings/objc/DOMHTMLInputElement.mm:
  • bindings/objc/DOMHTMLInputElementPrivate.h:
  • bindings/objc/DOMHTMLObjectElement.mm:
  • bindings/objc/DOMHTMLSelectElement.mm:
  • bindings/objc/DOMHTMLTextAreaElement.mm:
  • bindings/objc/DOMHTMLTextAreaElementPrivate.h:
  • bindings/objc/DOMMediaError.h: Added.
  • bindings/objc/DOMMediaError.mm: Added.
  • bindings/objc/DOMMediaErrorInternal.h: Added.
  • bindings/objc/DOMTimeRanges.h: Added.
  • bindings/objc/DOMTimeRanges.mm: Added.
  • bindings/objc/DOMTimeRangesInternal.h: Added.
Location:
trunk/Source/WebCore
Files:
4 added
11 edited
13 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r203989 r203993  
     12016-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
    1392016-08-01  Anders Carlsson  <andersca@apple.com>
    240
  • trunk/Source/WebCore/DerivedSources.make

    r203988 r203993  
    347347    $(WebCore)/dom/WheelEvent.idl \
    348348    $(WebCore)/dom/XMLDocument.idl \
    349     $(WebCore)/fileapi/Blob.idl \
    350     $(WebCore)/fileapi/File.idl \
    351     $(WebCore)/fileapi/FileError.idl \
    352349    $(WebCore)/fileapi/FileException.idl \
    353     $(WebCore)/fileapi/FileList.idl \
    354350    $(WebCore)/fileapi/FileReader.idl \
    355351    $(WebCore)/fileapi/FileReaderSync.idl \
    356352    $(WebCore)/html/DOMFormData.idl \
    357353    $(WebCore)/html/DOMSettableTokenList.idl \
    358     $(WebCore)/html/DOMTokenList.idl \
    359354    $(WebCore)/html/DOMURL.idl \
    360355    $(WebCore)/html/ImageData.idl \
    361356    $(WebCore)/html/MediaController.idl \
    362     $(WebCore)/html/MediaError.idl \
    363357    $(WebCore)/html/MediaKeyError.idl \
    364358    $(WebCore)/html/MediaKeyEvent.idl \
    365359    $(WebCore)/html/RadioNodeList.idl \
    366360    $(WebCore)/html/TextMetrics.idl \
    367     $(WebCore)/html/TimeRanges.idl \
    368361    $(WebCore)/html/URLUtils.idl \
    369     $(WebCore)/html/ValidityState.idl \
    370362    $(WebCore)/html/VoidCallback.idl \
    371363    $(WebCore)/html/canvas/ANGLEInstancedArrays.idl \
     
    494486
    495487JS_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 \
    496493        $(WebCore)/html/HTMLAnchorElement.idl \
    497494        $(WebCore)/html/HTMLAppletElement.idl \
     
    574571    $(WebCore)/html/HTMLUnknownElement.idl \
    575572    $(WebCore)/html/HTMLVideoElement.idl \
     573    $(WebCore)/html/MediaError.idl \
     574    $(WebCore)/html/TimeRanges.idl \
     575    $(WebCore)/html/ValidityState.idl \
    576576    $(WebCore)/svg/SVGAElement.idl \
    577577    $(WebCore)/svg/SVGAltGlyphDefElement.idl \
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r203989 r203993  
    665665                15C77093100D3CA8005BA267 /* JSValidityState.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C77091100D3CA8005BA267 /* JSValidityState.h */; };
    666666                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 */; };
    669667                15FCC9FC1B4DF7F200E72326 /* DOMURLMediaStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 073794ED19EE364200E5A045 /* DOMURLMediaStream.cpp */; };
    670668                15FCC9FE1B4DF85E00E72326 /* DOMURLMediaStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 15FCC9FD1B4DF85600E72326 /* DOMURLMediaStream.h */; };
     
    689687                1A1414B513A0F0500019996C /* WebKitFontFamilyNames.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A1414B313A0F0500019996C /* WebKitFontFamilyNames.cpp */; };
    690688                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 */; };
    691693                1A1D13800A5325520064BF5F /* DOMXPath.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A1D137E0A5325520064BF5F /* DOMXPath.h */; settings = {ATTRIBUTES = (Private, ); }; };
    692694                1A1D13810A5325520064BF5F /* DOMXPath.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A1D137F0A5325520064BF5F /* DOMXPath.mm */; };
     
    803805                1A67BF681D4FE42300412AC7 /* DOMHTMLModElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E7116D0AC5D5350053270F /* DOMHTMLModElementInternal.h */; };
    804806                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, ); }; };
    806807                1A67BF6B1D4FE42300412AC7 /* DOMHTMLOListElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85BA4D070AA688680088052D /* DOMHTMLOListElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
    807808                1A67BF6C1D4FE42300412AC7 /* DOMHTMLOListElementInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E7116F0AC5D5350053270F /* DOMHTMLOListElementInternal.h */; };
     
    12801281                2D413F611A187A3F0041A521 /* LookupSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D413F601A187A3F0041A521 /* LookupSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
    12811282                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 */; };
    12841283                2D46F04E17B96FBD005647F0 /* IntPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D46F04D17B96FBD005647F0 /* IntPoint.cpp */; };
    12851284                2D46F05017B96FD2005647F0 /* IntSize.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2D46F04F17B96FD2005647F0 /* IntSize.cpp */; };
     
    13651364                2E3BC0CA117D3E0800B9409A /* JSFileError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2E3BC0C8117D3E0800B9409A /* JSFileError.cpp */; };
    13661365                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 */; };
    13701366                2E3C8C621BFBA97500309566 /* CaptureDeviceManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E3C8C611BFBA8DC00309566 /* CaptureDeviceManager.h */; };
    13711367                2E3C8C641BFBB75D00309566 /* CaptureDeviceManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2E3C8C631BFBB75D00309566 /* CaptureDeviceManager.cpp */; };
     
    27752771                7694563C1214D97C0007CBAE /* JSDOMTokenList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7694563A1214D97C0007CBAE /* JSDOMTokenList.cpp */; };
    27762772                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 */; };
    27792773                76CDD2F21103DA6600680521 /* AccessibilityMenuList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 76CDD2EC1103DA6600680521 /* AccessibilityMenuList.cpp */; };
    27802774                76CDD2F31103DA6600680521 /* AccessibilityMenuList.h in Headers */ = {isa = PBXBuildFile; fileRef = 76CDD2ED1103DA6600680521 /* AccessibilityMenuList.h */; };
     
    72707264                                A1C797181883DD82000F5E1F /* DOMGestureEvent.h in Copy Generated Headers */,
    72717265                                85DF34620AAFC2D400E59AE3 /* DOMKeyboardEvent.h in Copy Generated Headers */,
    7272                                 2D44469B1C84CD050024C889 /* DOMMediaError.h in Copy Generated Headers */,
    72737266                                8506579F0AAB4A8E002D15C0 /* DOMMediaList.h in Copy Generated Headers */,
    72747267                                857E0B310AB044780036E447 /* DOMMouseEvent.h in Copy Generated Headers */,
     
    72937286                                1C11CCC20AA6093700DADB20 /* DOMText.h in Copy Generated Headers */,
    72947287                                933A14760B7D1BAF00A53FFD /* DOMTextEvent.h in Copy Generated Headers */,
    7295                                 2D44469F1C84CD060024C889 /* DOMTimeRanges.h in Copy Generated Headers */,
    72967288                                A1C797191883DDED000F5E1F /* DOMTouch.h in Copy Generated Headers */,
    72977289                                A1C7971A1883DE0D000F5E1F /* DOMTouchEvent.h in Copy Generated Headers */,
     
    80438035                15C77091100D3CA8005BA267 /* JSValidityState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSValidityState.h; sourceTree = "<group>"; };
    80448036                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>"; };
    80478037                15FCC9FD1B4DF85600E72326 /* DOMURLMediaStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMURLMediaStream.h; sourceTree = "<group>"; };
    80488038                163E88F5118A39D200ED9231 /* SimpleFontDataCoreText.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SimpleFontDataCoreText.cpp; sourceTree = "<group>"; };
     
    80688058                1A1414B313A0F0500019996C /* WebKitFontFamilyNames.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebKitFontFamilyNames.cpp; sourceTree = "<group>"; };
    80698059                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>"; };
    80708063                1A1D137E0A5325520064BF5F /* DOMXPath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMXPath.h; sourceTree = "<group>"; };
    80718064                1A1D137F0A5325520064BF5F /* DOMXPath.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMXPath.mm; sourceTree = "<group>"; };
     
    87288721                2E3BC0C8117D3E0800B9409A /* JSFileError.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFileError.cpp; sourceTree = "<group>"; };
    87298722                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>"; };
    87338723                2E3C8C611BFBA8DC00309566 /* CaptureDeviceManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CaptureDeviceManager.h; sourceTree = "<group>"; };
    87348724                2E3C8C631BFBB75D00309566 /* CaptureDeviceManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CaptureDeviceManager.cpp; sourceTree = "<group>"; };
     
    92339223                4415292C0E1AE8A000C4A2D0 /* HTMLPlugInImageElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLPlugInImageElement.h; sourceTree = "<group>"; };
    92349224                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>"; };
    92369225                4429AB070CB84F81007647C5 /* DOMTextEventInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMTextEventInternal.h; sourceTree = "<group>"; };
    92379226                442ABCD517D9262F00D30715 /* SynchronousLoaderClientCFNet.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SynchronousLoaderClientCFNet.cpp; sourceTree = "<group>"; };
     
    1029410283                7694563A1214D97C0007CBAE /* JSDOMTokenList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMTokenList.cpp; sourceTree = "<group>"; };
    1029510284                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>"; };
    1029810285                76CDD2EC1103DA6600680521 /* AccessibilityMenuList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AccessibilityMenuList.cpp; sourceTree = "<group>"; };
    1029910286                76CDD2ED1103DA6600680521 /* AccessibilityMenuList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityMenuList.h; sourceTree = "<group>"; };
     
    1624716234                        isa = PBXGroup;
    1624816235                        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 */,
    1624916248                                85DF81210AA7787200486AD7 /* DOMHTMLAnchorElement.h */,
    1625016249                                85DF81220AA7787200486AD7 /* DOMHTMLAnchorElement.mm */,
     
    1636516364                                85DF81260AA7787200486AD7 /* DOMHTMLObjectElement.mm */,
    1636616365                                85E7116E0AC5D5350053270F /* DOMHTMLObjectElementInternal.h */,
    16367                                 4429AAFF0CB84EC3007647C5 /* DOMHTMLObjectElementPrivate.h */,
    1636816366                                85BA4D070AA688680088052D /* DOMHTMLOListElement.h */,
    1636916367                                85BA4D080AA688680088052D /* DOMHTMLOListElement.mm */,
     
    1643016428                                2DEC664C1C82CFBF0099846A /* DOMHTMLVideoElement.mm */,
    1643116429                                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 */,
    1643216436                        );
    1643316437                        name = HTML;
     
    1877418778                                85967DCA0AA8BF0F005FEDEE /* CSS */,
    1877518779                                85AFA7AB0AAF3BB000E84305 /* Events */,
    18776                                 85C56D030AA8BAA700D95755 /* HTML */,
    1877718780                                85E7113D0AC5D4A10053270F /* Internal */,
    1877818781                                8538F0570AD722B9006A81D1 /* Ranges */,
     
    1878618789                        sourceTree = BUILT_PRODUCTS_DIR;
    1878718790                };
    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                 };
    1881118791                85E7113D0AC5D4A10053270F /* Internal */ = {
    1881218792                        isa = PBXGroup;
     
    1881418794                                8538F0180AD718D8006A81D1 /* DOMAbstractViewInternal.h */,
    1881518795                                85E7113E0AC5D5340053270F /* DOMAttrInternal.h */,
    18816                                 2E2D99E910E2BC3800496337 /* DOMBlobInternal.h */,
    1881718796                                85E7113F0AC5D5340053270F /* DOMCDATASectionInternal.h */,
    1881818797                                85E711400AC5D5340053270F /* DOMCharacterDataInternal.h */,
     
    1884218821                                85E7114B0AC5D5340053270F /* DOMEntityReferenceInternal.h */,
    1884318822                                85B498F40ADB337A00925CBB /* DOMEventInternal.h */,
    18844                                 2E3BC10A117D47C800B9409A /* DOMFileErrorInternal.h */,
    18845                                 BC00F0000E0A185500FD04E3 /* DOMFileInternal.h */,
    18846                                 BC00F0030E0A185500FD04E3 /* DOMFileListInternal.h */,
    1884718823                                85989DC50ACC8BBD00A0BC51 /* DOMKeyboardEventInternal.h */,
    18848                                 2DEC66771C8403C30099846A /* DOMMediaErrorInternal.h */,
    1884918824                                85E711820AC5D5350053270F /* DOMMediaListInternal.h */,
    1885018825                                75793ED20D0CE85B007FC0AC /* DOMMessageEventInternal.h */,
     
    1886718842                                4429AB070CB84F81007647C5 /* DOMTextEventInternal.h */,
    1886818843                                85E7118A0AC5D5350053270F /* DOMTextInternal.h */,
    18869                                 2DEC66711C83F2AF0099846A /* DOMTimeRangesInternal.h */,
    1887018844                                850B41C10AD9E7E700A6ED4F /* DOMTreeWalkerInternal.h */,
    1887118845                                85989DC90ACC8BBD00A0BC51 /* DOMUIEventInternal.h */,
     
    2247722451                        isa = PBXGroup;
    2247822452                        children = (
     22453                                854F12AC0A8EBC18000940B5 /* Core */,
    2247922454                                1AD2D15C1D4FD6B200B7DE36 /* HTML */,
    22480                                 854F12AC0A8EBC18000940B5 /* Core */,
    2248122455                                85B232260A8BF3A100FDF47B /* Derived Sources */,
    2248222456                                854075420AD6C73E00620C57 /* DOMExceptions */,
     
    2546125435                                7C93F34A1AA6BA5E00A98BAB /* CompiledContentExtension.h in Headers */,
    2546225436                                37C236111097EE7700EF9F72 /* ComplexTextController.h in Headers */,
    25463                                 1A67BF6A1D4FE42300412AC7 /* DOMHTMLObjectElementPrivate.h in Headers */,
    2546425437                                E4BA50901BCFBD9500E34EF7 /* ComposedTreeAncestorIterator.h in Headers */,
    2546525438                                E44FA1851BCA6B5A0091B6EF /* ComposedTreeIterator.h in Headers */,
     
    2584925822                                52CCA9EA15E3F64C0053C77F /* DOMDOMNamedFlowCollectionInternal.h in Headers */,
    2585025823                                9B3A8872145632F9003AE8F5 /* DOMDOMSettableTokenList.h in Headers */,
    25851                                 7694565B1214DB630007CBAE /* DOMDOMTokenList.h in Headers */,
    2585225824                                7AABA25A14BC613300AA9A11 /* DOMEditor.h in Headers */,
    2585325825                                85ACA9C00A9B5FA500671E90 /* DOMElement.h in Headers */,
     
    2586725839                                BC1A37B5097C715F0019F3D8 /* DOMExtensions.h in Headers */,
    2586825840                                BC00F0040E0A185500FD04E3 /* DOMFile.h in Headers */,
    25869                                 2E3BC108117D479800B9409A /* DOMFileError.h in Headers */,
    25870                                 2E3BC10B117D47C800B9409A /* DOMFileErrorInternal.h in Headers */,
    2587125841                                BC00F0060E0A185500FD04E3 /* DOMFileInternal.h in Headers */,
    2587225842                                BC00F0070E0A185500FD04E3 /* DOMFileList.h in Headers */,
     
    2600625976                                CD9DE18217AAD6A400EA386D /* DOMURLMediaSource.h in Headers */,
    2600725977                                15FCC9FE1B4DF85E00E72326 /* DOMURLMediaStream.h in Headers */,
    26008                                 15C770A6100D41CD005BA267 /* DOMValidityState.h in Headers */,
    2600925978                                BC1A37C0097C715F0019F3D8 /* DOMViews.h in Headers */,
    2601025979                                31C0FF490E4CEFDD007D6FE5 /* DOMWebKitAnimationEvent.h in Headers */,
     
    2787727846                                F55B3DD01251F12D003EF269 /* ResetInputType.h in Headers */,
    2787827847                                7EE6846A12D26E3800E79415 /* ResourceError.h in Headers */,
     27848                                1A144B4D1D4FF77300D9E32C /* DOMDOMTokenListInternal.h in Headers */,
    2787927849                                934F713C0D5A6F1900018D69 /* ResourceErrorBase.h in Headers */,
    2788027850                                514C76790CE923A1007EF3CD /* ResourceHandle.h in Headers */,
     
    2820528175                                E4BBED4D14FCDBA1003F0B98 /* StyleRule.h in Headers */,
    2820628176                                E4946EAF156E64DD00D3297F /* StyleRuleImport.h in Headers */,
     28177                                1A144B511D4FF9BD00D9E32C /* DOMDOMTokenList.h in Headers */,
    2820728178                                F47A5E3E195B8C8A00483100 /* StyleScrollSnapPoints.h in Headers */,
    2820828179                                9D6380101AF173220031A15C /* StyleSelfAlignmentData.h in Headers */,
     
    2972729698                                8518DCEA0A9CC80D0091B7A6 /* DOMDOMImplementation.mm in Sources */,
    2972829699                                52CCA9E915E3F64C0053C77F /* DOMDOMNamedFlowCollection.mm in Sources */,
    29729                                 7694565C1214DB630007CBAE /* DOMDOMTokenList.mm in Sources */,
    2973029700                                7AABA25914BC613300AA9A11 /* DOMEditor.cpp in Sources */,
    2973129701                                85ACA9C10A9B5FA500671E90 /* DOMElement.mm in Sources */,
     
    2973629706                                BC1A37B3097C715F0019F3D8 /* DOMEvents.mm in Sources */,
    2973729707                                BC00F0050E0A185500FD04E3 /* DOMFile.mm in Sources */,
    29738                                 2E3BC109117D479800B9409A /* DOMFileError.mm in Sources */,
    2973929708                                BC00F0080E0A185500FD04E3 /* DOMFileList.mm in Sources */,
    2974029709                                2ED609BC1145B07100C8684E /* DOMFormData.cpp in Sources */,
     
    2984829817                                15FCC9FC1B4DF7F200E72326 /* DOMURLMediaStream.cpp in Sources */,
    2984929818                                BC1A37BF097C715F0019F3D8 /* DOMUtility.mm in Sources */,
    29850                                 15C770A5100D41CD005BA267 /* DOMValidityState.mm in Sources */,
    2985129819                                31C0FF4A0E4CEFDD007D6FE5 /* DOMWebKitAnimationEvent.mm in Sources */,
    2985229820                                3106037A143281CD00ABF4BA /* DOMWebKitCSSFilterValue.mm in Sources */,
     
    3156031528                                A8DF4AED0980C42C0052981B /* RenderTableSection.cpp in Sources */,
    3156131529                                BCEA488B097D93020094C9E4 /* RenderText.cpp in Sources */,
     31530                                1A144B501D4FF7F100D9E32C /* DOMDOMTokenList.mm in Sources */,
    3156231531                                AB67D1A8097F3AE300F9392E /* RenderTextControl.cpp in Sources */,
    3156331532                                083DAEA60F01A7FB00342754 /* RenderTextControlMultiLine.cpp in Sources */,
     
    3160131570                                6B693A341C51A95D00B03BEF /* ResourceLoadObserver.cpp in Sources */,
    3160231571                                7A929CA61C598A9E004DF226 /* ResourceLoadStatistics.cpp in Sources */,
     31572                                1A144B521D50024300D9E32C /* DOMHTMLTitleElement.mm in Sources */,
    3160331573                                7AD3CDD91C8A002F00F12698 /* ResourceLoadStatisticsStore.cpp in Sources */,
    3160431574                                5C9B860C1C21E3C900110F36 /* ResourceLoadTiming.mm in Sources */,
  • trunk/Source/WebCore/bindings/objc/DOMBlob.h

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import <WebCore/DOMObject.h>
    2727
    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;
     28WEBKIT_CLASS_AVAILABLE_MAC(10_6)
     29WEBCORE_EXPORT @interface DOMBlob : DOMObject
     30@property (readonly) unsigned long long size;
    3731@end
  • trunk/Source/WebCore/bindings/objc/DOMBlob.mm

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import "config.h"
     27#import "DOMBlobInternal.h"
    2728
    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>
    2939
    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)
    3441
    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
    3766@end
     67
     68WebCore::Blob* core(DOMBlob *wrapper)
     69{
     70    return wrapper ? reinterpret_cast<WebCore::Blob*>(wrapper->_internal) : 0;
     71}
     72
     73DOMBlob *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  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import <WebCore/DOMBlob.h>
    2727
    28 @class DOMValidityState;
     28namespace WebCore {
     29class Blob;
     30}
    2931
    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
     32WEBCORE_EXPORT WebCore::Blob* core(DOMBlob *);
     33WEBCORE_EXPORT DOMBlob *kit(WebCore::Blob*);
  • trunk/Source/WebCore/bindings/objc/DOMDOMTokenList.h

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
    2726
    28 @class DOMValidityState;
     27#import <WebCore/DOMObject.h>
    2928
    30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate)
    31 @property (readonly) BOOL willValidate;
    32 @property (readonly, strong) DOMValidityState *validity;
    33 @property (readonly, copy) NSString *validationMessage;
     29@class NSString;
    3430
    35 - (BOOL)checkValidity;
    36 - (void)setCustomValidity:(NSString *)error;
     31WEBKIT_CLASS_AVAILABLE_MAC(9876_5)
     32WEBCORE_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;
    3739@end
  • trunk/Source/WebCore/bindings/objc/DOMDOMTokenListInternal.h

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
    2726
    28 @class DOMValidityState;
     27#import <WebCore/DOMDOMTokenList.h>
    2928
    30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate)
    31 @property (readonly) BOOL willValidate;
    32 @property (readonly, strong) DOMValidityState *validity;
    33 @property (readonly, copy) NSString *validationMessage;
     29namespace WebCore {
     30class DOMTokenList;
     31}
    3432
    35 - (BOOL)checkValidity;
    36 - (void)setCustomValidity:(NSString *)error;
    37 @end
     33WEBCORE_EXPORT WebCore::DOMTokenList* core(DOMDOMTokenList *);
     34WEBCORE_EXPORT DOMDOMTokenList *kit(WebCore::DOMTokenList*);
  • trunk/Source/WebCore/bindings/objc/DOMFile.h

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import <WebCore/DOMBlob.h>
    2727
    28 @class DOMValidityState;
     28@class NSString;
    2929
    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;
     30WEBKIT_CLASS_AVAILABLE_MAC(10_6)
     31WEBCORE_EXPORT @interface DOMFile : DOMBlob
     32@property (readonly, copy) NSString *name;
    3733@end
  • trunk/Source/WebCore/bindings/objc/DOMFile.mm

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import "config.h"
     27#import "DOMFileInternal.h"
    2728
    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>
    2938
    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))
    3440
    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
    3755@end
     56
     57WebCore::File* core(DOMFile *wrapper)
     58{
     59    return wrapper ? reinterpret_cast<WebCore::File*>(wrapper->_internal) : 0;
     60}
     61
     62DOMFile *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  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import <WebCore/DOMFile.h>
    2727
    28 @class DOMValidityState;
     28namespace WebCore {
     29class File;
     30}
    2931
    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
     32WEBCORE_EXPORT WebCore::File* core(DOMFile *);
     33WEBCORE_EXPORT DOMFile *kit(WebCore::File*);
  • trunk/Source/WebCore/bindings/objc/DOMFileList.h

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import <WebCore/DOMObject.h>
    2727
    28 @class DOMValidityState;
     28@class DOMFile;
    2929
    30 @interface DOMHTMLObjectElement (DOMHTMLObjectElementPrivate)
    31 @property (readonly) BOOL willValidate;
    32 @property (readonly, strong) DOMValidityState *validity;
    33 @property (readonly, copy) NSString *validationMessage;
     30WEBKIT_CLASS_AVAILABLE_MAC(10_6)
     31WEBCORE_EXPORT @interface DOMFileList : DOMObject
     32@property (readonly) unsigned length;
    3433
    35 - (BOOL)checkValidity;
    36 - (void)setCustomValidity:(NSString *)error;
     34- (DOMFile *)item:(unsigned)index;
    3735@end
  • trunk/Source/WebCore/bindings/objc/DOMFileListInternal.h

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import <WebCore/DOMFileList.h>
    2727
    28 @class DOMValidityState;
     28namespace WebCore {
     29class FileList;
     30}
    2931
    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
     32WEBCORE_EXPORT WebCore::FileList* core(DOMFileList *);
     33WEBCORE_EXPORT DOMFileList *kit(WebCore::FileList*);
  • trunk/Source/WebCore/bindings/objc/DOMHTMLButtonElement.mm

    r203988 r203993  
    3030#import "DOMNodeInternal.h"
    3131#import "DOMNodeListInternal.h"
    32 #import "DOMValidityStateInternal.h"
    3332#import "ExceptionHandlers.h"
    3433#import "HTMLButtonElement.h"
     
    4039#import "ThreadCheck.h"
    4140#import "URL.h"
    42 #import "ValidityState.h"
    4341#import "WebScriptObjectPrivate.h"
    4442#import <wtf/GetPtr.h>
     
    7876}
    7977
    80 - (NSString *)formAction
    81 {
    82     WebCore::JSMainThreadNullState state;
    83     return IMPL->formAction();
    84 }
    85 
    86 - (void)setFormAction:(NSString *)newFormAction
    87 {
    88     WebCore::JSMainThreadNullState state;
    89     IMPL->setFormAction(newFormAction);
    90 }
    91 
    92 - (NSString *)formEnctype
    93 {
    94     WebCore::JSMainThreadNullState state;
    95     return IMPL->formEnctype();
    96 }
    97 
    98 - (void)setFormEnctype:(NSString *)newFormEnctype
    99 {
    100     WebCore::JSMainThreadNullState state;
    101     IMPL->setFormEnctype(newFormEnctype);
    102 }
    103 
    104 - (NSString *)formMethod
    105 {
    106     WebCore::JSMainThreadNullState state;
    107     return IMPL->formMethod();
    108 }
    109 
    110 - (void)setFormMethod:(NSString *)newFormMethod
    111 {
    112     WebCore::JSMainThreadNullState state;
    113     IMPL->setFormMethod(newFormMethod);
    114 }
    115 
    11678- (NSString *)type
    11779{
     
    12486    WebCore::JSMainThreadNullState state;
    12587    IMPL->setType(newType);
    126 }
    127 
    128 - (BOOL)formNoValidate
    129 {
    130     WebCore::JSMainThreadNullState state;
    131     return IMPL->hasAttributeWithoutSynchronization(WebCore::HTMLNames::formnovalidateAttr);
    132 }
    133 
    134 - (void)setFormNoValidate:(BOOL)newFormNoValidate
    135 {
    136     WebCore::JSMainThreadNullState state;
    137     IMPL->setBooleanAttribute(WebCore::HTMLNames::formnovalidateAttr, newFormNoValidate);
    138 }
    139 
    140 - (NSString *)formTarget
    141 {
    142     WebCore::JSMainThreadNullState state;
    143     return IMPL->getAttribute(WebCore::HTMLNames::formtargetAttr);
    144 }
    145 
    146 - (void)setFormTarget:(NSString *)newFormTarget
    147 {
    148     WebCore::JSMainThreadNullState state;
    149     IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::formtargetAttr, newFormTarget);
    15088}
    15189
     
    180118}
    181119
    182 - (DOMValidityState *)validity
    183 {
    184     WebCore::JSMainThreadNullState state;
    185     return kit(WTF::getPtr(IMPL->validity()));
    186 }
    187 
    188 - (NSString *)validationMessage
    189 {
    190     WebCore::JSMainThreadNullState state;
    191     return IMPL->validationMessage();
    192 }
    193 
    194 - (DOMNodeList *)labels
    195 {
    196     WebCore::JSMainThreadNullState state;
    197     return kit(WTF::getPtr(IMPL->labels()));
    198 }
    199 
    200120- (NSString *)accessKey
    201121{
     
    208128    WebCore::JSMainThreadNullState state;
    209129    IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::accesskeyAttr, newAccessKey);
    210 }
    211 
    212 - (BOOL)checkValidity
    213 {
    214     WebCore::JSMainThreadNullState state;
    215     return IMPL->checkValidity();
    216 }
    217 
    218 - (void)setCustomValidity:(NSString *)error
    219 {
    220     WebCore::JSMainThreadNullState state;
    221     IMPL->setCustomValidity(error);
    222130}
    223131
  • trunk/Source/WebCore/bindings/objc/DOMHTMLFieldSetElement.mm

    r203988 r203993  
    3131#import "DOMInternal.h"
    3232#import "DOMNodeInternal.h"
    33 #import "DOMValidityStateInternal.h"
    3433#import "ExceptionHandlers.h"
    3534#import "HTMLCollection.h"
     
    4847@implementation DOMHTMLFieldSetElement
    4948
    50 - (BOOL)disabled
    51 {
    52     WebCore::JSMainThreadNullState state;
    53     return IMPL->hasAttributeWithoutSynchronization(WebCore::HTMLNames::disabledAttr);
    54 }
    55 
    56 - (void)setDisabled:(BOOL)newDisabled
    57 {
    58     WebCore::JSMainThreadNullState state;
    59     IMPL->setBooleanAttribute(WebCore::HTMLNames::disabledAttr, newDisabled);
    60 }
    61 
    6249- (DOMHTMLFormElement *)form
    6350{
    6451    WebCore::JSMainThreadNullState state;
    6552    return kit(WTF::getPtr(IMPL->form()));
    66 }
    67 
    68 - (NSString *)name
    69 {
    70     WebCore::JSMainThreadNullState state;
    71     return IMPL->getNameAttribute();
    72 }
    73 
    74 - (void)setName:(NSString *)newName
    75 {
    76     WebCore::JSMainThreadNullState state;
    77     IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::nameAttr, newName);
    78 }
    79 
    80 - (NSString *)type
    81 {
    82     WebCore::JSMainThreadNullState state;
    83     return IMPL->type();
    84 }
    85 
    86 - (DOMHTMLCollection *)elements
    87 {
    88     WebCore::JSMainThreadNullState state;
    89     return kit(WTF::getPtr(IMPL->elementsForNativeBindings()));
    90 }
    91 
    92 - (BOOL)willValidate
    93 {
    94     WebCore::JSMainThreadNullState state;
    95     return IMPL->willValidate();
    96 }
    97 
    98 - (DOMValidityState *)validity
    99 {
    100     WebCore::JSMainThreadNullState state;
    101     return kit(WTF::getPtr(IMPL->validity()));
    102 }
    103 
    104 - (NSString *)validationMessage
    105 {
    106     WebCore::JSMainThreadNullState state;
    107     return IMPL->validationMessage();
    108 }
    109 
    110 - (BOOL)checkValidity
    111 {
    112     WebCore::JSMainThreadNullState state;
    113     return IMPL->checkValidity();
    114 }
    115 
    116 - (void)setCustomValidity:(NSString *)error
    117 {
    118     WebCore::JSMainThreadNullState state;
    119     IMPL->setCustomValidity(error);
    12053}
    12154
  • trunk/Source/WebCore/bindings/objc/DOMHTMLInputElement.mm

    r203988 r203993  
    3434#import "DOMInternal.h"
    3535#import "DOMPrivate.h"
    36 #import "DOMValidityStateInternal.h"
    3736#import "ExceptionHandlers.h"
    3837#import "FileList.h"
     
    4847#import "ThreadCheck.h"
    4948#import "URL.h"
    50 #import "ValidityState.h"
    5149#import "WebScriptObjectPrivate.h"
    5250#import <wtf/GetPtr.h>
     
    492490}
    493491
    494 - (DOMValidityState *)validity
    495 {
    496     WebCore::JSMainThreadNullState state;
    497     return kit(WTF::getPtr(IMPL->validity()));
    498 }
    499 
    500492- (NSString *)validationMessage
    501493{
  • trunk/Source/WebCore/bindings/objc/DOMHTMLInputElementPrivate.h

    r203988 r203993  
    4949@property double valueAsNumber;
    5050@property unsigned width;
    51 @property (readonly, strong) DOMValidityState *validity;
    52 @property (readonly, copy) NSString *validationMessage;
    5351@property (readonly, strong) DOMNodeList *labels;
    5452@property (copy) NSString *selectionDirection;
     
    6058- (void)stepUp:(int)n;
    6159- (void)stepDown:(int)n;
    62 - (BOOL)checkValidity;
    63 - (void)setCustomValidity:(NSString *)error;
    6460- (void)setRangeText:(NSString *)replacement;
    6561- (void)setRangeText:(NSString *)replacement start:(unsigned)start end:(unsigned)end selectionMode:(NSString *)selectionMode;
  • trunk/Source/WebCore/bindings/objc/DOMHTMLObjectElement.mm

    r203988 r203993  
    3131#import "DOMNodeInternal.h"
    3232#import "DOMPrivate.h"
    33 #import "DOMValidityStateInternal.h"
    3433#import "Document.h"
    3534#import "ExceptionHandlers.h"
     
    4140#import "ThreadCheck.h"
    4241#import "URL.h"
    43 #import "ValidityState.h"
    4442#import "WebScriptObjectPrivate.h"
    4543#import <wtf/GetPtr.h>
     
    245243    WebCore::JSMainThreadNullState state;
    246244    IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::widthAttr, newWidth);
    247 }
    248 
    249 - (BOOL)willValidate
    250 {
    251     WebCore::JSMainThreadNullState state;
    252     return IMPL->willValidate();
    253 }
    254 
    255 - (DOMValidityState *)validity
    256 {
    257     WebCore::JSMainThreadNullState state;
    258     return kit(WTF::getPtr(IMPL->validity()));
    259 }
    260 
    261 - (NSString *)validationMessage
    262 {
    263     WebCore::JSMainThreadNullState state;
    264     return IMPL->validationMessage();
    265245}
    266246
     
    279259}
    280260
    281 - (BOOL)checkValidity
    282 {
    283     WebCore::JSMainThreadNullState state;
    284     return IMPL->checkValidity();
    285 }
    286 
    287 - (void)setCustomValidity:(NSString *)error
    288 {
    289     WebCore::JSMainThreadNullState state;
    290     IMPL->setCustomValidity(error);
    291 }
    292 
    293261@end
    294262
  • trunk/Source/WebCore/bindings/objc/DOMHTMLSelectElement.mm

    r203988 r203993  
    3333#import "DOMNodeInternal.h"
    3434#import "DOMNodeListInternal.h"
    35 #import "DOMValidityStateInternal.h"
    3635#import "ExceptionHandlers.h"
    3736#import "HTMLCollection.h"
     
    4746#import "ThreadCheck.h"
    4847#import "URL.h"
    49 #import "ValidityState.h"
    5048#import "WebScriptObjectPrivate.h"
    5149#import <wtf/GetPtr.h>
     
    109107}
    110108
    111 - (BOOL)required
    112 {
    113     WebCore::JSMainThreadNullState state;
    114     return IMPL->hasAttributeWithoutSynchronization(WebCore::HTMLNames::requiredAttr);
    115 }
    116 
    117 - (void)setRequired:(BOOL)newRequired
    118 {
    119     WebCore::JSMainThreadNullState state;
    120     IMPL->setBooleanAttribute(WebCore::HTMLNames::requiredAttr, newRequired);
    121 }
    122 
    123109- (int)size
    124110{
     
    151137}
    152138
    153 - (DOMHTMLCollection *)selectedOptions
    154 {
    155     WebCore::JSMainThreadNullState state;
    156     return kit(WTF::getPtr(IMPL->selectedOptions()));
    157 }
    158 
    159139- (int)selectedIndex
    160140{
     
    185165    WebCore::JSMainThreadNullState state;
    186166    return IMPL->willValidate();
    187 }
    188 
    189 - (DOMValidityState *)validity
    190 {
    191     WebCore::JSMainThreadNullState state;
    192     return kit(WTF::getPtr(IMPL->validity()));
    193 }
    194 
    195 - (NSString *)validationMessage
    196 {
    197     WebCore::JSMainThreadNullState state;
    198     return IMPL->validationMessage();
    199 }
    200 
    201 - (DOMNodeList *)labels
    202 {
    203     WebCore::JSMainThreadNullState state;
    204     return kit(WTF::getPtr(IMPL->labels()));
    205 }
    206 
    207 - (NSString *)autocomplete
    208 {
    209     WebCore::JSMainThreadNullState state;
    210     return IMPL->autocomplete();
    211 }
    212 
    213 - (void)setAutocomplete:(NSString *)newAutocomplete
    214 {
    215     WebCore::JSMainThreadNullState state;
    216     IMPL->setAutocomplete(newAutocomplete);
    217167}
    218168
     
    255205}
    256206
    257 - (BOOL)checkValidity
    258 {
    259     WebCore::JSMainThreadNullState state;
    260     return IMPL->checkValidity();
    261 }
    262 
    263 - (void)setCustomValidity:(NSString *)error
    264 {
    265     WebCore::JSMainThreadNullState state;
    266     IMPL->setCustomValidity(error);
    267 }
    268 
    269207@end
    270208
  • trunk/Source/WebCore/bindings/objc/DOMHTMLTextAreaElement.mm

    r203981 r203993  
    3030#import "DOMNodeInternal.h"
    3131#import "DOMNodeListInternal.h"
    32 #import "DOMValidityStateInternal.h"
    3332#import "ExceptionHandlers.h"
    3433#import "HTMLTextAreaElement.h"
     
    3635#import "NodeList.h"
    3736#import "ThreadCheck.h"
    38 #import "ValidityState.h"
    3937
    4038using namespace WebCore;
     
    241239}
    242240
    243 - (DOMValidityState *)validity
    244 {
    245     JSMainThreadNullState state;
    246     return kit(wrapped(_internal).validity());
    247 }
    248 
    249 - (NSString *)validationMessage
    250 {
    251     JSMainThreadNullState state;
    252     return wrapped(_internal).validationMessage();
    253 }
    254 
    255241- (DOMNodeList *)labels
    256242{
     
    317303    JSMainThreadNullState state;
    318304    wrapped(_internal).setAutocomplete(newAutocomplete);
    319 }
    320 
    321 - (BOOL)checkValidity
    322 {
    323     JSMainThreadNullState state;
    324     return wrapped(_internal).checkValidity();
    325 }
    326 
    327 - (void)setCustomValidity:(NSString *)error
    328 {
    329     JSMainThreadNullState state;
    330     wrapped(_internal).setCustomValidity(error);
    331305}
    332306
  • trunk/Source/WebCore/bindings/objc/DOMHTMLTextAreaElementPrivate.h

    r203974 r203993  
    3636@property (copy) NSString *wrap;
    3737@property (readonly) unsigned textLength;
    38 @property (readonly, strong) DOMValidityState *validity;
    39 @property (readonly, copy) NSString *validationMessage;
    4038@property (readonly, strong) DOMNodeList *labels;
    4139@property (copy) NSString *selectionDirection;
     
    4341@property (copy) NSString *autocapitalize;
    4442@property (copy) NSString *autocomplete;
    45 - (BOOL)checkValidity;
    46 - (void)setCustomValidity:(NSString *)error;
    4743- (void)setRangeText:(NSString *)replacement;
    4844- (void)setRangeText:(NSString *)replacement start:(unsigned)start end:(unsigned)end selectionMode:(NSString *)selectionMode;
  • trunk/Source/WebCore/bindings/objc/DOMMediaError.h

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import <WebCore/DOMObject.h>
    2727
    28 @class DOMValidityState;
     28enum {
     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);
    2935
    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;
     36WEBKIT_CLASS_AVAILABLE_MAC(9876_5)
     37WEBCORE_EXPORT @interface DOMMediaError : DOMObject
     38@property (readonly) unsigned short code;
    3739@end
  • trunk/Source/WebCore/bindings/objc/DOMMediaErrorInternal.h

    r203992 r203993  
    11/*
    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!
    34 *
    45 * Redistribution and use in source and binary forms, with or without
     
    2122 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    2223 * (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. 
    2425 */
    2526
    26 #import <WebCore/DOMHTMLObjectElement.h>
     27#import <WebCore/DOMMediaError.h>
    2728
    28 @class DOMValidityState;
     29namespace WebCore {
     30class MediaError;
     31}
    2932
    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
     33WEBCORE_EXPORT WebCore::MediaError* core(DOMMediaError *);
     34WEBCORE_EXPORT DOMMediaError *kit(WebCore::MediaError*);
  • trunk/Source/WebCore/bindings/objc/DOMTimeRanges.h

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import <WebCore/DOMObject.h>
    2727
    28 @class DOMValidityState;
     28WEBKIT_CLASS_AVAILABLE_MAC(9876_5)
     29WEBCORE_EXPORT @interface DOMTimeRanges : DOMObject
     30@property (readonly) unsigned length;
    2931
    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;
    3734@end
  • trunk/Source/WebCore/bindings/objc/DOMTimeRangesInternal.h

    r203992 r203993  
    2424 */
    2525
    26 #import <WebCore/DOMHTMLObjectElement.h>
     26#import <WebCore/DOMTimeRanges.h>
    2727
    28 @class DOMValidityState;
     28namespace WebCore {
     29class TimeRanges;
     30}
    2931
    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
     32WEBCORE_EXPORT WebCore::TimeRanges* core(DOMTimeRanges *);
     33WEBCORE_EXPORT DOMTimeRanges *kit(WebCore::TimeRanges*);
Note: See TracChangeset for help on using the changeset viewer.