Skip to content
  • commit-queue@webkit.org's avatar
    [iOS] Clean up REMOTE_INSPECTOR code in OpenSource after the iOS merge · 3bffb341
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=127069
    
    Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-01-15
    Reviewed by Timothy Hatcher.
    
    Source/JavaScriptCore:
    
    * JavaScriptCore.xcodeproj/project.pbxproj:
    Export XPCConnection because it is needed by RemoteInspector.h.
    
    * inspector/remote/RemoteInspectorXPCConnection.h:
    * inspector/remote/RemoteInspector.h:
    * inspector/remote/RemoteInspector.mm:
    (Inspector::RemoteInspector::startDisabled):
    (Inspector::RemoteInspector::shared):
    Allow RemoteInspector singleton to start disabled.
    
    Source/WebCore:
    
    * WebCore.exp.in:
    
    Source/WebKit/mac:
    
    * WebView/WebView.mm:
    (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
    (+[WebView _enableRemoteInspector]):
    (+[WebView _disableRemoteInspector]):
    (+[WebView _disableAutoStartRemoteInspector]):
    (+[WebView _isRemoteInspectorEnabled]):
    (+[WebView _hasRemoteInspectorSession]):
    (-[WebView allowsRemoteInspection]):
    Implement with RemoteInspector.h SPIs.
    
    (-[WebView setAllowsRemoteInspection:]):
    (-[WebView setHostApplicationBundleId:name:]):
    Still unimplemented, update comment.
    
    (-[WebView _didCommitLoadForFrame:]):
    Remove dead path, WebCore now pushes updates on navigations.
    
    * WebView/WebViewData.h:
    * WebView/WebViewData.mm:
    (-[WebViewPrivate init]):
    Remove now unused ivar.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3bffb341