Skip to content
  • commit-queue@webkit.org's avatar
    2010-10-29 Kavita Kanetkar <kkanetkar@chromium.org> · 39b6c6d1
    commit-queue@webkit.org authored
            Reviewed by Pavel Feldman.
    
            Web Inspector: FileSystem integration
            https://bugs.webkit.org/show_bug.cgi?id=45982
    
            Adding filesystem support for Inspector under storage tab. This fetches root paths for
            temporary and persistent filesystems and allows "reveal folder in OS" option that
            launches native file browser. Currently this feature is disabled for non-chromium platforms.
    
            * CMakeLists.txt:
            * English.lproj/localizedStrings.js:
            * GNUmakefile.am:
            * WebCore.gypi:
            * WebCore.pro:
            * WebCore.vcproj/WebCore.vcproj:
            * inspector/CodeGeneratorInspector.pm:
            * inspector/Inspector.idl:
            * inspector/InspectorController.cpp:
            (WebCore::InspectorController::connectFrontend):
            (WebCore::InspectorController::releaseFrontendLifetimeAgents):
            * inspector/InspectorController.h:
            (WebCore::InspectorController::fileSystemAgent):
            * inspector/InspectorFileSystemAgent.cpp: Added.
            * inspector/InspectorFileSystemAgent.h: Added.
            * inspector/front-end/FileSystemView.js: Added.
            * inspector/front-end/Settings.js:
            * inspector/front-end/StoragePanel.js:
            (WebInspector.StoragePanel):
            (WebInspector.StoragePanel.prototype.reset):
            (WebInspector.StoragePanel.prototype.addFileSystem):
            (WebInspector.StoragePanel.prototype.showFileSystem):
            (WebInspector.StoragePanel.prototype.updateFileSystemPath):
            (WebInspector.StoragePanel.prototype.updateFileSystemError):
            (WebInspector.FileSystemTreeElement):
            (WebInspector.FileSystemTreeElement.prototype.onselect):
            * inspector/front-end/WebKit.qrc:
            * inspector/front-end/inspector.css:
            (.file-system-storage-tree-item .icon):
            * inspector/front-end/inspector.html:
            * inspector/front-end/inspector.js:
            (WebInspector.updateResource):
            (WebInspector._addFileSystemOrigin):
            (WebInspector.didGetFileSystemPath):
            (WebInspector.didGetFileSystemError):
            (WebInspector.reset):
            * platform/AsyncFileSystem.h:
            (WebCore::AsyncFileSystem::root):
            * platform/FileSystem.h:
            * platform/chromium/ChromiumBridge.h:
            * platform/chromium/FileSystemChromium.cpp:
            (WebCore::revealFolderInOS):
    2010-10-29  Kavita Kanetkar  <kkanetkar@chromium.org>
    
            Reviewed by Pavel Feldman.
    
            Web Inspector: FileSystem integration
            https://bugs.webkit.org/show_bug.cgi?id=45982
    
            * public/WebFileUtilities.h:
            (WebKit::WebFileUtilities::revealFolderInOS):
            * src/ChromiumBridge.cpp:
            (WebCore::ChromiumBridge::revealFolderInOS):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    39b6c6d1