Changeset 86645 in webkit
- Timestamp:
- May 16, 2011 5:53:52 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r86642 r86645 1 2011-05-16 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Jon Honeycutt. 4 5 Add access to process pid in WebKit2 API 6 https://bugs.webkit.org/show_bug.cgi?id=60938 7 8 * UIProcess/API/C/mac/WKPagePrivateMac.cpp: Added. 9 (WKPageGetProcessIdentifier): 10 * UIProcess/API/C/mac/WKPagePrivateMac.h: Added. 11 * UIProcess/WebPageProxy.cpp: 12 (WebKit::WebPageProxy::processIdentifier): 13 * UIProcess/WebPageProxy.h: 14 * WebKit2.xcodeproj/project.pbxproj: 15 Add WKPageGetProcessIdentifier as SPI for the mac. 16 1 17 2011-05-16 Martin Robinson <mrobinson@igalia.com> 2 18 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r86612 r86645 187 187 } 188 188 189 PlatformProcessIdentifier WebPageProxy::processIdentifier() const 190 { 191 if (!m_process) 192 return 0; 193 194 return m_process->processIdentifier(); 195 } 196 189 197 bool WebPageProxy::isValid() 190 198 { -
trunk/Source/WebKit2/UIProcess/WebPageProxy.h
r86612 r86645 34 34 #include "EditorState.h" 35 35 #include "GeolocationPermissionRequestManagerProxy.h" 36 #include "PlatformProcessIdentifier.h" 36 37 #include "SandboxExtension.h" 37 38 #include "SharedMemory.h" … … 456 457 457 458 WebProcessProxy* process() const; 459 PlatformProcessIdentifier processIdentifier() const; 458 460 459 461 WebPageGroup* pageGroup() const { return m_pageGroup.get(); } -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r86489 r86645 710 710 BCDE093D13272496001259FB /* PluginProcessShim.dylib in Copy Plug-in Process Shim */ = {isa = PBXBuildFile; fileRef = 1AC25FB012A48EA700BD2671 /* PluginProcessShim.dylib */; }; 711 711 BCDE0ABF13272708001259FB /* PluginProcess.app in CopyFiles */ = {isa = PBXBuildFile; fileRef = BCDE094213272496001259FB /* PluginProcess.app */; }; 712 BCE17B7D1381F1170012A641 /* WKPagePrivateMac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCE17B7B1381F1170012A641 /* WKPagePrivateMac.cpp */; }; 713 BCE17B7E1381F1170012A641 /* WKPagePrivateMac.h in Headers */ = {isa = PBXBuildFile; fileRef = BCE17B7C1381F1170012A641 /* WKPagePrivateMac.h */; }; 712 714 BCE2315D122C30CA00D5C35A /* WebURLRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = BCE2315B122C30CA00D5C35A /* WebURLRequest.h */; }; 713 715 BCE2315E122C30CA00D5C35A /* WebURLRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCE2315C122C30CA00D5C35A /* WebURLRequest.cpp */; }; … … 1621 1623 BCDE059A11CDA8AE00E41AF1 /* WebContextInjectedBundleClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebContextInjectedBundleClient.cpp; sourceTree = "<group>"; }; 1622 1624 BCDE094213272496001259FB /* PluginProcess.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PluginProcess.app; sourceTree = BUILT_PRODUCTS_DIR; }; 1625 BCE17B7B1381F1170012A641 /* WKPagePrivateMac.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = WKPagePrivateMac.cpp; path = mac/WKPagePrivateMac.cpp; sourceTree = "<group>"; }; 1626 BCE17B7C1381F1170012A641 /* WKPagePrivateMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WKPagePrivateMac.h; path = mac/WKPagePrivateMac.h; sourceTree = "<group>"; }; 1623 1627 BCE2315B122C30CA00D5C35A /* WebURLRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebURLRequest.h; sourceTree = "<group>"; }; 1624 1628 BCE2315C122C30CA00D5C35A /* WebURLRequest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebURLRequest.cpp; sourceTree = "<group>"; }; … … 2408 2412 children = ( 2409 2413 6EE849C61368D92D0038D481 /* WKInspectorMac.h */, 2414 BCE17B7B1381F1170012A641 /* WKPagePrivateMac.cpp */, 2415 BCE17B7C1381F1170012A641 /* WKPagePrivateMac.h */, 2410 2416 ); 2411 2417 name = mac; … … 3727 3733 1A7C6CDB1378950800B9C04D /* EnvironmentVariables.h in Headers */, 3728 3734 1A179780137EE82C00F97D45 /* PluginCreationParameters.h in Headers */, 3735 BCE17B7E1381F1170012A641 /* WKPagePrivateMac.h in Headers */, 3729 3736 ); 3730 3737 runOnlyForDeploymentPostprocessing = 0; … … 4360 4367 1A7C6CDA1378950800B9C04D /* EnvironmentVariables.cpp in Sources */, 4361 4368 1A17977F137EE82C00F97D45 /* PluginCreationParameters.cpp in Sources */, 4369 BCE17B7D1381F1170012A641 /* WKPagePrivateMac.cpp in Sources */, 4362 4370 ); 4363 4371 runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset
for help on using the changeset viewer.