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. 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
  5. 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
  6. 13 Sep, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-09-13 Kinuko Yasuda <kinuko@chromium.org> · 82391b05
      kinuko@chromium.org authored
              Reviewed by Adam Barth.
      
              Make FileEntry and DirectoryEntry methods accessible via Entry instance
              https://bugs.webkit.org/show_bug.cgi?id=45553
      
              FileEntry- and DirectoryEntry- specific methods must be available on Entry object based on its internal type.
      
              Added custom toJS/toV8 implementation to Entry interface.
      
              No new tests; test will be added later when we have complete implementation for the API.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSEntryCustom.cpp: Added.
              (WebCore::toJS):
              * bindings/v8/custom/V8EntryCustom.cpp: Added.
              (WebCore::toV8):
              * fileapi/DirectoryEntry.h: Nits fix.
              * fileapi/DirectoryEntry.idl: Added ConvertUndefinedOrNullToString to path parameter.
              * fileapi/Entry.idl: Added CustomToJS attribute.
              * fileapi/FileEntry.cpp:
              (WebCore::FileEntry::createWriter):
              (WebCore::FileEntry::file):
              * fileapi/FileEntry.h:
              * fileapi/FileEntry.idl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82391b05
  7. 01 Sep, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-08-31 Kinuko Yasuda <kinuko@chromium.org> · 189edc30
      kinuko@chromium.org authored
              Reviewed by Adam Barth.
      
              Move FileSystem related files from WebCore/html to WebCore/fileapi.
              https://bugs.webkit.org/show_bug.cgi?id=44925
      
              No new tests; there should be no functional changes.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * fileapi/DOMFilePath.cpp: Renamed from WebCore/storage/DOMFilePath.cpp.
              * fileapi/DOMFilePath.h: Renamed from WebCore/storage/DOMFilePath.h.
              * fileapi/DOMFileSystem.cpp: Renamed from WebCore/storage/DOMFileSystem.cpp.
              * fileapi/DOMFileSystem.h: Renamed from WebCore/storage/DOMFileSystem.h.
              * fileapi/DOMFileSystem.idl: Renamed from WebCore/storage/DOMFileSystem.idl.
              * fileapi/DirectoryEntry.cpp: Renamed from WebCore/storage/DirectoryEntry.cpp.
              * fileapi/DirectoryEntry.h: Renamed from WebCore/storage/DirectoryEntry.h.
              * fileapi/DirectoryEntry.idl: Renamed from WebCore/storage/DirectoryEntry.idl.
              * fileapi/DirectoryReader.cpp: Renamed from WebCore/storage/DirectoryReader.cpp.
              * fileapi/DirectoryReader.h: Renamed from WebCore/storage/DirectoryReader.h.
              * fileapi/DirectoryReader.idl: Renamed from WebCore/storage/DirectoryReader.idl.
              * fileapi/EntriesCallback.h: Renamed from WebCore/storage/EntriesCallback.h.
              * fileapi/EntriesCallback.idl: Renamed from WebCore/storage/EntriesCallback.idl.
              * fileapi/Entry.cpp: Renamed from WebCore/storage/Entry.cpp.
              * fileapi/Entry.h: Renamed from WebCore/storage/Entry.h.
              * fileapi/Entry.idl: Renamed from WebCore/storage/Entry.idl.
              * fileapi/EntryArray.cpp: Renamed from WebCore/storage/EntryArray.cpp.
              * fileapi/EntryArray.h: Renamed from WebCore/storage/EntryArray.h.
              * fileapi/EntryArray.idl: Renamed from WebCore/storage/EntryArray.idl.
              * fileapi/EntryCallback.h: Renamed from WebCore/storage/EntryCallback.h.
              * fileapi/EntryCallback.idl: Renamed from WebCore/storage/EntryCallback.idl.
              * fileapi/ErrorCallback.h: Renamed from WebCore/storage/ErrorCallback.h.
              * fileapi/ErrorCallback.idl: Renamed from WebCore/storage/ErrorCallback.idl.
              * fileapi/FileEntry.cpp: Renamed from WebCore/storage/FileEntry.cpp.
              * fileapi/FileEntry.h: Renamed from WebCore/storage/FileEntry.h.
              * fileapi/FileEntry.idl: Renamed from WebCore/storage/FileEntry.idl.
              * fileapi/FileSystemCallback.h: Renamed from WebCore/storage/FileSystemCallback.h.
              * fileapi/FileSystemCallback.idl: Renamed from WebCore/storage/FileSystemCallback.idl.
              * fileapi/FileSystemCallbacks.cpp: Renamed from WebCore/storage/FileSystemCallbacks.cpp.
              * fileapi/FileSystemCallbacks.h: Renamed from WebCore/storage/FileSystemCallbacks.h.
              * fileapi/Flags.h: Renamed from WebCore/storage/Flags.h.
              * fileapi/Flags.idl: Renamed from WebCore/storage/Flags.idl.
              * fileapi/LocalFileSystem.cpp: Renamed from WebCore/storage/LocalFileSystem.cpp.
              * fileapi/LocalFileSystem.h: Renamed from WebCore/storage/LocalFileSystem.h.
              * fileapi/Metadata.h: Renamed from WebCore/storage/Metadata.h.
              * fileapi/Metadata.idl: Renamed from WebCore/storage/Metadata.idl.
              * fileapi/MetadataCallback.h: Renamed from WebCore/storage/MetadataCallback.h.
              * fileapi/MetadataCallback.idl: Renamed from WebCore/storage/MetadataCallback.idl.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      189edc30
  8. 30 Aug, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-08-30 Kinuko Yasuda <kinuko@chromium.osrc> · 709beb14
      kinuko@chromium.org authored
              Reviewed by Darin Fisher.
      
              Add DOMFileSystem implementation to support Entry manipulation operations
              https://bugs.webkit.org/show_bug.cgi?id=44732
      
              Fixed virtual-path / platform-path conversion timing. (The conversion needs to be done before calling AsyncFileSystem methods to support cross-filesystem operations.)
      
              * src/AsyncFileSystemChromium.cpp:
              (WebCore::AsyncFileSystemChromium::move):
              (WebCore::AsyncFileSystemChromium::copy):
              (WebCore::AsyncFileSystemChromium::remove):
              (WebCore::AsyncFileSystemChromium::readMetadata):
              (WebCore::AsyncFileSystemChromium::createFile):
              (WebCore::AsyncFileSystemChromium::createDirectory):
              (WebCore::AsyncFileSystemChromium::fileExists):
              (WebCore::AsyncFileSystemChromium::directoryExists):
              (WebCore::AsyncFileSystemChromium::readDirectory):
      2010-08-30  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Add DOMFileSystem implementation to support Entry manipulation operations
              https://bugs.webkit.org/show_bug.cgi?id=44732
      
              No new tests; tests will be added later.
      
              * storage/DOMFileSystem.cpp:
              (WebCore::DOMFileSystem::root):
              (WebCore::checkValidityForForCopyOrMove): Added.
              (WebCore::DOMFileSystem::getMetadata): Added.
              (WebCore::DOMFileSystem::move): Added.
              (WebCore::DOMFileSystem::copy): Added.
              (WebCore::DOMFileSystem::remove): Added.
              (WebCore::DOMFileSystem::getParent): Added.
              (WebCore::DOMFileSystem::getFile): Added.
              (WebCore::DOMFileSystem::getDirectory): Added.
              (WebCore::DOMFileSystem::readDirectory): Added.
              * storage/DirectoryEntry.cpp:
              (WebCore::DirectoryEntry::getFile): Added implementation.
              (WebCore::DirectoryEntry::getDirectory): Added implementation.
              * storage/DirectoryReader.cpp:
              (WebCore::DirectoryReader::DirectoryReader): Added implementation.
              (WebCore::DirectoryReader::readEntries): Added implementation.
              * storage/DirectoryReader.h:
              * storage/Entry.cpp:
              (WebCore::Entry::getMetadata): Added implementation.
              (WebCore::Entry::moveTo): Added implementation.
              (WebCore::Entry::copyTo): Added implementation.
              (WebCore::Entry::remove): Added implementation.
              (WebCore::Entry::getParent): Added implementation.
              * storage/Entry.h:
              * storage/FileEntry.h:
      
              Added a helper template to schedule callbacks.
              * storage/DOMFileSystem.h:
              (WebCore::DOMFileSystem::DispatchCallbackTask): Added to schedule callbacks.
              (WebCore::DOMFileSystem::scheduleCallback): Added to schedule callbacks.
      
              Changed to fire callbacks asynchronously.
              * storage/LocalFileSystem.cpp:
              (WebCore::LocalFileSystem::requestFileSystem):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      709beb14
  9. 16 Aug, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-08-16 Kinuko Yasuda <kinuko@chromium.org> · 153233a2
      kinuko@chromium.org authored
              Reviewed by Dumitru Daniliuc.
      
              Add idl and mock classes for FileSystem API's {File,Directory}Entry and related interfaces
              https://bugs.webkit.org/show_bug.cgi?id=43993
      
              Adding DirectoryEntry, DirectoryReader, EntriesCallback and FileEntry as defined in HTML5 FileSystem API.
              http://dev.w3.org/2009/dap/file-system/file-dir-sys.html
      
              Also adding Makefile entries for idl and mock classes added in changeset 64414 (except for Android platforms).
      
              Tests will be added when we add underlying implementation.
      
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * storage/DOMFileSystem.cpp:
              (WebCore::DOMFileSystem::root):
              * storage/DOMFileSystem.h:
              * storage/DOMFileSystem.idl:
              * storage/DirectoryEntry.cpp: Added.
              * storage/DirectoryEntry.h: Added.
              * storage/DirectoryEntry.idl: Added.
              * storage/DirectoryReader.cpp: Added.
              * storage/DirectoryReader.h: Added.
              * storage/DirectoryReader.idl: Added.
              * storage/EntriesCallback.h: Added.
              * storage/EntriesCallback.idl: Added.
              * storage/EntryArray.cpp: Added.
              * storage/EntryArray.h: Added.
              * storage/EntryArray.idl: Added.
              * storage/Entry.cpp:
              (WebCore::Entry::Entry):
              (WebCore::Entry::getMetadata):
              (WebCore::Entry::moveTo):
              (WebCore::Entry::copyTo):
              (WebCore::Entry::remove):
              (WebCore::Entry::getParent):
              * storage/Entry.h:
              (WebCore::Entry::isFile):
              (WebCore::Entry::isDirectory):
              * storage/Entry.idl:
              * storage/FileEntry.cpp: Added.
              * storage/FileEntry.h: Added.
              * storage/FileEntry.idl: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      153233a2
  10. 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
  11. 14 Jul, 2010 1 commit
  12. 09 Jul, 2010 1 commit
    • tonyg@chromium.org's avatar
      2010-07-09 Tony Gentilcore <tonyg@chromium.org> · fe847a4c
      tonyg@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Implement performance.navigation.type
              https://bugs.webkit.org/show_bug.cgi?id=41564
      
              Expectations set to FAIL because disabled by default. Tests pass with --web-timing.
      
              * fast/dom/navigation-type-back-forward-expected.txt: Added.
              * fast/dom/navigation-type-back-forward.html: Added.
              * fast/dom/navigation-type-navigate-expected.txt: Added.
              * fast/dom/navigation-type-navigate.html: Added.
              * fast/dom/navigation-type-reload-expected.txt: Added.
              * fast/dom/navigation-type-reload.html: Added.
              * fast/dom/resources/navigation-type-matches-querystring.html: Added.
      2010-07-09  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Implement performance.navigation.type
              https://bugs.webkit.org/show_bug.cgi?id=41564
      
              Tests: fast/dom/navigation-type-back-forward.html
                     fast/dom/navigation-type-navigate.html
                     fast/dom/navigation-type-reload.html
      
              * page/Navigation.cpp:
              (WebCore::Navigation::type):
              * page/Navigation.h:
              (WebCore::Navigation::):
              * page/Navigation.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe847a4c
  13. 01 Jul, 2010 1 commit
    • tonyg@chromium.org's avatar
      2010-07-01 Tony Gentilcore <tonyg@chromium.org> · 5f1072b8
      tonyg@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Add window.performance.navigation namespace
              https://bugs.webkit.org/show_bug.cgi?id=41442
      
              Adds window.performance.navigation namespace consisting of ".type"
              and ".redirectCount". As part of this change, I renmaed "NavigationTiming"
              to just "Timing" to avoid confusion.
      
              No new tests because tests will be added in a subsequent patch when
              functionality is added.
      
              * Android.mk:
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/Navigation.cpp: Added.
              (WebCore::Navigation::Navigation):
              (WebCore::Navigation::frame):
              (WebCore::Navigation::disconnectFrame):
              (WebCore::Navigation::type):
              (WebCore::Navigation::redirectCount):
              * page/Navigation.h: Added.
              (WebCore::Navigation::create):
              * page/Navigation.idl: Added.
              * page/NavigationTiming.cpp: Removed.
              * page/NavigationTiming.h: Removed.
              * page/NavigationTiming.idl: Removed.
              * page/Performance.cpp:
              (WebCore::Performance::navigation):
              (WebCore::Performance::timing):
              * page/Performance.h:
              * page/Performance.idl:
              * page/Timing.cpp: Added.
              (WebCore::Timing::Timing):
              (WebCore::Timing::frame):
              (WebCore::Timing::disconnectFrame):
              (WebCore::Timing::navigationStart):
              * page/Timing.h: Added.
              (WebCore::Timing::create):
              * page/Timing.idl: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f1072b8
  14. 26 Jun, 2010 1 commit
    • tonyg@chromium.org's avatar
      2010-06-26 Tony Gentilcore <tonyg@chromium.org> · 6180404a
      tonyg@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Add an --enable-web-timing flag which guards Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              This flag is disabled by default.
              See: http://dev.w3.org/2006/webapi/WebTiming/
      
              * configure.ac:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add an ENABLE_WEB_TIMING option for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * Configurations/FeatureDefines.xcconfig:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add a guarded window.performance.timing binding which is disabled by default.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              This is where Web Timing support will be implemented. Web Timing is a
              draft spec for exposing load times to web pages. It will be enabled
              once the spec and implementaiton are solidified. See:
              http://dev.w3.org/2006/webapi/WebTiming/
      
              No new tests because guarded behind a #DEFINE. Will add tests as
              functionality is landed.
      
              * Android.mk:
              * CMakeLists.txt:
              * Configurations/FeatureDefines.xcconfig:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::clear):
              (WebCore::DOMWindow::performance):
              * page/DOMWindow.h:
              (WebCore::DOMWindow::optionalPerformance):
              * page/DOMWindow.idl:
              * page/NavigationTiming.cpp: Added.
              (WebCore::NavigationTiming::NavigationTiming):
              (WebCore::NavigationTiming::frame):
              (WebCore::NavigationTiming::disconnectFrame):
              (WebCore::NavigationTiming::navigationStart):
              * page/NavigationTiming.h: Added.
              (WebCore::NavigationTiming::create):
              * page/NavigationTiming.idl: Added.
              * page/Performance.cpp: Added.
              (WebCore::Performance::Performance):
              (WebCore::Performance::frame):
              (WebCore::Performance::disconnectFrame):
              (WebCore::Performance::timing):
              * page/Performance.h: Added.
              (WebCore::Performance::create):
              * page/Performance.idl: Added.
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Disable Web Timing support by default for chromium port.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * features.gypi:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add an ENABLE_WEB_TIMING option for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * Configurations/FeatureDefines.xcconfig:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add an ENABLE_WEB_TIMING option for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * Configurations/FeatureDefines.xcconfig:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add a VS macro for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * win/tools/vsprops/FeatureDefines.vsprops:
      2010-06-26  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Add a build-webkit option for enabling Web Timing support.
              https://bugs.webkit.org/show_bug.cgi?id=38924
      
              * Scripts/build-webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6180404a
  15. 02 Jun, 2010 1 commit
    • mnaganov@chromium.org's avatar
      2010-06-02 Mikhail Naganov <mnaganov@chromium.org> · 3e5b25a8
      mnaganov@chromium.org authored
              Reviewed by Yuri Semikhatsky.
      
              Web Inspector: add Console API for retrieving memory stats
      
              Add 'console.memory' property which returns an object. Currently
              it has two fields: totalJSHeapSize and usedJSHeapSize. Later, it can be
              extended for reporting total browser's memory consumption.
      
              https://bugs.webkit.org/show_bug.cgi?id=39646
      
              * CMakeLists.txt:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSConsoleCustom.cpp:
              (WebCore::JSConsole::memory):
              * bindings/v8/custom/V8ConsoleCustom.cpp:
              (WebCore::V8Console::memoryAccessorGetter):
              * page/Console.h:
              * page/Console.idl:
              * page/MemoryInfo.cpp: Added.
              (WebCore::MemoryInfo::MemoryInfo):
              * page/MemoryInfo.h: Added.
              (WebCore::MemoryInfo::create):
              (WebCore::MemoryInfo::totalJSHeapSize):
              (WebCore::MemoryInfo::usedJSHeapSize):
              * page/MemoryInfo.idl: Added.
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/prototype-inheritance-2-expected.txt:
              * platform/gtk/fast/dom/Window/window-properties-expected.txt:
              * platform/qt/fast/dom/Window/window-properties-expected.txt:
              * platform/win/fast/dom/prototype-inheritance-2-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e5b25a8
  16. 22 Jan, 2010 1 commit
    • eric@webkit.org's avatar
      2010-01-22 Anton Muhin <antonm@chromium.org> · 3d8be96e
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Adding ScriptWrappable into WebCore.
              This allows to associate custom information when Node
              gets wrapped into JavaScript wrapper.
      
              [v8, dom] Add a pointer field to C++ Node class
              https://bugs.webkit.org/show_bug.cgi?id=32430
      
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptWrappable.h: Added.
              (WebCore::ScriptWrappable::ScriptWrappable):
              * bindings/v8/ScriptWrappable.h: Added.
              (WebCore::ScriptWrappable::ScriptWrappable):
              (WebCore::ScriptWrappable::wrapper):
              (WebCore::ScriptWrappable::setWrapper):
              (WebCore::ScriptWrappable::clearWrapper):
              * dom/Node.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d8be96e
  17. 20 Jan, 2010 1 commit
    • jianli@chromium.org's avatar
      Implement File and Blob interfaces as defined in File API spec. · ec0183fe
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=32912
      
      Reviewed by Dmitry Titov.
      
      WebCore:
      
      * Android.derived.jscbindings.mk:
      * Android.derived.v8bindings.mk:
      * Android.mk:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * WebCoreSources.bkl:
      * bindings/js/JSXMLHttpRequestCustom.cpp:
      (WebCore::JSXMLHttpRequest::send):
      * bindings/objc/DOMHTML.h:
      * bindings/objc/PublicDOMInterfaces.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      * bindings/scripts/CodeGeneratorObjC.pm:
      * bindings/scripts/CodeGeneratorV8.pm:
      * bindings/v8/DOMObjectsInclude.h:
      * bindings/v8/DerivedSourcesAllInOne.cpp:
      * bindings/v8/V8Binding.h:
      (WebCore::toInt64):
      * bindings/v8/V8Index.cpp:
      * bindings/v8/V8Index.h:
      * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
      (WebCore::V8XMLHttpRequest::sendCallback):
      * html/File.cpp:
      (WebCore::File::File):
      * html/File.h:
      (WebCore::File::create):
      (WebCore::File::name):
      (WebCore::File::fileName):
      (WebCore::File::fileSize):
      * html/File.idl:
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::send):
      * xml/XMLHttpRequest.h:
      
      WebKit/mac:
      
      * MigrateHeaders.make:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec0183fe
  18. 18 Jan, 2010 1 commit
    • eric@webkit.org's avatar
      2010-01-18 Jonathan Dixon <joth@chromium.org> · b15462d1
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Add support for enabling navigator.geolocation at runtime in the V8 bindings.
              Adds the [EnabledAtRuntime] modifier to the navigator IDL.
              https://bugs.webkit.org/show_bug.cgi?id=33467
      
              * WebCore.gypi:
              * bindings/v8/RuntimeEnabledFeatures.cpp:
              * bindings/v8/RuntimeEnabledFeatures.h:
              (WebCore::RuntimeEnabledFeatures::setGeolocationEnabled):
              (WebCore::RuntimeEnabledFeatures::geolocationEnabled):
              * bindings/v8/custom/V8NavigatorCustom.cpp: Added.
              (WebCore::V8Navigator::GeolocationEnabled):
              * page/Navigator.cpp:
              (WebCore::Navigator::geolocation):
              * page/Navigator.idl:
      2010-01-18  Jonathan Dixon  <joth@chromium.org>
      
              Reviewed by Adam Barth.
      
              Add support for enabling navigator.geolocation at runtime in the V8 bindings.
              Adds the [EnabledAtRuntime] modifier to the navigator IDL.
              https://bugs.webkit.org/show_bug.cgi?id=33467
      
              * public/WebRuntimeFeatures.h:
              * src/WebRuntimeFeatures.cpp:
              (WebKit::WebRuntimeFeatures::enableGeolocation):
              (WebKit::WebRuntimeFeatures::isGeolocationEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b15462d1
  19. 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
  20. 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
  21. 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
  22. 25 Nov, 2008 1 commit
  23. 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
  24. 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