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. 24 Nov, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-11-24 Eric Uhrhane <ericu@chromium.org> · 61c3288f
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Implement FileWriterSync
              https://bugs.webkit.org/show_bug.cgi?id=49939
      
              Tests to follow in a separate CL, once the test framework in 47680 goes in.
      
              Build file changes to add FileWriterBase and FileWriterBaseCallback.
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
      
              FileWriterSync doesn't turn out to need to be an ActiveDOMObject.
              * bindings/scripts/CodeGeneratorV8.pm:
      
              Added new AsyncFileWriter::waitForOperationToComplete to enable
              synchronous calls.
              * fileapi/AsyncFileWriter.h:
      
              Added a way to get a FileSystemSync.
              * fileapi/DOMFileSystemSync.cpp:
              * fileapi/FileEntrySync.cpp:
              * fileapi/FileEntrySync.h:
              * fileapi/FileEntrySync.idl:
      
              Added an error code for OK, rather than just having 0 everywhere.
              * fileapi/FileError.h:
      
              Turned FileWriterCallback into FileWriterBaseCallback.
              * fileapi/FileSystemCallbacks.cpp:
              * fileapi/FileSystemCallbacks.h:
      
              Refactored out a common base class, FileWriterBase, for FileWriter and
              FileWriterSync.
              * fileapi/FileWriter.cpp:
              * fileapi/FileWriter.h:
              * fileapi/FileWriterBase.cpp: Added.
              * fileapi/FileWriterBase.h: Added.
              * fileapi/FileWriterBaseCallback.h: Added.
              * fileapi/FileWriterSync.cpp:
              * fileapi/FileWriterSync.h:
      
              Small tweaks to deal with the base class refactoring.
              * fileapi/DOMFileSystem.cpp:
              * fileapi/DOMFileSystemSync.h:
      
              Removed "CallWith=ScriptExecutionContext", as FileWriterSync doesn't actually need it.
              * fileapi/FileWriterSync.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61c3288f
  4. 09 Nov, 2010 2 commits
  5. 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
  6. 15 Oct, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-10-15 Kinuko Yasuda <kinuko@google.com> · a55b0f9a
      kinuko@chromium.org authored
              Reviewed by Jian Li.
      
              Implement FileEntrySync.file() in FileSystem API
              https://bugs.webkit.org/show_bug.cgi?id=47310
      
              Tests: fast/filesystem/workers/file-from-file-entry-sync.html
                     fast/filesystem/workers/file-from-file-entry.html
      
              * fileapi/DOMFileSystem.cpp:
              (WebCore::DOMFileSystem::createFile): Added.
              * fileapi/DOMFileSystem.h:
              * fileapi/DOMFileSystemSync.cpp:
              (WebCore::DOMFileSystemSync::createFile): Added.
              * fileapi/DOMFileSystemSync.h:
              * fileapi/DirectoryReaderBase.h: Added 'virtual path' comment.
              * fileapi/EntryBase.h: Added 'virtual path' comment.
              * fileapi/FileEntry.cpp:
              (WebCore::FileEntry::file): Changed to use DOMFileSystem::createFile.
              * fileapi/FileEntrySync.cpp:
              (WebCore::FileEntrySync::file): Implemented.
              * fileapi/FileEntrySync.h:
              * fileapi/FileEntrySync.idl: Added file().
      2010-10-15  Kinuko Yasuda  <kinuko@chromium.org>
      
              Reviewed by Jian Li.
      
              Implement FileEntrySync.file() in FileSystem API
              https://bugs.webkit.org/show_bug.cgi?id=47310
      
              * fast/filesystem/file-from-file-entry-expected.txt:
              * fast/filesystem/file-from-file-entry.html:
              * fast/filesystem/resources/file-from-file-entry-sync.js: Added.
              * fast/filesystem/resources/file-from-file-entry.js: Added.
              * fast/filesystem/script-tests/file-from-file-entry.js: Moved to
              resources to make it available for workers tests too.
              * fast/filesystem/workers/file-from-file-entry-expected.txt: Added.
              * fast/filesystem/workers/file-from-file-entry-sync-expected.txt: Added.
              * fast/filesystem/workers/file-from-file-entry-sync.html: Added.
              * fast/filesystem/workers/file-from-file-entry.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a55b0f9a
  7. 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
  8. 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
  9. 27 Aug, 2010 1 commit
    • kinuko@chromium.org's avatar
      2010-08-27 Kinuko Yasuda <kinuko@chromium.org> · df557d97
      kinuko@chromium.org authored
              Reviewed by Darin Fisher.
      
              Add AsyncFileSystem interface for platform-dependent FileSystem API implementation
              https://bugs.webkit.org/show_bug.cgi?id=44433
      
              No new tests; tests will be added later.
      
              * CMakeLists.txt:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * platform/AsyncFileSystem.cpp: Added.
              * platform/AsyncFileSystem.h: Added.
              * platform/AsyncFileSystemCallbacks.h: Added.
              * storage/DOMFileSystem.cpp:
              (WebCore::DOMFileSystem::DOMFileSystem):
              (WebCore::DOMFileSystem::~DOMFileSystem):
              (WebCore::DOMFileSystem::stop):
              (WebCore::DOMFileSystem::hasPendingActivity):
              (WebCore::DOMFileSystem::contextDestroyed):
              * storage/DOMFileSystem.h:
              (WebCore::DOMFileSystem::create):
              * storage/FileSystemCallbacks.cpp:
              (WebCore::FileSystemCallbacksBase::didFail):
              (WebCore::FileSystemCallbacks::FileSystemCallbacks):
              (WebCore::FileSystemCallbacks::didOpenFileSystem):
              * storage/FileSystemCallbacks.h:
              * storage/LocalFileSystem.cpp: Added.
              * storage/LocalFileSystem.h: Added.
      
              * storage/Flags.h: Nits fix.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df557d97
  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. 16 Jul, 2010 1 commit
    • mnaganov@chromium.org's avatar
      2010-07-16 Mikhail Naganov <mnaganov@chromium.org> · df0fa0d5
      mnaganov@chromium.org authored
      	Reviewed by Pavel Feldman.
      
      	Make JS memory stats available via 'Performance' object (Web Timing).
      	This statistics is populated only if 'WebKitMemoryInfoEnabled'
      	preference is set.
      
      	'console.memory' is kept until Web Timing object becomes visible by
      	default (currently it is hidden under compile-time flag).  These stats
      	are guarded with the same preference.
      
      	https://bugs.webkit.org/show_bug.cgi?id=41617
      
      	* bindings/js/JSConsoleCustom.cpp:
      	* bindings/v8/custom/V8ConsoleCustom.cpp:
      	* page/Console.cpp:
      	(WebCore::Console::disconnectFrame):
      	(WebCore::Console::memory):
      	* page/Console.h:
      	* page/Console.idl:
      	* page/MemoryInfo.cpp:
      	(WebCore::MemoryInfo::MemoryInfo):
      	* page/MemoryInfo.h:
      	(WebCore::MemoryInfo::create):
      	* page/Performance.cpp:
      	(WebCore::Performance::disconnectFrame):
      	(WebCore::Performance::memory):
      	* page/Performance.h:
      	* page/Performance.idl:
      	* page/Settings.cpp:
      	(WebCore::Settings::Settings):
      	* page/Settings.h:
      	(WebCore::Settings::setMemoryInfoEnabled):
      	(WebCore::Settings::memoryInfoEnabled):
      
      	* public/WebSettings.h:
      	* src/WebSettingsImpl.cpp:
      	(WebKit::WebSettingsImpl::setMemoryInfoEnabled):
      	* src/WebSettingsImpl.h:
      
      	* WebKit.order:
      	* WebView/WebPreferenceKeysPrivate.h:
      	* WebView/WebPreferences.mm:
      	(+[WebPreferences initialize]):
      	(-[WebPreferences memoryInfoEnabled]):
      	(-[WebPreferences setMemoryInfoEnabled:]):
      	* WebView/WebPreferencesPrivate.h:
      	* WebView/WebView.mm:
      	(-[WebView _preferencesChangedNotification:]):
      
      	* Interfaces/IWebPreferencesPrivate.idl:
      	* WebPreferenceKeysPrivate.h:
      	* WebPreferences.cpp:
      	(WebPreferences::initializeDefaultSettings):
      	(WebPreferences::memoryInfoEnabled):
      	(WebPreferences::setMemoryInfoEnabled):
      	* WebPreferences.h:
      	* WebView.cpp:
      	(WebView::notifyPreferencesChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df0fa0d5
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 25 Nov, 2008 1 commit
  20. 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
  21. 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