1. 12 May, 2011 1 commit
    • tonyg@chromium.org's avatar
      2011-05-10 Tony Gentilcore <tonyg@chromium.org> · 4b0a55f4
      tonyg@chromium.org authored
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * accessibility/AccessibilityObject.cpp:
              * accessibility/AccessibilityRenderObject.cpp:
              * accessibility/mac/AccessibilityObjectWrapper.mm:
              * dom/DocumentMarkerController.cpp:
              * dom/Position.cpp:
              * dom/PositionIterator.cpp:
              * dom/Range.cpp:
              * editing/ApplyBlockElementCommand.cpp:
              * editing/ApplyStyleCommand.cpp:
              * editing/Editor.cpp:
              * editing/EditorCommand.cpp:
              * editing/FrameSelection.cpp:
              * editing/HTMLInterchange.cpp:
              * editing/IndentOutdentCommand.cpp:
              * editing/ReplaceSelectionCommand.cpp:
              * editing/SpellChecker.h:
              * editing/SpellingCorrectionCommand.cpp:
              * editing/SpellingCorrectionController.h:
              * editing/TextCheckingHelper.cpp:
              * editing/TextIterator.h:
              * editing/htmlediting.h:
              * editing/markup.cpp:
              * editing/visible_units.cpp:
              * editing/visible_units.h:
              * fileapi/DOMFileSystem.cpp:
              * fileapi/DirectoryReaderSync.cpp:
              * fileapi/DirectoryReaderSync.h:
              * fileapi/FileEntry.h:
              * fileapi/FileWriter.h:
              * fileapi/FileWriterBase.h:
              * fileapi/FileWriterSync.h:
              * history/CachedFrame.cpp:
              * history/CachedPage.cpp:
              * history/HistoryItem.cpp:
              * history/HistoryItem.h:
              * history/PageCache.h:
              * loader/HistoryController.h:
              * loader/PingLoader.h:
              * loader/ResourceLoader.h:
              * loader/appcache/DOMApplicationCache.h:
              * loader/cache/CachedCSSStyleSheet.h:
              * loader/cache/CachedFont.cpp:
              * loader/cache/CachedFont.h:
              * loader/cache/CachedResourceRequest.cpp:
              * loader/cache/CachedResourceRequest.h:
              * loader/cache/MemoryCache.h:
              * notifications/Notification.cpp:
              * notifications/Notification.h:
              * notifications/NotificationCenter.cpp:
              * notifications/NotificationCenter.h:
              * page/Chrome.cpp:
              * page/Chrome.h:
              * page/DOMSelection.cpp:
              * page/DOMTimer.h:
              * page/DOMWindow.cpp:
              * page/EventHandler.cpp:
              * page/FocusController.h:
              * page/Geolocation.cpp:
              * page/Geolocation.h:
              * page/History.cpp:
              * rendering/RenderListBox.cpp:
              * workers/WorkerContext.cpp:
      2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * src/WebHistoryItem.cpp:
              * src/WebNotification.cpp:
              * src/WebTextCheckingCompletionImpl.cpp:
              * src/mac/WebSubstringUtil.mm:
      2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * Plugins/Hosted/WebHostedNetscapePluginView.mm:
              * WebView/WebFrame.mm:
      2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * WebProcess/WebPage/mac/WebPageMac.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b0a55f4
  2. 02 May, 2011 1 commit
  3. 08 Jan, 2011 1 commit
  4. 24 Nov, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-11-24 Eric Uhrhane <ericu@chromium.org> · 61c3288f
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Implement FileWriterSync
              https://bugs.webkit.org/show_bug.cgi?id=49939
      
              Tests to follow in a separate CL, once the test framework in 47680 goes in.
      
              Build file changes to add FileWriterBase and FileWriterBaseCallback.
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
      
              FileWriterSync doesn't turn out to need to be an ActiveDOMObject.
              * bindings/scripts/CodeGeneratorV8.pm:
      
              Added new AsyncFileWriter::waitForOperationToComplete to enable
              synchronous calls.
              * fileapi/AsyncFileWriter.h:
      
              Added a way to get a FileSystemSync.
              * fileapi/DOMFileSystemSync.cpp:
              * fileapi/FileEntrySync.cpp:
              * fileapi/FileEntrySync.h:
              * fileapi/FileEntrySync.idl:
      
              Added an error code for OK, rather than just having 0 everywhere.
              * fileapi/FileError.h:
      
              Turned FileWriterCallback into FileWriterBaseCallback.
              * fileapi/FileSystemCallbacks.cpp:
              * fileapi/FileSystemCallbacks.h:
      
              Refactored out a common base class, FileWriterBase, for FileWriter and
              FileWriterSync.
              * fileapi/FileWriter.cpp:
              * fileapi/FileWriter.h:
              * fileapi/FileWriterBase.cpp: Added.
              * fileapi/FileWriterBase.h: Added.
              * fileapi/FileWriterBaseCallback.h: Added.
              * fileapi/FileWriterSync.cpp:
              * fileapi/FileWriterSync.h:
      
              Small tweaks to deal with the base class refactoring.
              * fileapi/DOMFileSystem.cpp:
              * fileapi/DOMFileSystemSync.h:
      
              Removed "CallWith=ScriptExecutionContext", as FileWriterSync doesn't actually need it.
              * fileapi/FileWriterSync.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61c3288f
  5. 24 Oct, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-10-20 Kinuko Yasuda <kinuko@chromium.org> · 75d7c53e
      kinuko@chromium.org authored
              Reviewed by Jian Li.
      
              Renumber FileError/FileException error codes per latest File API spec changes
              https://bugs.webkit.org/show_bug.cgi?id=47936
      
              * public/WebFileError.h:
              * src/AssertMatchingEnums.cpp:
              * src/AsyncFileWriterChromium.cpp:
              (WebCore::AsyncFileWriterChromium::didFail):
      2010-10-20  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Jian Li.
      
              Renumber FileError/FileException error codes per latest File API spec changes
              https://bugs.webkit.org/show_bug.cgi?id=47936
      
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::setDOMException): Added FileExceptionType case.
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::setDOMException): Added FileExceptionType case.
              * dom/ExceptionCode.cpp:
              (WebCore::getExceptionCodeDescription): Added code for FileException.
              * dom/ExceptionCode.h:
              * fileapi/AsyncFileWriterClient.h:
              * fileapi/DirectoryEntry.cpp:
              (WebCore::DirectoryEntry::getFile):
              (WebCore::DirectoryEntry::getDirectory):
              (WebCore::DirectoryEntry::removeRecursively):
              * fileapi/DirectoryEntrySync.cpp:
              (WebCore::DirectoryEntrySync::getFile):
              (WebCore::DirectoryEntrySync::getDirectory):
              (WebCore::DirectoryEntrySync::removeRecursively):
              * fileapi/DirectoryReaderSync.cpp:
              (WebCore::DirectoryReaderSync::readEntries):
              * fileapi/Entry.cpp:
              (WebCore::Entry::getMetadata):
              (WebCore::Entry::moveTo):
              (WebCore::Entry::copyTo):
              (WebCore::Entry::remove):
              (WebCore::Entry::getParent):
              * fileapi/EntrySync.cpp:
              (WebCore::EntrySync::getMetadata):
              (WebCore::EntrySync::moveTo):
              (WebCore::EntrySync::copyTo):
              (WebCore::EntrySync::remove):
              * fileapi/FileError.h: Added error code enum.
              (WebCore::FileError::create):
              (WebCore::FileError::code):
              (WebCore::FileError::FileError):
              * fileapi/FileError.idl: Rebased error code numbers.
              * fileapi/FileException.h: Added exception code enum.
              (WebCore::FileException::ErrorCodeToExceptionCode): Added.
              * fileapi/FileException.idl: Rebased exception code numbers.
              * fileapi/FileReader.cpp:
              (WebCore::FileReader::abort):
              (WebCore::FileReader::failed):
              (WebCore::FileReader::httpStatusCodeToErrorCode): Changed from
              httpStatuCodeToExceptionCode.
              * fileapi/FileReader.h:
              * fileapi/FileReaderSync.cpp:
              (WebCore::FileReaderSyncLoader::start):
              * fileapi/FileSystemCallbacks.cpp:
              (WebCore::FileSystemCallbacksBase::didFail):
              * fileapi/FileWriter.cpp:
              (WebCore::FileWriter::write):
              (WebCore::FileWriter::seek):
              (WebCore::FileWriter::truncate):
              (WebCore::FileWriter::abort):
              (WebCore::FileWriter::didFail):
              (WebCore::FileWriter::setError):
              * fileapi/FileWriter.h:
              * fileapi/SyncCallbackHelper.h:
              (WebCore::SyncCallbackHelper::SyncCallbackHelper):
              (WebCore::SyncCallbackHelper::getResult):
              (WebCore::SyncCallbackHelper::setError):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::requestFileSystem):
              * workers/WorkerContext.cpp:
              (WebCore::WorkerContext::requestFileSystem):
              (WebCore::WorkerContext::requestFileSystemSync):
      2010-10-20  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Jian Li.
      
              Renumber FileError/FileException error codes per latest File API spec changes
              https://bugs.webkit.org/show_bug.cgi?id=47936
      
              Updated test expectations to match with the new error code.
      
              * fast/files/read-blob-async-expected.txt:
              * fast/files/read-file-async-expected.txt:
              * fast/files/workers/worker-read-blob-async-expected.txt:
              * fast/files/workers/worker-read-blob-sync-expected.txt:
              * fast/files/workers/worker-read-file-async-expected.txt:
              * fast/files/workers/worker-read-file-sync-expected.txt:
              * fast/filesystem/op-copy-expected.txt:
              * fast/filesystem/op-get-entry-expected.txt:
              * fast/filesystem/op-move-expected.txt:
              * fast/filesystem/op-remove-expected.txt:
              * fast/filesystem/op-restricted-chars-expected.txt:
              * fast/filesystem/op-restricted-names-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75d7c53e
  6. 11 Oct, 2010 1 commit
    • dumi@chromium.org's avatar
      2010-10-11 Eric Uhrhane <ericu@chromium.org> · 070246f1
      dumi@chromium.org authored
              Reviewed by Dumitru Daniliuc.
      
              FileWriter should hold a reference to a Blob during write
              https://bugs.webkit.org/show_bug.cgi?id=47318
      
              Without this reference, the Blob might get garbage-collected from JS
              before the write has completed, which would be quite unintuitive to the
              user.  I just grab a RefPtr to the Blob at write(), then clear it when
              we're done.
      
              * fileapi/FileWriter.cpp:
              (WebCore::FileWriter::stop):
              (WebCore::FileWriter::write):
              (WebCore::FileWriter::didWrite):
              (WebCore::FileWriter::didFail):
              * fileapi/FileWriter.h:
      2010-10-11  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Dumitru Daniliuc.
      
              FileWriter should hold a reference to a Blob during write
              https://bugs.webkit.org/show_bug.cgi?id=47318
      
              Added the first FileWriter test to cover this.
              Problem #1: it's not a deterministic problem; the test might or might
              not catch the error, but at least it won't ever trigger a false
              positive.
              Problem #2: no platform fully implements FileWriter yet, so this test
              must start out completely supressed.  All non-chromium platforms
              already skip all filesystem tests, so I'm only adding a suppression in
              chromium.
              * fast/filesystem/file-writer-gc-blob-expected.txt: Added.
              * fast/filesystem/file-writer-gc-blob.html: Added.
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      070246f1
  7. 05 Oct, 2010 1 commit
  8. 24 Sep, 2010 1 commit
  9. 23 Sep, 2010 1 commit
  10. 16 Sep, 2010 2 commits
    • satish@chromium.org's avatar
      2010-09-16 Satish Sampath <satish@chromium.org> · 602cefea
      satish@chromium.org authored
              Unreviewed, fixing a build break with VS 2008.
      
              Fix build break, add the namespace in a friend declaration to get MSVC recognize it properly.
              https://bugs.webkit.org/show_bug.cgi?id=45893
      
              * fileapi/FileWriter.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      602cefea
    • commit-queue@webkit.org's avatar
      2010-09-16 Eric Uhrhane <ericu@chromium.org> · 577efa8e
      commit-queue@webkit.org authored
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * configure.ac:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * Configurations/FeatureDefines.xcconfig:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * CMakeLists.txt:
              * Configurations/FeatureDefines.xcconfig:
              * GNUmakefile.am:
              * WebCore.pro:
              * dom/EventTarget.cpp:
              * dom/EventTarget.h:
              * dom/ExceptionCode.h:
              * dom/ScriptExecutionContext.cpp:
              (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
              * dom/ScriptExecutionContext.h:
              * fileapi/AsyncFileWriter.h:
              * fileapi/FileEntry.cpp:
              * fileapi/FileEntry.h:
              * fileapi/FileEntry.idl:
              * fileapi/FileError.h:
              * fileapi/FileError.idl:
              * fileapi/FileException.h:
              * fileapi/FileException.idl:
              * fileapi/FileStreamProxy.cpp:
              * fileapi/FileStreamProxy.h:
              * fileapi/FileThread.cpp:
              * fileapi/FileThread.h:
              * fileapi/FileWriter.cpp:
              * fileapi/FileWriter.h:
              * fileapi/FileWriter.idl:
              * fileapi/FileWriterCallback.h:
              * fileapi/FileWriterCallback.idl:
              * fileapi/FileWriterClient.h:
              * page/DOMWindow.idl:
              * platform/AsyncFileStream.h:
              * platform/FileStream.cpp:
              * platform/FileStream.h:
              * platform/FileStreamClient.h:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * src/AsyncFileWriterChromium.h:
              * src/AsyncFileWriterChromium.cpp:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * Configurations/FeatureDefines.xcconfig:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * Configurations/FeatureDefines.xcconfig:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * win/tools/vsprops/FeatureDefines.vsprops:
              * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      2010-09-16  Eric Uhrhane  <ericu@chromium.org>
      
              Reviewed by Jian Li.
      
              Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
              https://bugs.webkit.org/show_bug.cgi?id=45798
      
              * Scripts/build-webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      577efa8e
  11. 30 Aug, 2010 1 commit
    • abarth@webkit.org's avatar
      2010-08-29 Adam Barth <abarth@webkit.org> · 8b61a586
      abarth@webkit.org authored
              Rubber-stamped by Maciej Stachowiak.
      
              Move File and Blob related files from WebCore/html to WebCore/fileapi.
      
              * Android.mk:
              * CMakeLists.txt:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.vcproj/WebCoreCommon.vsprops:
              * WebCore.xcodeproj/project.pbxproj:
              * fileapi: Added.
              * fileapi/AsyncFileWriter.h: Copied from WebCore/html/AsyncFileWriter.h.
              * fileapi/Blob.cpp: Copied from WebCore/html/Blob.cpp.
              * fileapi/Blob.h: Copied from WebCore/html/Blob.h.
              * fileapi/Blob.idl: Copied from WebCore/html/Blob.idl.
              * fileapi/BlobBuilder.cpp: Copied from WebCore/html/BlobBuilder.cpp.
              * fileapi/BlobBuilder.h: Copied from WebCore/html/BlobBuilder.h.
              * fileapi/BlobBuilder.idl: Copied from WebCore/html/BlobBuilder.idl.
              * fileapi/BlobURL.cpp: Copied from WebCore/html/BlobURL.cpp.
              * fileapi/BlobURL.h: Copied from WebCore/html/BlobURL.h.
              * fileapi/File.cpp: Copied from WebCore/html/File.cpp.
              * fileapi/File.h: Copied from WebCore/html/File.h.
              * fileapi/File.idl: Copied from WebCore/html/File.idl.
              * fileapi/FileError.h: Copied from WebCore/html/FileError.h.
              * fileapi/FileError.idl: Copied from WebCore/html/FileError.idl.
              * fileapi/FileList.cpp: Copied from WebCore/html/FileList.cpp.
              * fileapi/FileList.h: Copied from WebCore/html/FileList.h.
              * fileapi/FileList.idl: Copied from WebCore/html/FileList.idl.
              * fileapi/FileReader.cpp: Copied from WebCore/html/FileReader.cpp.
              * fileapi/FileReader.h: Copied from WebCore/html/FileReader.h.
              * fileapi/FileReader.idl: Copied from WebCore/html/FileReader.idl.
              * fileapi/FileStreamProxy.cpp: Copied from WebCore/html/FileStreamProxy.cpp.
              * fileapi/FileStreamProxy.h: Copied from WebCore/html/FileStreamProxy.h.
              * fileapi/FileThread.cpp: Copied from WebCore/html/FileThread.cpp.
              * fileapi/FileThread.h: Copied from WebCore/html/FileThread.h.
              * fileapi/FileThreadTask.h: Copied from WebCore/html/FileThreadTask.h.
              * fileapi/FileWriter.cpp: Copied from WebCore/html/FileWriter.cpp.
              * fileapi/FileWriter.h: Copied from WebCore/html/FileWriter.h.
              * fileapi/FileWriter.idl: Copied from WebCore/html/FileWriter.idl.
              * fileapi/FileWriterClient.h: Copied from WebCore/html/FileWriterClient.h.
              * fileapi/ThreadableBlobRegistry.cpp: Copied from WebCore/html/ThreadableBlobRegistry.cpp.
              * fileapi/ThreadableBlobRegistry.h: Copied from WebCore/html/ThreadableBlobRegistry.h.
              * html/AsyncFileWriter.h: Removed.
              * html/Blob.cpp: Removed.
              * html/Blob.h: Removed.
              * html/Blob.idl: Removed.
              * html/BlobBuilder.cpp: Removed.
              * html/BlobBuilder.h: Removed.
              * html/BlobBuilder.idl: Removed.
              * html/BlobURL.cpp: Removed.
              * html/BlobURL.h: Removed.
              * html/File.cpp: Removed.
              * html/File.h: Removed.
              * html/File.idl: Removed.
              * html/FileError.h: Removed.
              * html/FileError.idl: Removed.
              * html/FileList.cpp: Removed.
              * html/FileList.h: Removed.
              * html/FileList.idl: Removed.
              * html/FileReader.cpp: Removed.
              * html/FileReader.h: Removed.
              * html/FileReader.idl: Removed.
              * html/FileStreamProxy.cpp: Removed.
              * html/FileStreamProxy.h: Removed.
              * html/FileThread.cpp: Removed.
              * html/FileThread.h: Removed.
              * html/FileThreadTask.h: Removed.
              * html/FileWriter.cpp: Removed.
              * html/FileWriter.h: Removed.
              * html/FileWriter.idl: Removed.
              * html/FileWriterClient.h: Removed.
              * html/ThreadableBlobRegistry.cpp: Removed.
              * html/ThreadableBlobRegistry.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b61a586
  12. 28 Aug, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-08-28 Eric Uhrhane <ericu@chromium.org> · 47ce177e
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              Implement the DOM FileWriter class
              https://bugs.webkit.org/show_bug.cgi?id=44362
      
              No new tests until the delegate class has an implementation; bug logged.
      
              Build file additions.
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
      
              The AsyncFileWriter is an abstract interface to which FileWriter delegates all the hard work.
              * html/AsyncFileWriter.h: Added.
      
              The FileWriterClient is the interface for communications back from the AsyncFileWriter [success/failure, progress events].
              * html/FileWriterClient.h: Added.
              (WebCore::FileWriterClient::~FileWriterClient):
      
              Added all delegation, state tracking, and progress event processing.
              * html/FileWriter.cpp:
              (WebCore::FileWriter::FileWriter):
              (WebCore::FileWriter::initialize):
              (WebCore::FileWriter::~FileWriter):
              ActiveDomObject stuff
              (WebCore::FileWriter::hasPendingActivity):
              (WebCore::FileWriter::stop):
              (WebCore::FileWriter::write):
              FileWriter public interface
              (WebCore::FileWriter::seek):
              (WebCore::FileWriter::truncate):
              (WebCore::FileWriter::abort):
              FileWriterClient interface
              (WebCore::FileWriter::didWrite):
              (WebCore::FileWriter::didTruncate):
              (WebCore::FileWriter::didFail):
              Progress events
              (WebCore::FileWriter::fireEvent):
              * html/FileWriter.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47ce177e
  13. 19 Aug, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-08-19 Eric Uhrhane <ericu@chromium.org> · 467686d3
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Add idl and mock classes for FileWriter.
              https://bugs.webkit.org/show_bug.cgi?id=44075
      
              No new tests, since there's no new functionality.
      
              New do-nothing classes, but the real IDL:
              * FileWriter.idl:
              * FileWriter.h:
              * FileWriter.cpp:
      
              The build file changes to include the above:
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
      
              Added FileWriter event names and required EventTarget changes.
              * dom/EventNames.h:
              * dom/EventTarget.cpp:
              (WebCore::EventTarget::toFileWriter):
              * dom/EventTarget.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      467686d3