2010-07-30 Kinuko Yasuda <kinuko@chromium.org>
authorkinuko@chromium.org <kinuko@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Jul 2010 08:44:26 +0000 (08:44 +0000)
committerkinuko@chromium.org <kinuko@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 31 Jul 2010 08:44:26 +0000 (08:44 +0000)
commit15aa87f7f1bdde736480bf70b14bf3009f205a3f
tree3be2c2fc3d465200218a15cfaa2ef31131b35f21
parentd072fef15e4074ffd6a9732d0113a323ad63cb4f
2010-07-30  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Dumitru Daniliuc.

        Add idl and mock implementation for HTML5 FileSystem API
        https://bugs.webkit.org/show_bug.cgi?id=43134

        Add idl for: FileSystem (as DOMFileSystem), Entry, Flags, Metadata,
        FileSystemCallback, EntryCallback and ErrorCallback.
        http://dev.w3.org/2009/dap/file-system/file-dir-sys.html

        They are added only for Mac and chromium.

        Tests will be added when we expose the entry point and add implementation.

        * DerivedSources.make:
        * WebCore.gypi:
        * WebCore.xcodeproj/project.pbxproj:

        * storage/DOMFileSystem.cpp: Added.
        * storage/DOMFileSystem.h: Added.
        * storage/DOMFileSystem.idl: Added.
        * storage/Entry.cpp: Added.
        * storage/Entry.h: Added.
        * storage/Entry.idl: Added.
        * storage/EntryCallback.h: Added.
        * storage/EntryCallback.idl: Added.
        * storage/ErrorCallback.h: Added.
        * storage/ErrorCallback.idl: Added.
        * storage/FileSystemCallback.h: Added.
        * storage/FileSystemCallback.idl: Added.
        * storage/Flags.h: Added.
        * storage/Flags.idl: Added.
        * storage/Metadata.h: Added.
        * storage/Metadata.idl: Added.
        * storage/MetadataCallback.h: Added.
        * storage/MetadataCallback.idl: Added.

        * bindings/scripts/CodeGenerator.pm: Added special case handlings for generating setter/getter names for CREATE/EXCLUSIVE attributes in Flags.idl.

        * bindings/scripts/test/TestObj.idl: Updated.
        * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Updated.
        * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Updated.
        * bindings/scripts/test/CPP/WebDOMTestObj.h: Updated.
        * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: Updated.
        * bindings/scripts/test/GObject/WebKitDOMTestObj.h: Updated.
        * bindings/scripts/test/JS/JSTestObj.cpp: Updated.
        * bindings/scripts/test/JS/JSTestObj.h: Updated.
        * bindings/scripts/test/ObjC/DOMTestObj.h: Updated.
        * bindings/scripts/test/ObjC/DOMTestObj.mm: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
33 files changed:
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/WebCore.gypi
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/scripts/CodeGenerator.pm
WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp
WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h
WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp
WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h
WebCore/bindings/scripts/test/JS/JSTestObj.cpp
WebCore/bindings/scripts/test/JS/JSTestObj.h
WebCore/bindings/scripts/test/ObjC/DOMTestObj.h
WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm
WebCore/bindings/scripts/test/TestObj.idl
WebCore/bindings/scripts/test/V8/V8TestObj.cpp
WebCore/storage/DOMFileSystem.cpp [new file with mode: 0644]
WebCore/storage/DOMFileSystem.h [new file with mode: 0644]
WebCore/storage/DOMFileSystem.idl [new file with mode: 0644]
WebCore/storage/Entry.cpp [new file with mode: 0644]
WebCore/storage/Entry.h [new file with mode: 0644]
WebCore/storage/Entry.idl [new file with mode: 0644]
WebCore/storage/EntryCallback.h [new file with mode: 0644]
WebCore/storage/EntryCallback.idl [new file with mode: 0644]
WebCore/storage/ErrorCallback.h [new file with mode: 0644]
WebCore/storage/ErrorCallback.idl [new file with mode: 0644]
WebCore/storage/FileSystemCallback.h [new file with mode: 0644]
WebCore/storage/FileSystemCallback.idl [new file with mode: 0644]
WebCore/storage/Flags.h [new file with mode: 0644]
WebCore/storage/Flags.idl [new file with mode: 0644]
WebCore/storage/Metadata.h [new file with mode: 0644]
WebCore/storage/Metadata.idl [new file with mode: 0644]
WebCore/storage/MetadataCallback.h [new file with mode: 0644]
WebCore/storage/MetadataCallback.idl [new file with mode: 0644]