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. 08 Jan, 2011 1 commit
  3. 27 Oct, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-10-27 Kinuko Yasuda <kinuko@chromium.org> · bb65b1df
      kinuko@chromium.org authored
              Reviewed by Dumitru Daniliuc.
      
              DOMFileSystem's reference should be kept while there're any active Entries/callbacks
              https://bugs.webkit.org/show_bug.cgi?id=47535
      
              Changed to keep DOMFileSystem's reference in each EntryBase, DirectoryReaderBase, EntryCallbacks and EntriesCallbacks.
      
              Test: fast/filesystem/filesystem-reference.html
      
              * fileapi/DOMFileSystemBase.cpp:
              (WebCore::DOMFileSystemBase::readDirectory): Changed to pass/take
              PassRefPtr but not a raw pointer.
              * fileapi/DOMFileSystemBase.h:
              * fileapi/DirectoryEntry.cpp:
              (WebCore::DirectoryEntry::DirectoryEntry): Ditto.
              (WebCore::DirectoryEntry::createReader):
              * fileapi/DirectoryEntry.h:
              (WebCore::DirectoryEntry::create): Ditto.
              * fileapi/DirectoryEntrySync.cpp:
              (WebCore::DirectoryEntrySync::DirectoryEntrySync): Ditto.
              * fileapi/DirectoryEntrySync.h:
              (WebCore::DirectoryEntrySync::create): Ditto.
              * fileapi/DirectoryReader.h:
              (WebCore::DirectoryReader::filesystem):
              * fileapi/DirectoryReaderBase.h:
              (WebCore::DirectoryReaderBase::filesystem):
              * fileapi/Entry.cpp:
              (WebCore::Entry::Entry): Ditto.
              * fileapi/Entry.h:
              (WebCore::Entry::filesystem):
              * fileapi/EntryBase.h:
              (WebCore::EntryBase::filesystem):
              (WebCore::EntryBase::EntryBase): Ditto.
              * fileapi/EntrySync.cpp:
              (WebCore::EntrySync::create): Ditto.
              (WebCore::EntrySync::getParent):
              (WebCore::EntrySync::EntrySync): Ditto.
              * fileapi/EntrySync.h:
              (WebCore::EntrySync::filesystem):
              * fileapi/FileEntry.cpp:
              (WebCore::FileEntry::FileEntry): Ditto.
              * fileapi/FileEntry.h:
              (WebCore::FileEntry::create): Ditto.
              * fileapi/FileEntrySync.cpp:
              (WebCore::FileEntrySync::FileEntrySync): Ditto.
              * fileapi/FileEntrySync.h:
              (WebCore::FileEntrySync::create): Ditto.
              * fileapi/FileSystemCallbacks.cpp:
              (WebCore::EntriesCallbacks::create): Ditto.
              (WebCore::EntriesCallbacks::EntriesCallbacks): Ditto.
              * fileapi/FileSystemCallbacks.h:
      2010-10-27  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Dumitru Daniliuc.
      
              DOMFileSystem's reference should be kept while there're any active Entries/callbacks
              https://bugs.webkit.org/show_bug.cgi?id=47535
      
              * fast/filesystem/filesystem-reference-expected.txt: Added.
              * fast/filesystem/filesystem-reference.html: Added.
              * fast/filesystem/script-tests/filesystem-reference.js: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb65b1df
  4. 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
  5. 06 Oct, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-10-06 Kinuko Yasuda <kinuko@chromium.org> · 3256c0f4
      kinuko@chromium.org authored
              Reviewed by David Levin.
      
              Add FileSystemSync implementation for Worker
              https://bugs.webkit.org/show_bug.cgi?id=47044
      
              * src/LocalFileSystemChromium.cpp:
              (WebCore::LocalFileSystem::requestFileSystem): Added a new parameter
              for synchronous mode.
              * src/WebFileSystemCallbacksImpl.cpp:
              (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added
              a parameter for synchronous mode.
              (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Changed to
              creates WorkerAsyncFileSystemChromium with synchronous flag.
              * src/WebFileSystemCallbacksImpl.h:
              * src/WebWorkerBase.cpp:
              (WebKit::WebWorkerBase::openFileSystem): Added a parameter for
              synchronous mode.
              * src/WebWorkerBase.h:
              * src/WorkerAsyncFileSystemChromium.cpp:
              (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
              (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete):
              Added.
              (WebCore::WorkerAsyncFileSystemChromium::move):
              (WebCore::WorkerAsyncFileSystemChromium::copy):
              (WebCore::WorkerAsyncFileSystemChromium::remove):
              (WebCore::WorkerAsyncFileSystemChromium::readMetadata):
              (WebCore::WorkerAsyncFileSystemChromium::createFile):
              (WebCore::WorkerAsyncFileSystemChromium::createDirectory):
              (WebCore::WorkerAsyncFileSystemChromium::fileExists):
              (WebCore::WorkerAsyncFileSystemChromium::directoryExists):
              (WebCore::WorkerAsyncFileSystemChromium::readDirectory):
              (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
              Updated to store the created bridge in a member variable so that
              we can call bridge->stop() later when the RunLoop is terminating.
              * src/WorkerAsyncFileSystemChromium.h:
              (WebCore::WorkerAsyncFileSystemChromium::create): Added a new
              parameter for synchronous mode.
      2010-10-06  Andrei Popescu  <andreip@google.com>
      
              Reviewed by Jeremy Orlow.
      
              IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts.
              https://bugs.webkit.org/show_bug.cgi?id=47245
      
              Recover metadata properly by adding abort tasks that
              are run when a transaction aborts.
       
              * storage/IDBDatabase.cpp:
              (WebCore::IDBDatabase::createObjectStore):
              (WebCore::IDBDatabase::removeObjectStore):
              * storage/IDBDatabaseBackendImpl.cpp:
              (WebCore::IDBDatabaseBackendImpl::createObjectStore):
              (WebCore::IDBDatabaseBackendImpl::removeObjectStore):
              (WebCore::IDBDatabaseBackendImpl::setVersion):
              (WebCore::IDBDatabaseBackendImpl::removeObjectStoreFromMap):
              (WebCore::IDBDatabaseBackendImpl::addObjectStoreToMap):
              (WebCore::IDBDatabaseBackendImpl::resetVersion):
              * storage/IDBDatabaseBackendImpl.h:
              * storage/IDBObjectStoreBackendImpl.cpp:
              (WebCore::IDBObjectStoreBackendImpl::createIndex):
              (WebCore::IDBObjectStoreBackendImpl::removeIndex):
              (WebCore::IDBObjectStoreBackendImpl::removeIndexFromMap):
              (WebCore::IDBObjectStoreBackendImpl::addIndexToMap):
              * storage/IDBObjectStoreBackendImpl.h:
              * storage/IDBTransactionBackendImpl.cpp:
              (WebCore::IDBTransactionBackendImpl::scheduleTask):
              (WebCore::IDBTransactionBackendImpl::abort):
              * storage/IDBTransactionBackendImpl.h:
              * storage/IDBTransactionBackendInterface.h:
              * storage/IDBTransactionCoordinator.h:
      2010-10-06  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by David Levin.
      
              Add FileSystemSync implementation for Worker
              https://bugs.webkit.org/show_bug.cgi?id=47044
      
              * fast/filesystem/async-operations.html: Added.
              * fast/filesystem/resources/async-operations.js: Added.
              * fast/filesystem/resources/fs-worker-test-pre.js:
              * fast/filesystem/resources/sync-operations.js: Added.
              * fast/filesystem/script-tests/flags-passing.js:
              * fast/filesystem/workers/async-operations-expected.txt: Added.
              * fast/filesystem/workers/async-operations.html: Added.
              * fast/filesystem/workers/simple-persistent-sync-expected.txt:
              * fast/filesystem/workers/simple-temporary-sync-expected.txt:
              * fast/filesystem/workers/sync-operations-expected.txt: Added.
              * fast/filesystem/workers/sync-operations.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3256c0f4
  6. 05 Oct, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-10-05 Kinuko Yasuda <kinuko@chromium.org> · 5f6f77c3
      kinuko@chromium.org authored
              Reviewed by David Levin.
      
              Add idl and mock classes for FileSystemSync for FileSystem API
              https://bugs.webkit.org/show_bug.cgi?id=46405
      
              Added bunch of *Sync classes, plus refactored some classes:
              Added DOMFileSystemBase as a common base class for DOMFileSystem and
              DOMFileSystemSync.
              Added EntryBase as a common base class for Entry and EntrySync.
              Added DirectoryReaderBase as a common base class for DirectoryReader and
              DirectoryReaderSync.
      
              Test: fast/filesystem/workers/
      
              * CMakeLists.txt: Added new files.
              * DerivedSources.cpp: Added new files.
              * DerivedSources.make: Added new files.
              * GNUmakefile.am: Added new files.
              * WebCore.gypi: Added new files.
              * WebCore.pri: Added new files.
              * WebCore.pro: Added new files.
              * WebCore.vcproj/WebCore.vcproj: Added new files. Also removed the duplicated fileapi\FileEntry.cpp entry.
              * WebCore.xcodeproj/project.pbxproj: Added new files.
              * bindings/js/JSDirectoryEntrySyncCustom.cpp: Added.
              * bindings/js/JSEntrySyncCustom.cpp: Added.
              * bindings/v8/custom/V8DirectoryEntrySyncCustom.cpp: Added.
              * bindings/v8/custom/V8EntrySyncCustom.cpp: Added.
              * fileapi/DOMFileSystemBase.cpp: Added.
              * fileapi/DOMFileSystemBase.h: Added.
              * fileapi/DOMFileSystemSync.cpp: Added.
              * fileapi/DOMFileSystemSync.h: Added.
              * fileapi/DOMFileSystemSync.idl: Added.
              * fileapi/DirectoryEntrySync.cpp: Added.
              * fileapi/DirectoryEntrySync.h: Added.
              * fileapi/DirectoryEntrySync.idl: Added.
              * fileapi/DirectoryReaderBase.h: Added.
              * fileapi/DirectoryReaderSync.cpp: Added.
              * fileapi/DirectoryReaderSync.h: Added.
              * fileapi/DirectoryReaderSync.idl: Added.
              * fileapi/EntryArraySync.cpp: Added.
              * fileapi/EntryArraySync.h: Added.
              * fileapi/EntryArraySync.idl: Added.
              * fileapi/EntryBase.h: Added.
              * fileapi/EntrySync.cpp: Added.
              * fileapi/EntrySync.h: Added.
              * fileapi/EntrySync.idl: Added.
              * fileapi/FileEntrySync.cpp: Added.
              * fileapi/FileEntrySync.h: Added.
              * fileapi/FileEntrySync.idl: Added.
      2010-10-05  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by David Levin.
      
              Add idl and mock classes for FileSystemSync for FileSystem API
              https://bugs.webkit.org/show_bug.cgi?id=46405
      
              Add small subset of tests for workers (and non-workers) that can be
              tested with the current minimal implementation.
      
              An entry method (requestFileSystemSync) is not yet exposed to the
              WorkerContext in this patch, so workers/simple-*-sync-expected.txt
              have reference errors for now.
      
              * fast/filesystem/resources/fs-worker-common.js: Added.
              * fast/filesystem/resources/fs-worker-test-post.js: Added.
              * fast/filesystem/resources/fs-worker-test-pre.js: Added.
              * fast/filesystem/resources/simple-persistent-sync.js: Added.
              * fast/filesystem/resources/simple-persistent.js: Added.
              * fast/filesystem/resources/simple-temporary-sync.js: Added.
              * fast/filesystem/resources/simple-temporary.js: Added.
              * fast/filesystem/simple-persistent-expected.txt: Added.
              * fast/filesystem/simple-persistent.html: Added.
              * fast/filesystem/simple-temporary-expected.txt: Added.
              * fast/filesystem/simple-temporary.html: Added.
              * fast/filesystem/workers/simple-persistent-expected.txt: Added.
              * fast/filesystem/workers/simple-persistent-sync-expected.txt: Added.
              * fast/filesystem/workers/simple-persistent-sync.html: Added.
              * fast/filesystem/workers/simple-persistent-sync.txt: Added.
              * fast/filesystem/workers/simple-persistent.html: Added.
              * fast/filesystem/workers/simple-temporary-expected.txt: Added.
              * fast/filesystem/workers/simple-temporary-sync-expected.txt: Added.
              * fast/filesystem/workers/simple-temporary-sync.html: Added.
              * fast/filesystem/workers/simple-temporary.html: Added.
              * fast/js/resources/fs-test-post.js: Added.
              * platform/chromium/test_expectations.txt: Added fast/filesystem/workers
              not to run them in regular test runs.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69178 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f6f77c3
  7. 24 Sep, 2010 1 commit
  8. 23 Sep, 2010 1 commit
  9. 16 Sep, 2010 1 commit
    • 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
  10. 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
  11. 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
  12. 03 Aug, 2010 1 commit
    • dumi@chromium.org's avatar
      WebCore: Turn all callbacks into ActiveDOMObjects and create callbacks in the correct context. · 086b676d
      dumi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=40112
      
      Reviewed by Adam Barth.
      
      Test: http/tests/storage/callbacks-are-called-in-correct-context.html
      
      * CMakeLists.txt: Added new files.
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      
      * bindings/generic/ActiveDOMCallback.cpp: Added. The base class
      for all callbacks, that behaves like an ActiveDOMObject.
      (WebCore::DestroyOnContextThreadTask::create):
      (WebCore::DestroyOnContextThreadTask::performTask):
      (WebCore::DestroyOnContextThreadTask::DestroyOnContextThreadTask):
      (WebCore::ActiveDOMObjectCallbackImpl::ActiveDOMObjectCallbackImpl):
      (WebCore::ActiveDOMObjectCallbackImpl::contextDestroyed):
      (WebCore::ActiveDOMObjectCallbackImpl::canSuspend):
      (WebCore::ActiveDOMObjectCallbackImpl::suspend):
      (WebCore::ActiveDOMObjectCallbackImpl::resume):
      (WebCore::ActiveDOMObjectCallbackImpl::stop):
      (WebCore::ActiveDOMObjectCallbackImpl::canInvokeCallback):
      (WebCore::ActiveDOMObjectCallbackImpl::scriptExecutionContext):
      (WebCore::ActiveDOMObjectCallbackImpl::mutex):
      (WebCore::destroyOnContextThread):
      (WebCore::ActiveDOMCallback::ActiveDOMCallback):
      (WebCore::ActiveDOMCallback::~ActiveDOMCallback):
      (WebCore::ActiveDOMCallback::canInvokeCallback):
      (WebCore::ActiveDOMCallback::scriptExecutionContext):
      * bindings/generic/ActiveDOMCallback.h: Added.
      
      * bindings/js/JSCustomSQLStatementErrorCallback.cpp: Pass the
      right ScriptExecutionContext to the JSC callbacks.
      (WebCore::JSSQLStatementErrorCallback::handleEvent):
      * bindings/js/JSSQLTransactionCustom.cpp:
      (WebCore::JSSQLTransaction::executeSql):
      
      * bindings/scripts/CodeGeneratorJS.pm: Make all callbacks inherit
      from ActiveDOMCallback, and make them use the right
      ScriptExecutionContext.
      * bindings/scripts/CodeGeneratorV8.pm:
      
      * bindings/scripts/test/JS/JSTestCallback.cpp: Update the
      expectations for the code generated by CodeGenerator{JS|V8}.pm.
      (WebCore::JSTestCallback::JSTestCallback):
      (WebCore::JSTestCallback::~JSTestCallback):
      (WebCore::JSTestCallback::callbackWithClass1Param):
      (WebCore::JSTestCallback::callbackWithClass2Param):
      * bindings/scripts/test/JS/JSTestCallback.h:
      * bindings/scripts/test/V8/V8TestCallback.cpp:
      (WebCore::V8TestCallback::V8TestCallback):
      (WebCore::V8TestCallback::callbackWithClass1Param):
      (WebCore::V8TestCallback::callbackWithClass2Param):
      * bindings/scripts/test/V8/V8TestCallback.h:
      (WebCore::V8TestCallback::create):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjInternal::methodWithCallbackArgCallback):
      (WebCore::TestObjInternal::methodWithNonCallbackArgAndCallbackArgCallback):
      (WebCore::TestObjInternal::methodWithCallbackAndOptionalArgCallback):
      
      * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp: Pass
      the right ScriptExecutionContext to the V8 callbacks.
      (WebCore::V8SQLStatementErrorCallback::handleEvent):
      * bindings/v8/custom/V8DOMWindowCustom.cpp:
      (WebCore::V8DOMWindow::openDatabaseCallback):
      * bindings/v8/custom/V8DatabaseCustom.cpp:
      (WebCore::V8Database::changeVersionCallback):
      (WebCore::createTransaction):
      * bindings/v8/custom/V8DatabaseSyncCustom.cpp:
      (WebCore::V8DatabaseSync::changeVersionCallback):
      (WebCore::createTransaction):
      * bindings/v8/custom/V8SQLTransactionCustom.cpp:
      (WebCore::V8SQLTransaction::executeSqlCallback):
      * bindings/v8/custom/V8WorkerContextCustom.cpp:
      (WebCore::V8WorkerContext::openDatabaseCallback):
      (WebCore::V8WorkerContext::openDatabaseSyncCallback):
      
      * dom/ActiveDOMObject.cpp: Simplify the code.
      (WebCore::ActiveDOMObject::ActiveDOMObject):
      (WebCore::ActiveDOMObject::~ActiveDOMObject):
      
      * storage/Database.cpp: CallbackClass::handleEvent() doesn't take
      a ScriptExecutionContext anymore.
      (WebCore::DatabaseCreationCallbackTask::performTask):
      * storage/DatabaseCallback.h:
      * storage/DatabaseSync.cpp:
      (WebCore::DatabaseSync::openDatabaseSync):
      * storage/EntryCallback.h:
      * storage/ErrorCallback.h:
      * storage/FileSystemCallback.h:
      * storage/MetadataCallback.h:
      * storage/SQLStatement.cpp:
      (WebCore::SQLStatement::performCallback):
      * storage/SQLStatementCallback.h:
      * storage/SQLStatementErrorCallback.h:
      * storage/SQLTransaction.cpp:
      (WebCore::SQLTransaction::deliverTransactionCallback):
      (WebCore::SQLTransaction::deliverTransactionErrorCallback):
      * storage/SQLTransactionCallback.h:
      * storage/SQLTransactionErrorCallback.h:
      * storage/SQLTransactionSync.cpp:
      (WebCore::SQLTransactionSync::execute):
      * storage/SQLTransactionSyncCallback.h:
      
      LayoutTests: Make sure all DB callbacks run in the correct context.
      https://bugs.webkit.org/show_bug.cgi?id=40112
      
      Reviewed by Adam Barth.
      
      * http/tests/storage: Added.
      * http/tests/storage/callbacks-are-called-in-correct-context-expected.txt: Added.
      * http/tests/storage/callbacks-are-called-in-correct-context.html: Added.
      * http/tests/storage/resources: Added.
      * http/tests/storage/resources/callbacks-are-called-in-correct-context-first-frame.html: Added.
      * http/tests/storage/resources/callbacks-are-called-in-correct-context-output-frame.html: Added.
      * http/tests/storage/resources/callbacks-are-called-in-correct-context-second-frame.html: Added.
      * http/tests/storage/resources/callbacks-are-called-in-correct-context-third-frame.html: Added.
      * http/tests/storage/resources/callbacks-are-called-in-correct-context.cgi: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      086b676d
  13. 31 Jul, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-07-30 Kinuko Yasuda <kinuko@chromium.org> · 0c7ba88e
      kinuko@chromium.org authored
              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: http://svn.webkit.org/repository/webkit/trunk@64414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c7ba88e
  14. 01 Jul, 2010 2 commits
    • morrita@google.com's avatar
      2010-07-01 MORITA Hajime <morrita@google.com> · 962caf77
      morrita@google.com authored
              Unreviewed build fix.
      
              * rendering/RenderInputSpeech.cpp:
              (WebCore::RenderInputSpeech::paintInputFieldSpeechButton):
              * rendering/RenderInputSpeech.h:
              * rendering/RenderTheme.cpp:
              (WebCore::RenderTheme::paintInputFieldSpeechButton):
              * rendering/RenderTheme.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      962caf77
    • commit-queue@webkit.org's avatar
      2010-07-01 Satish Sampath <satish@chromium.org> · 6501d600
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              Rendering the speech button in input elements.
              https://bugs.webkit.org/show_bug.cgi?id=40984
      
              input-appearance-speechbutton.html checks the appearances of various sizes of speech buttons.
              input-appearance-searchandspeech.html checks input type='search' field with speech button.
              input-appearance-numberandspeech.html checks input type='number' field with speech button.
      
              * fast/forms/input-appearance-numberandspeech-expected.txt: Added.
              * fast/forms/input-appearance-numberandspeech.html: Added.
              * fast/forms/input-appearance-searchandspeech-expected.txt: Added.
              * fast/forms/input-appearance-searchandspeech.html: Added.
              * fast/forms/input-appearance-speechbutton-expected.txt: Added.
              * fast/forms/input-appearance-speechbutton.html: Added.
              * platform/chromium/test_expectations.txt: Skipped all these new tests as the speech input feature is disabled by default.
              * platform/gtk/Skipped:
              * platform/mac/fast/forms/input-appearance-numberandspeech-expected.checksum: Added.
              * platform/mac/fast/forms/input-appearance-numberandspeech-expected.png: Added.
              * platform/mac/fast/forms/input-appearance-searchandspeech-expected.checksum: Added.
              * platform/mac/fast/forms/input-appearance-searchandspeech-expected.png: Added.
              * platform/mac/fast/forms/input-appearance-speechbutton-expected.checksum: Added.
              * platform/mac/fast/forms/input-appearance-speechbutton-expected.png: Added.
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2010-07-01  Satish Sampath  <satish@chromium.org>
      
              Reviewed by Kent Tamura.
      
              Rendering the speech button in input elements.
              https://bugs.webkit.org/show_bug.cgi?id=40984
      
              The button currently has only one state and rendered as an image on all platforms. Subsequent
              patches will add user input handling and more states + rendering code to the button. The
              button's appearance can be customized by individual ports in their RenderTheme implementation
              if required.
      
              Tests: platform/mac/fast/forms/input-appearance-numberandspeech.html
                     platform/mac/fast/forms/input-appearance-searchandspeech.html
                     platform/mac/fast/forms/input-appearance-speechbutton.html
      
              * GNUmakefile.am:
              * Resources/inputSpeech.png: Added.
              * Resources/inputSpeech.tiff: Added. Used by the Mac implementation.
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.qrc:
              * WebCore.xcodeproj/project.pbxproj:
              * platform/graphics/qt/ImageQt.cpp:
              (loadResourcePixmap): Load the speech button images for Qt port.
              * rendering/RenderInputSpeech.cpp: Added.
              (WebCore::RenderInputSpeech::adjustInputFieldSpeechButtonStyle): Sets the button's dimensions.
              (WebCore::RenderInputSpeech::paintInputFieldSpeechButton):
              * rendering/RenderInputSpeech.h: Added.
              * rendering/RenderTextControlSingleLine.cpp:
              (WebCore::RenderTextControlSingleLine::layout):
              (WebCore::RenderTextControlSingleLine::forwardEvent):
              (WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded): Create the speech button.
              (WebCore::RenderTextControlSingleLine::createInnerBlockStyle):
              * rendering/RenderTheme.cpp:
              (WebCore::RenderTheme::adjustStyle):
              (WebCore::RenderTheme::paint):
              (WebCore::RenderTheme::adjustInputFieldSpeechButtonStyle):
              (WebCore::RenderTheme::paintInputFieldSpeechButton):
              * rendering/RenderTheme.h:
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::paintSearchFieldCancelButton): Get cancel button to render to the left of
              speech button when enabled.
      2010-07-01  Satish Sampath  <satish@chromium.org>
      
              Reviewed by Kent Tamura.
      
              Rendering the speech button in input elements.
              https://bugs.webkit.org/show_bug.cgi?id=40984
      
              * Api/qwebsettings.cpp:
              (graphics):
              * Api/qwebsettings.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6501d600
  15. 06 Apr, 2010 1 commit
    • loislo@chromium.org's avatar
      2010-04-06 Ilya Tikhonovsky <loislo@chromium.org> · edd30ea9
      loislo@chromium.org authored
              Unreviewed build fix.
      
              Web Inspector: missed files were added.
      
      
              * GNUmakefile.am:
              * bindings/js/ScriptGCEvent.h: Added.
              (WebCore::ScriptGCEvent::addEventListener):
              (WebCore::ScriptGCEvent::removeEventListener):
              (WebCore::ScriptGCEvent::getHeapSize):
              * bindings/v8/ScriptGCEvent.cpp: Added.
              (WebCore::ScriptGCEvent::addEventListener):
              (WebCore::ScriptGCEvent::removeEventListener):
              (WebCore::ScriptGCEvent::getHeapSize):
              (WebCore::ScriptGCEvent::getUsedHeapSize):
              (WebCore::ScriptGCEvent::gcPrologueCallback):
              (WebCore::ScriptGCEvent::gcEpilogueCallback):
              * bindings/v8/ScriptGCEvent.h: Added.
              * inspector/ScriptGCEventListener.h: Added.
              (WebCore::ScriptGCEventListener::~ScriptGCEventListener):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edd30ea9
  16. 01 Feb, 2010 1 commit
    • japhet@chromium.org's avatar
      2010-02-01 Nate Chapin <japhet@chromium.org> · e8827984
      japhet@chromium.org authored
              Unreviewed, Chromium build fix.
      
              Failed to properly add new files for http://trac.webkit.org/changeset/54150.
      
              * bindings/v8/custom/V8BarInfoCustom.cpp: Added.
              * bindings/v8/custom/V8CSSRuleCustom.cpp: Added.
              * bindings/v8/custom/V8CSSStyleSheetCustom.cpp: Added.
              * bindings/v8/custom/V8CSSValueCustom.cpp: Added.
              * bindings/v8/custom/V8CanvasPixelArrayCustom.cpp: Added.
              * bindings/v8/custom/V8DOMSelectionCustom.cpp: Added.
              * bindings/v8/custom/V8HTMLElementCustom.cpp: Added.
              * bindings/v8/custom/V8SVGDocumentCustom.cpp: Added.
              * bindings/v8/custom/V8SVGElementCustom.cpp: Added.
              * bindings/v8/custom/V8SVGPathSegCustom.cpp: Added.
              * bindings/v8/custom/V8ScreenCustom.cpp: Added.
              * bindings/v8/custom/V8StyleSheetCustom.cpp: Added.
              * bindings/v8/custom/V8WebGLArrayCustom.cpp: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e8827984
  17. 06 Jan, 2010 1 commit
  18. 09 Nov, 2009 1 commit
    • eric@webkit.org's avatar
      2009-11-09 Yaar Schnitman <yaar@chromium.org> · 59332324
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Up-streaming Chromium API src files: WebAccessibilty
      
              https://bugs.webkit.org/show_bug.cgi?id=31276
      
              * src/WebAccessibilityCache.cpp: Added.
              (WebKit::WebAccessibilityCache::enableAccessibility):
              * src/WebAccessibilityCacheImpl.cpp: Added.
              (WebKit::toAccessibilityObject):
              (WebKit::WebAccessibilityCache::create):
              (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
              (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
              (WebKit::WebAccessibilityCacheImpl::WeakHandle::detach):
              (WebKit::WebAccessibilityCacheImpl::WebAccessibilityCacheImpl):
              (WebKit::WebAccessibilityCacheImpl::~WebAccessibilityCacheImpl):
              (WebKit::WebAccessibilityCacheImpl::initialize):
              (WebKit::WebAccessibilityCacheImpl::getObjectById):
              (WebKit::WebAccessibilityCacheImpl::isValidId):
              (WebKit::WebAccessibilityCacheImpl::remove):
              (WebKit::WebAccessibilityCacheImpl::clear):
              (WebKit::WebAccessibilityCacheImpl::addOrGetId):
              * src/WebAccessibilityCacheImpl.h: Added.
              (WebKit::WebAccessibilityCacheImpl::isInitialized):
              * src/WebAccessibilityObject.cpp: Added.
              (WebKit::WebAccessibilityObject::reset):
              (WebKit::WebAccessibilityObject::assign):
              (WebKit::WebAccessibilityObject::accessibilityDescription):
              (WebKit::WebAccessibilityObject::actionVerb):
              (WebKit::WebAccessibilityObject::canSetFocusAttribute):
              (WebKit::WebAccessibilityObject::childCount):
              (WebKit::WebAccessibilityObject::childAt):
              (WebKit::WebAccessibilityObject::firstChild):
              (WebKit::WebAccessibilityObject::focusedChild):
              (WebKit::WebAccessibilityObject::lastChild):
              (WebKit::WebAccessibilityObject::nextSibling):
              (WebKit::WebAccessibilityObject::parentObject):
              (WebKit::WebAccessibilityObject::previousSibling):
              (WebKit::WebAccessibilityObject::isAnchor):
              (WebKit::WebAccessibilityObject::isChecked):
              (WebKit::WebAccessibilityObject::isFocused):
              (WebKit::WebAccessibilityObject::isEnabled):
              (WebKit::WebAccessibilityObject::isHovered):
              (WebKit::WebAccessibilityObject::isIndeterminate):
              (WebKit::WebAccessibilityObject::isMultiSelect):
              (WebKit::WebAccessibilityObject::isOffScreen):
              (WebKit::WebAccessibilityObject::isPasswordField):
              (WebKit::WebAccessibilityObject::isPressed):
              (WebKit::WebAccessibilityObject::isReadOnly):
              (WebKit::WebAccessibilityObject::isVisited):
              (WebKit::WebAccessibilityObject::boundingBoxRect):
              (WebKit::WebAccessibilityObject::helpText):
              (WebKit::WebAccessibilityObject::hitTest):
              (WebKit::WebAccessibilityObject::keyboardShortcut):
              (WebKit::WebAccessibilityObject::performDefaultAction):
              (WebKit::WebAccessibilityObject::roleValue):
              (WebKit::WebAccessibilityObject::stringValue):
              (WebKit::WebAccessibilityObject::title):
              (WebKit::WebAccessibilityObject::WebAccessibilityObject):
              (WebKit::WebAccessibilityObject::operator=):
              (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59332324
  19. 18 Aug, 2009 1 commit
    • atwilson@chromium.org's avatar
      WebCore: Need to extend DumpRenderTree to expose number of worker threads · 7ace1fbb
      atwilson@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=28292
      
      Reviewed by Eric Seidel.
      
      Expose WorkerThread::workerThreadCount() for DumpRenderTree so we can write worker lifecycle tests.
      
      Tests: fast/workers/shared-worker-lifecycle.html-disabled
             fast/workers/worker-lifecycle.html
      
      * WebCore.base.exp:
      Exported WorkerThread::workerThreadCount().
      * WebCore.xcodeproj/project.pbxproj:
      * workers/WorkerThread.cpp:
      Added tracking of the number of worker threads.
      (WebCore::threadCountMutex):
      (WebCore::WorkerThread::workerThreadCount):
      (WebCore::WorkerThread::WorkerThread):
      (WebCore::WorkerThread::~WorkerThread):
      * workers/WorkerThread.h:
      
      WebKit: Need to extend DumpRenderTree to expose number of worker threads.
      https://bugs.webkit.org/show_bug.cgi?id=28292
      
      Reviewed by Eric Seidel.
      
      * WebKit.xcodeproj/project.pbxproj:
      Added WebWorkersPrivate APIs to mac WebKit to expose workerThreadCount() for DumpRenderTree.
      
      WebKit/gtk: Need to extend DumpRenderTree to expose number of worker threads
      https://bugs.webkit.org/show_bug.cgi?id=28292
      
      Reviewed by Eric Seidel.
      
      * webkit/webkitprivate.h:
      * webkit/webkitworkers.cpp: Added.
      (webkit_worker_thread_count):
      Exposed WebCore::WorkerThread::workerThreadCount() for the gtk version of DumpRenderTree.
      
      WebKit/mac: Need to extend DumpRenderTree to expose number of worker threads.
      https://bugs.webkit.org/show_bug.cgi?id=28292
      
      Reviewed by Eric Seidel.
      
      * WebKit.exp:
      Exported WebWorkersPrivate so DumpRenderTree can access it.
      * Workers/WebWorkersPrivate.h: Added.
      * Workers/WebWorkersPrivate.mm: Added.
      (+[WebWorkersPrivate workerThreadCount]):
      Added WebWorkersPrivate::workerThreadCount() API for DumpRenderTree.
      
      WebKit/win: Need to extend DumpRenderTree to expose number of worker threads
      https://bugs.webkit.org/show_bug.cgi?id=28292
      
      Reviewed by Eric Seidel.
      
      Defined/implemented COM interfaces to expose WorkerThread::workerThreadCount() for DumpRenderTree.
      
      * ForEachCoClass.h:
      Added WebWorkersPrivate.
      * Interfaces/IWebWorkersPrivate.idl: Added.
      * Interfaces/WebKit.idl:
      Added WebWorkersPrivate.
      * WebKit.vcproj/Interfaces.vcproj:
      * WebKit.vcproj/WebKit.vcproj:
      * WebWorkersPrivate.cpp: Added.
      Implementation of the IWebWorkersPrivate COM interface, to expose workerThreadCount() for DumpRenderTree.
      (WebWorkersPrivate::QueryInterface):
      (WebWorkersPrivate::AddRef):
      (WebWorkersPrivate::Release):
      (WebWorkersPrivate::workerThreadCount):
      (WebWorkersPrivate::createInstance):
      (WebWorkersPrivate::WebWorkersPrivate):
      (WebWorkersPrivate::~WebWorkersPrivate):
      * WebWorkersPrivate.h: Added.
      
      WebKitTools: Need to extend DumpRenderTree to expose number of worker threads
      https://bugs.webkit.org/show_bug.cgi?id=28292
      
      Reviewed by Eric Seidel.
      
      Added layoutTestController.workerThreadCount, and implementations on various platforms that call into WebKit.
      
      * DumpRenderTree/LayoutTestController.cpp:
      (getWorkerThreadCountCallback):
      (LayoutTestController::staticValues):
      * DumpRenderTree/LayoutTestController.h:
      * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
      (LayoutTestController::workerThreadCount):
      * DumpRenderTree/mac/LayoutTestControllerMac.mm:
      (LayoutTestController::workerThreadCount):
      * DumpRenderTree/win/LayoutTestControllerWin.cpp:
      (LayoutTestController::workerThreadCount):
      * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
      (LayoutTestController::workerThreadCount):
      
      LayoutTests: Need to extend DumpRenderTree to expose number of worker threads
      https://bugs.webkit.org/show_bug.cgi?id=28292
      
      Reviewed by Eric Seidel.
      
      Added simple layout tests that use the new layoutTestController.workerThreadCount() API
      
      * fast/workers/resources/shared-worker-common.js:
      Added support for "close" command to match worker-common.js.
      * fast/workers/resources/worker-lifecycle.js: Added.
      * fast/workers/shared-worker-lifecycle-expected.txt: Added.
      * fast/workers/shared-worker-lifecycle.html-disabled: Added.
      * fast/workers/worker-lifecycle-expected.txt: Added.
      * fast/workers/worker-lifecycle.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ace1fbb
  20. 03 Aug, 2009 1 commit
    • jorlow@chromium.org's avatar
      2009-08-03 Jeremy Orlow <jorlow@chromium.org> · bcda25b8
      jorlow@chromium.org authored
              Reviewed by Darin Fisher.
      
              Chromium code sometimes isn't sandboxed and needs to access the FS.
              https://bugs.webkit.org/show_bug.cgi?id=27954
      
              These changes are the WebKit side of http://codereview.chromium.org/159778 which
              aims to make LocalStorage persistent.
      
              This change runs all FileSystem routines through the ChromiumBridge so that
              WebKitClients can handle them if they choose to.  For now, the only such client
              will be the one running in the browser process.
      
              It also adds a method called sandboxEnabled to the Chromium bridge so that the
              SQLite file system code can shift its behavior depending on whether we're
              inside a sandbox or not.
      
              * platform/chromium/ChromiumBridge.h:
              * platform/chromium/FileSystemChromium.cpp:
              (WebCore::deleteFile):
              (WebCore::deleteEmptyDirectory):
              (WebCore::getFileModificationTime):
              (WebCore::directoryName):
              (WebCore::pathByAppendingComponent):
              (WebCore::makeAllDirectories):
              (WebCore::fileExists):
              * platform/sql/chromium/SQLiteFileSystemChromium.cpp:
              (WebCore::SQLiteFileSystem::openDatabase):
              * platform/sql/chromium/SQLiteFileSystemChromiumWin.cpp:
              (WebCore::SQLiteFileSystem::registerSQLiteVFS):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcda25b8
  21. 20 Jul, 2009 1 commit
  22. 13 Jan, 2009 1 commit
    • darin@chromium.org's avatar
      2009-01-13 Darin Fisher <darin@chromium.org> · 0e8acfa7
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              Landing portions of platform/chromium/, taken from here:
              http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/WebKit/WebCore/platform/chromium/
      
              * platform/chromium/ChromiumBridge.h: Added.
              * platform/chromium/ChromiumDataObject.cpp: Added.
              (WebCore::ChromiumDataObject::clear):
              (WebCore::ChromiumDataObject::hasData):
              * platform/chromium/ChromiumDataObject.h: Added.
              (WebCore::ChromiumDataObject::create):
              (WebCore::ChromiumDataObject::ChromiumDataObject):
              * platform/chromium/ClipboardChromium.cpp: Added.
              (WebCore::):
              (WebCore::clipboardTypeFromMIMEType):
              (WebCore::ClipboardChromium::ClipboardChromium):
              (WebCore::ClipboardChromium::create):
              (WebCore::ClipboardChromium::clearData):
              (WebCore::ClipboardChromium::clearAllData):
              (WebCore::ClipboardChromium::getData):
              (WebCore::ClipboardChromium::setData):
              (WebCore::ClipboardChromium::types):
              (WebCore::ClipboardChromium::setDragImage):
              (WebCore::ClipboardChromium::setDragImageElement):
              (WebCore::ClipboardChromium::createDragImage):
              (WebCore::imageToMarkup):
              (WebCore::getCachedImage):
              (WebCore::writeImageToDataObject):
              (WebCore::ClipboardChromium::declareAndWriteDragImage):
              (WebCore::ClipboardChromium::writeURL):
              (WebCore::ClipboardChromium::writeRange):
              (WebCore::ClipboardChromium::hasData):
              * platform/chromium/ClipboardChromium.h: Added.
              (WebCore::ClipboardChromium::~ClipboardChromium):
              (WebCore::ClipboardChromium::dataObject):
              * platform/chromium/ClipboardUtilitiesChromium.cpp: Added.
              (WebCore::replaceNewlinesWithWindowsStyleNewlines):
              (WebCore::replaceNBSPWithSpace):
              (WebCore::urlToMarkup):
              * platform/chromium/ClipboardUtilitiesChromium.h: Added.
              * platform/chromium/ContextMenuChromium.cpp: Added.
              (WebCore::ContextMenu::ContextMenu):
              (WebCore::ContextMenu::~ContextMenu):
              (WebCore::ContextMenu::itemCount):
              (WebCore::ContextMenu::insertItem):
              (WebCore::ContextMenu::appendItem):
              (WebCore::ContextMenu::itemWithAction):
              (WebCore::ContextMenu::itemAtIndex):
              (WebCore::ContextMenu::setPlatformDescription):
              (WebCore::ContextMenu::platformDescription):
              (WebCore::ContextMenu::releasePlatformDescription):
              * platform/chromium/ContextMenuItemChromium.cpp: Added.
              (WebCore::ContextMenuItem::ContextMenuItem):
              (WebCore::ContextMenuItem::~ContextMenuItem):
              (WebCore::ContextMenuItem::releasePlatformDescription):
              (WebCore::ContextMenuItem::type):
              (WebCore::ContextMenuItem::action):
              (WebCore::ContextMenuItem::title):
              (WebCore::ContextMenuItem::platformSubMenu):
              (WebCore::ContextMenuItem::setType):
              (WebCore::ContextMenuItem::setAction):
              (WebCore::ContextMenuItem::setTitle):
              (WebCore::ContextMenuItem::setSubMenu):
              (WebCore::ContextMenuItem::setChecked):
              (WebCore::ContextMenuItem::setEnabled):
              (WebCore::ContextMenuItem::enabled):
              * platform/chromium/CursorChromium.cpp: Added.
              (WebCore::Cursor::Cursor):
              (WebCore::Cursor::~Cursor):
              (WebCore::Cursor::operator=):
              (WebCore::pointerCursor):
              (WebCore::crossCursor):
              (WebCore::handCursor):
              (WebCore::iBeamCursor):
              (WebCore::waitCursor):
              (WebCore::helpCursor):
              (WebCore::eastResizeCursor):
              (WebCore::northResizeCursor):
              (WebCore::northEastResizeCursor):
              (WebCore::northWestResizeCursor):
              (WebCore::southResizeCursor):
              (WebCore::southEastResizeCursor):
              (WebCore::southWestResizeCursor):
              (WebCore::westResizeCursor):
              (WebCore::northSouthResizeCursor):
              (WebCore::eastWestResizeCursor):
              (WebCore::northEastSouthWestResizeCursor):
              (WebCore::northWestSouthEastResizeCursor):
              (WebCore::columnResizeCursor):
              (WebCore::rowResizeCursor):
              (WebCore::middlePanningCursor):
              (WebCore::eastPanningCursor):
              (WebCore::northPanningCursor):
              (WebCore::northEastPanningCursor):
              (WebCore::northWestPanningCursor):
              (WebCore::southPanningCursor):
              (WebCore::southEastPanningCursor):
              (WebCore::southWestPanningCursor):
              (WebCore::westPanningCursor):
              (WebCore::moveCursor):
              (WebCore::verticalTextCursor):
              (WebCore::cellCursor):
              (WebCore::contextMenuCursor):
              (WebCore::aliasCursor):
              (WebCore::progressCursor):
              (WebCore::noDropCursor):
              (WebCore::copyCursor):
              (WebCore::noneCursor):
              (WebCore::notAllowedCursor):
              (WebCore::zoomInCursor):
              (WebCore::zoomOutCursor):
              (WebCore::grabCursor):
              (WebCore::grabbingCursor):
              * platform/chromium/DragDataChromium.cpp: Added.
              (WebCore::containsHTML):
              (WebCore::DragData::createClipboard):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              (WebCore::DragData::containsFiles):
              (WebCore::DragData::asFilenames):
              (WebCore::DragData::containsPlainText):
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::containsColor):
              (WebCore::DragData::canSmartReplace):
              (WebCore::DragData::containsCompatibleContent):
              (WebCore::DragData::asFragment):
              (WebCore::DragData::asColor):
              * platform/chromium/EditorChromium.cpp: Added.
              (WebCore::Editor::newGeneralClipboard):
              * platform/chromium/FileChooserChromium.cpp: Added.
              (WebCore::FileChooser::basenameForWidth):
              * platform/chromium/FileSystemChromium.cpp: Added.
              (WebCore::deleteFile):
              (WebCore::deleteEmptyDirectory):
              (WebCore::getFileSize):
              (WebCore::getFileModificationTime):
              (WebCore::directoryName):
              (WebCore::pathByAppendingComponent):
              (WebCore::makeAllDirectories):
              (WebCore::fileExists):
              * platform/chromium/FileSystemChromiumLinux.cpp: Added.
              (WebCore::pathGetFileName):
              * platform/chromium/FileSystemChromiumMac.mm: Added.
              (WebCore::pathGetFileName):
              * platform/chromium/FileSystemChromiumWin.cpp: Added.
              (WebCore::pathGetFileName):
              * platform/chromium/FramelessScrollView.cpp: Added.
              (WebCore::FramelessScrollView::~FramelessScrollView):
              (WebCore::FramelessScrollView::invalidateScrollbarRect):
              (WebCore::FramelessScrollView::isActive):
              (WebCore::FramelessScrollView::invalidateRect):
              (WebCore::FramelessScrollView::hostWindow):
              (WebCore::FramelessScrollView::windowClipRect):
              (WebCore::FramelessScrollView::paintContents):
              (WebCore::FramelessScrollView::contentsResized):
              (WebCore::FramelessScrollView::visibleContentsResized):
              * platform/chromium/FramelessScrollView.h: Added.
              (WebCore::FramelessScrollView::FramelessScrollView):
              (WebCore::FramelessScrollView::client):
              (WebCore::FramelessScrollView::setClient):
              * platform/chromium/FramelessScrollViewClient.h: Added.
              * platform/chromium/ScrollbarThemeChromiumWin.cpp: Added.
              (WebCore::):
              (WebCore::ScrollbarThemeChromium::scrollbarThickness):
              (WebCore::ScrollbarThemeChromium::invalidateOnMouseEnterExit):
              (WebCore::ScrollbarThemeChromium::paintTrackPiece):
              (WebCore::ScrollbarThemeChromium::paintButton):
              (WebCore::ScrollbarThemeChromium::paintThumb):
              (WebCore::ScrollbarThemeChromium::getThemeState):
              (WebCore::ScrollbarThemeChromium::getThemeArrowState):
              (WebCore::ScrollbarThemeChromium::getClassicThemeState):
              * platform/chromium/SoundChromiumPosix.cpp: Added.
              (WebCore::systemBeep):
              * platform/chromium/SoundChromiumWin.cpp: Added.
              (WebCore::systemBeep):
              * platform/chromium/SystemTimeChromium.cpp: Added.
              (WebCore::currentTime):
              (WebCore::userIdleTime):
              * platform/chromium/WidgetChromium.cpp: Added.
              (WebCore::Widget::Widget):
              (WebCore::Widget::~Widget):
              (WebCore::Widget::show):
              (WebCore::Widget::hide):
              (WebCore::Widget::setCursor):
              (WebCore::Widget::paint):
              (WebCore::Widget::setFocus):
              (WebCore::Widget::setIsSelected):
              (WebCore::Widget::frameRect):
              (WebCore::Widget::setFrameRect):
              * platform/chromium/WindowsVersion.cpp: Added.
              (WebCore::isVistaOrNewer):
              * platform/chromium/WindowsVersion.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e8acfa7
  23. 09 Jan, 2009 1 commit
    • darin@chromium.org's avatar
      2009-01-09 Darin Fisher <darin@chromium.org> · 45f77239
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=23214
              Upstream platform/network/chromium/
      
              * platform/network/chromium/AuthenticationChallenge.h: Added.
              (WebCore::AuthenticationChallenge::AuthenticationChallenge):
              (WebCore::AuthenticationChallenge::sourceHandle):
              * platform/network/chromium/AuthenticationChallengeChromium.cpp: Added.
              (WebCore::AuthenticationChallenge::platformCompare):
              * platform/network/chromium/CookieJarChromium.cpp: Added.
              (WebCore::setCookies):
              (WebCore::cookies):
              (WebCore::cookiesEnabled):
              * platform/network/chromium/DNSChromium.cpp: Added.
              (WebCore::prefetchDNS):
              * platform/network/chromium/NetworkStateNotifierChromium.cpp: Added.
              (WebCore::NetworkStateNotifier::updateState):
              (WebCore::NetworkStateNotifier::NetworkStateNotifier):
              * platform/network/chromium/NetworkStateNotifierPrivate.h: Added.
              * platform/network/chromium/ResourceError.h: Added.
              (WebCore::ResourceError::ResourceError):
              * platform/network/chromium/ResourceRequest.h: Added.
              (WebCore::ResourceRequest::):
              (WebCore::ResourceRequest::ResourceRequest):
              (WebCore::ResourceRequest::frame):
              (WebCore::ResourceRequest::setFrame):
              (WebCore::ResourceRequest::setTargetType):
              (WebCore::ResourceRequest::targetType):
              (WebCore::ResourceRequest::originPid):
              (WebCore::ResourceRequest::setOriginPid):
              (WebCore::ResourceRequest::securityInfo):
              (WebCore::ResourceRequest::setSecurityInfo):
              (WebCore::ResourceRequest::doUpdatePlatformRequest):
              (WebCore::ResourceRequest::doUpdateResourceRequest):
              * platform/network/chromium/ResourceResponse.h:
              (WebCore::ResourceResponse::ResourceResponse):
              (WebCore::ResourceResponse::getSecurityInfo):
              (WebCore::ResourceResponse::setSecurityInfo):
              (WebCore::ResourceResponse::isContentFiltered):
              (WebCore::ResourceResponse::setIsContentFiltered):
              (WebCore::ResourceResponse::doUpdateResourceResponse):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45f77239
  24. 06 Jan, 2009 1 commit
    • eric@webkit.org's avatar
      Reviewed by Gavin Barraclough. · f39bd282
      eric@webkit.org authored
              Upstream 3 more files to get the WebCore-Chromium build a bit further.
      
              * WebCore.scons:
              * page/chromium/AccessibilityObjectChromium.cpp: Added.
              (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
              * page/chromium/AccessibilityObjectWrapper.h: Added.
              (WebCore::AccessibilityObjectWrapper::~AccessibilityObjectWrapper):
              (WebCore::AccessibilityObjectWrapper::attached):
              (WebCore::AccessibilityObjectWrapper::accessibilityObject):
              (WebCore::AccessibilityObjectWrapper::AccessibilityObjectWrapper):
              * platform/chromium/PasteboardPrivate.h: Added.
              (WebCore::PasteboardPrivate::):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f39bd282
  25. 25 Nov, 2008 1 commit
  26. 24 Nov, 2008 1 commit
    • darin@chromium.org's avatar
      2008-11-24 Darin Fisher <darin@chromium.org> · 6b41247a
      darin@chromium.org authored
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=22448
              Create an abstraction for JSC::SourceCode
      
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/CachedScriptSourceProvider.h:
              * bindings/js/ScriptController.cpp:
              (WebCore::ScriptController::evaluate):
              * bindings/js/ScriptController.h:
              * bindings/js/ScriptSourceCode.h: Added.
              (WebCore::ScriptSourceCode::ScriptSourceCode):
              (WebCore::ScriptSourceCode::length):
              (WebCore::ScriptSourceCode::jsSourceCode):
              * bindings/js/WorkerScriptController.cpp:
              (WebCore::Workevn ScriptController::evaluate):
              * bindings/js/WorkerScriptController.h:
              * dom/ScriptElement.cpp:
              (WebCore::ScriptElement::insertedIntoDocument):
              (WebCore::ScriptElement::childrenChanged):
              (WebCore::ScriptElementData::evaluateScript):
              (WebCore::ScriptElementData::notifyFinished):
              * dom/ScriptElement.h:
              * dom/WorkerThread.cpp:
              (WebCore::WorkerThread::workerThread):
              * dom/WorkerThread.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::notifyFinished):
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::XMLTokenizer::endElementNs):
              * dom/XMLTokenizerQt.cpp:
              (WebCore::XMLTokenizer::parseEndElement):
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptHandler):
              (WebCore::HTMLTokenizer::scriptExecution):
              (WebCore::HTMLTokenizer::notifyFinished):
              * html/HTMLTokenizer.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeScript):
              * loader/FrameLoader.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b41247a
  27. 19 Nov, 2008 1 commit
    • darin@chromium.org's avatar
      2008-11-18 Darin Fisher <darin@chromium.org> · cd84840e
      darin@chromium.org authored
              Reviewed by Geoff Garen.
      
              https://bugs.webkit.org/show_bug.cgi?id=22345
              Define ScriptValue as a thin container for a JSC::Value*.
      
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScheduledAction.cpp:
              * bindings/js/ScriptController.cpp:
              (WebCore::ScriptController::evaluate):
              * bindings/js/ScriptController.h:
              * bindings/js/ScriptValue.cpp: Added.
              (WebCore::ScriptValue::getString):
              * bindings/js/ScriptValue.h: Added.
              (WebCore::ScriptValue::ScriptValue):
              (WebCore::ScriptValue::jsValue):
              * dom/ScriptElement.cpp:
              * dom/XMLTokenizer.cpp:
              * dom/XMLTokenizerLibxml2.cpp:
              * html/HTMLTokenizer.cpp:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::executeIfJavaScriptURL):
              (WebCore::FrameLoader::executeScript):
              * loader/FrameLoader.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd84840e