-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=126995 Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-01-14 Reviewed by Timothy Hatcher. Source/JavaScriptCore: * inspector/remote/RemoteInspector.mm: (Inspector::RemoteInspector::listingForDebuggable): For each WebView, list the parent process. Listing the parent per WebView is already supported back when we supported processes that could host WebViews for multiple applications. * inspector/remote/RemoteInspectorConstants.h: Add a separate key for the bundle identifier, separate from application identifier. * inspector/remote/RemoteInspectorDebuggable.cpp: (Inspector::RemoteInspectorDebuggable::info): * inspector/remote/RemoteInspectorDebuggable.h: (Inspector::RemoteInspectorDebuggableInfo::RemoteInspectorDebuggableInfo): (Inspector::RemoteInspectorDebuggableInfo::hasParentProcess): If a RemoteInspectorDebuggable has a non-zero parent process identifier it is a proxy for the parent process. Source/WebCore: * inspector/InspectorClient.h: (WebCore::InspectorClient::parentProcessIdentifier): Client method intended for WebKit2 so a WebProcess can link to its UIProcess. * page/PageDebuggable.h: * page/PageDebuggable.cpp: (WebCore::PageDebuggable::parentProcessIdentifier): Provide parent process identifier if there is one. Source/WebKit2: * WebProcess/WebCoreSupport/WebInspectorClient.h: * WebProcess/WebCoreSupport/WebInspectorClient.cpp: (WebKit::WebInspectorClient::parentProcessIdentifier): WebProcesses are proxies for a parent UIProcess. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12b3ee6a