<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[201689] trunk/Source/WebKit</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/201689">201689</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2016-06-04 15:48:07 -0700 (Sat, 04 Jun 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Remove NPSPI that is no longer used
https://bugs.webkit.org/show_bug.cgi?id=158384
Reviewed by Sam Weinig.
Source/WebKit:
* WebKit.xcodeproj/project.pbxproj:
Source/WebKit/mac:
* Configurations/WebKitLegacy.xcconfig:
* Plugins/Hosted/NetscapePluginHostProxy.mm:
(WKPCCheckIfAllowedToLoadURL): Deleted.
(WKPCCancelCheckIfAllowedToLoadURL): Deleted.
(WKPCResolveURL): Deleted.
* Plugins/Hosted/NetscapePluginInstanceProxy.h:
* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::NetscapePluginInstanceProxy): Deleted.
(WebKit::NetscapePluginInstanceProxy::checkIfAllowedToLoadURL): Deleted.
(WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL): Deleted.
(WebKit::NetscapePluginInstanceProxy::checkIfAllowedToLoadURLResult): Deleted.
(WebKit::NetscapePluginInstanceProxy::resolveURL): Deleted.
* Plugins/Hosted/WebHostedNetscapePluginView.h:
* Plugins/Hosted/WebHostedNetscapePluginView.mm:
(-[WebHostedNetscapePluginView _webPluginContainerCancelCheckIfAllowedToLoadRequest:]): Deleted.
(-[WebHostedNetscapePluginView _containerCheckResult:contextInfo:]): Deleted.
* Plugins/Hosted/WebKitPluginClient.defs:
* Plugins/WebBaseNetscapePluginView.h:
* Plugins/WebBaseNetscapePluginView.mm:
(-[WebBaseNetscapePluginView resolvedURLStringForURL:target:]): Deleted.
* Plugins/WebNetscapeContainerCheckContextInfo.h: Removed.
* Plugins/WebNetscapeContainerCheckContextInfo.mm: Removed.
(-[WebNetscapeContainerCheckContextInfo initWithCheckRequestID:callbackFunc:context:]): Deleted.
(-[WebNetscapeContainerCheckContextInfo checkRequestID]): Deleted.
(-[WebNetscapeContainerCheckContextInfo callback]): Deleted.
(-[WebNetscapeContainerCheckContextInfo context]): Deleted.
* Plugins/WebNetscapeContainerCheckPrivate.h: Removed.
* Plugins/WebNetscapeContainerCheckPrivate.mm: Removed.
(browserContainerCheckFuncs): Deleted.
* Plugins/WebNetscapePluginView.h:
* Plugins/WebNetscapePluginView.mm:
(-[WebNetscapePluginView checkIfAllowedToLoadURL:frame:callbackFunc:context:]): Deleted.
(-[WebNetscapePluginView _containerCheckResult:contextInfo:]): Deleted.
(-[WebNetscapePluginView cancelCheckIfAllowedToLoadURL:]): Deleted.
(-[WebNetscapePluginView _webPluginContainerCancelCheckIfAllowedToLoadRequest:]): Deleted.
(-[WebNetscapePluginView fini]): Deleted.
(-[WebNetscapePluginView getVariable:value:]): Deleted.
(-[WebNetscapePluginView resolveURL:forTarget:]): Deleted.
* Plugins/npapi.mm:
(WKN_CheckIfAllowedToLoadURL): Deleted.
(WKN_CancelCheckIfAllowedToLoadURL): Deleted.
(WKN_ResolveURL): Deleted.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitWebKitxcodeprojprojectpbxproj">trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacConfigurationsWebKitLegacyxcconfig">trunk/Source/WebKit/mac/Configurations/WebKitLegacy.xcconfig</a></li>
<li><a href="#trunkSourceWebKitmacPluginsHostedNetscapePluginHostProxymm">trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginHostProxy.mm</a></li>
<li><a href="#trunkSourceWebKitmacPluginsHostedNetscapePluginInstanceProxyh">trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.h</a></li>
<li><a href="#trunkSourceWebKitmacPluginsHostedNetscapePluginInstanceProxymm">trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm</a></li>
<li><a href="#trunkSourceWebKitmacPluginsHostedWebHostedNetscapePluginViewh">trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.h</a></li>
<li><a href="#trunkSourceWebKitmacPluginsHostedWebHostedNetscapePluginViewmm">trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm</a></li>
<li><a href="#trunkSourceWebKitmacPluginsHostedWebKitPluginClientdefs">trunk/Source/WebKit/mac/Plugins/Hosted/WebKitPluginClient.defs</a></li>
<li><a href="#trunkSourceWebKitmacPluginsWebBaseNetscapePluginViewh">trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.h</a></li>
<li><a href="#trunkSourceWebKitmacPluginsWebBaseNetscapePluginViewmm">trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.mm</a></li>
<li><a href="#trunkSourceWebKitmacPluginsWebNetscapePluginViewh">trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.h</a></li>
<li><a href="#trunkSourceWebKitmacPluginsWebNetscapePluginViewmm">trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.mm</a></li>
<li><a href="#trunkSourceWebKitmacPluginsnpapimm">trunk/Source/WebKit/mac/Plugins/npapi.mm</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebKitmacPluginsWebNetscapeContainerCheckContextInfoh">trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckContextInfo.h</a></li>
<li><a href="#trunkSourceWebKitmacPluginsWebNetscapeContainerCheckContextInfomm">trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckContextInfo.mm</a></li>
<li><a href="#trunkSourceWebKitmacPluginsWebNetscapeContainerCheckPrivateh">trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckPrivate.h</a></li>
<li><a href="#trunkSourceWebKitmacPluginsWebNetscapeContainerCheckPrivatemm">trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckPrivate.mm</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/ChangeLog        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2016-06-04 Anders Carlsson <andersca@apple.com>
+
+ Remove NPSPI that is no longer used
+ https://bugs.webkit.org/show_bug.cgi?id=158384
+
+ Reviewed by Sam Weinig.
+
+ * WebKit.xcodeproj/project.pbxproj:
+
</ins><span class="cx"> 2016-06-03 Chris Dumez <cdumez@apple.com>
</span><span class="cx">
</span><span class="cx"> Modernize a few more lambda captures
</span></span></pre></div>
<a id="trunkSourceWebKitWebKitxcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -15,10 +15,6 @@
</span><span class="cx">                 070F549C17F1E42B00169E04 /* WebUserMediaClient.mm in Sources */ = {isa = PBXBuildFile; fileRef = 070F549A17F1E42B00169E04 /* WebUserMediaClient.mm */; };
</span><span class="cx">                 072E5F451ABF88750003B164 /* WebMediaPlaybackTargetPicker.h in Headers */ = {isa = PBXBuildFile; fileRef = 072E5F431ABF88750003B164 /* WebMediaPlaybackTargetPicker.h */; };
</span><span class="cx">                 072E5F461ABF88750003B164 /* WebMediaPlaybackTargetPicker.mm in Sources */ = {isa = PBXBuildFile; fileRef = 072E5F441ABF88750003B164 /* WebMediaPlaybackTargetPicker.mm */; };
</span><del>-                0AB752370FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 0AB752350FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.h */; };
-                0AB752380FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0AB752360FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.mm */; };
-                0AEBFF630F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 0AEBFF610F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
-                0AEBFF640F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0AEBFF620F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.mm */; };
</del><span class="cx">                 1430C12C1B2C5DF700DEA01D /* WebViewGroup.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1430C12A1B2C5DF700DEA01D /* WebViewGroup.cpp */; };
</span><span class="cx">                 1430C12D1B2C5DF700DEA01D /* WebViewGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 1430C12B1B2C5DF700DEA01D /* WebViewGroup.h */; };
</span><span class="cx">                 14D8252F0AF955090004F057 /* WebChromeClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 14D8252D0AF955090004F057 /* WebChromeClient.h */; };
</span><span class="lines">@@ -474,10 +470,6 @@
</span><span class="cx">                 070F549A17F1E42B00169E04 /* WebUserMediaClient.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebUserMediaClient.mm; sourceTree = "<group>"; };
</span><span class="cx">                 072E5F431ABF88750003B164 /* WebMediaPlaybackTargetPicker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebMediaPlaybackTargetPicker.h; sourceTree = "<group>"; };
</span><span class="cx">                 072E5F441ABF88750003B164 /* WebMediaPlaybackTargetPicker.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebMediaPlaybackTargetPicker.mm; sourceTree = "<group>"; };
</span><del>-                0AB752350FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebNetscapeContainerCheckContextInfo.h; sourceTree = "<group>"; };
-                0AB752360FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebNetscapeContainerCheckContextInfo.mm; sourceTree = "<group>"; };
-                0AEBFF610F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 4; path = WebNetscapeContainerCheckPrivate.h; sourceTree = "<group>"; };
-                0AEBFF620F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebNetscapeContainerCheckPrivate.mm; sourceTree = "<group>"; };
</del><span class="cx">                 1430C12A1B2C5DF700DEA01D /* WebViewGroup.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; name = WebViewGroup.cpp; path = WebCoreSupport/WebViewGroup.cpp; sourceTree = SOURCE_ROOT; };
</span><span class="cx">                 1430C12B1B2C5DF700DEA01D /* WebViewGroup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebViewGroup.h; path = WebCoreSupport/WebViewGroup.h; sourceTree = SOURCE_ROOT; };
</span><span class="cx">                 14D8252D0AF955090004F057 /* WebChromeClient.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = WebChromeClient.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -1286,10 +1278,6 @@
</span><span class="cx">                                 F5F717230288493C018635CA /* npapi.mm */,
</span><span class="cx">                                 1A4DF5E20EC8D104006BD4B4 /* WebBaseNetscapePluginView.h */,
</span><span class="cx">                                 1A4DF5E30EC8D104006BD4B4 /* WebBaseNetscapePluginView.mm */,
</span><del>-                                0AB752350FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.h */,
-                                0AB752360FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.mm */,
-                                0AEBFF610F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.h */,
-                                0AEBFF620F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.mm */,
</del><span class="cx">                                 F5F7171E0288493C018635CA /* WebNetscapePluginPackage.h */,
</span><span class="cx">                                 F5F7171F0288493C018635CA /* WebNetscapePluginPackage.mm */,
</span><span class="cx">                                 F5A672B90263866E01000102 /* WebNetscapePluginStream.h */,
</span><span class="lines">@@ -1872,8 +1860,6 @@
</span><span class="cx">                                 072E5F451ABF88750003B164 /* WebMediaPlaybackTargetPicker.h in Headers */,
</span><span class="cx">                                 A10C1D721820300E0036883A /* WebMIMETypeRegistry.h in Headers */,
</span><span class="cx">                                 5185F62610712B80007AA393 /* WebNavigationData.h in Headers */,
</span><del>-                                0AB752370FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.h in Headers */,
-                                0AEBFF630F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.h in Headers */,
</del><span class="cx">                                 1AEA66D40DC6B1FF003D12BF /* WebNetscapePluginEventHandler.h in Headers */,
</span><span class="cx">                                 1AEA66D80DC6B209003D12BF /* WebNetscapePluginEventHandlerCarbon.h in Headers */,
</span><span class="cx">                                 1AEA6A500DC8CE2F003D12BF /* WebNetscapePluginEventHandlerCocoa.h in Headers */,
</span><span class="lines">@@ -2280,8 +2266,6 @@
</span><span class="cx">                                 072E5F461ABF88750003B164 /* WebMediaPlaybackTargetPicker.mm in Sources */,
</span><span class="cx">                                 A10C1D731820300E0036883A /* WebMIMETypeRegistry.mm in Sources */,
</span><span class="cx">                                 5185F62810712B97007AA393 /* WebNavigationData.mm in Sources */,
</span><del>-                                0AB752380FA2E4DB00D7CBB1 /* WebNetscapeContainerCheckContextInfo.mm in Sources */,
-                                0AEBFF640F9FA8BE000D486B /* WebNetscapeContainerCheckPrivate.mm in Sources */,
</del><span class="cx">                                 1AEA66D50DC6B1FF003D12BF /* WebNetscapePluginEventHandler.mm in Sources */,
</span><span class="cx">                                 1AEA66D90DC6B209003D12BF /* WebNetscapePluginEventHandlerCarbon.mm in Sources */,
</span><span class="cx">                                 1AEA6A510DC8CE2F003D12BF /* WebNetscapePluginEventHandlerCocoa.mm in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/ChangeLog        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -1,5 +1,55 @@
</span><span class="cx"> 2016-06-04 Anders Carlsson <andersca@apple.com>
</span><span class="cx">
</span><ins>+ Remove NPSPI that is no longer used
+ https://bugs.webkit.org/show_bug.cgi?id=158384
+
+ Reviewed by Sam Weinig.
+
+ * Configurations/WebKitLegacy.xcconfig:
+ * Plugins/Hosted/NetscapePluginHostProxy.mm:
+ (WKPCCheckIfAllowedToLoadURL): Deleted.
+ (WKPCCancelCheckIfAllowedToLoadURL): Deleted.
+ (WKPCResolveURL): Deleted.
+ * Plugins/Hosted/NetscapePluginInstanceProxy.h:
+ * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
+ (WebKit::NetscapePluginInstanceProxy::NetscapePluginInstanceProxy): Deleted.
+ (WebKit::NetscapePluginInstanceProxy::checkIfAllowedToLoadURL): Deleted.
+ (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL): Deleted.
+ (WebKit::NetscapePluginInstanceProxy::checkIfAllowedToLoadURLResult): Deleted.
+ (WebKit::NetscapePluginInstanceProxy::resolveURL): Deleted.
+ * Plugins/Hosted/WebHostedNetscapePluginView.h:
+ * Plugins/Hosted/WebHostedNetscapePluginView.mm:
+ (-[WebHostedNetscapePluginView _webPluginContainerCancelCheckIfAllowedToLoadRequest:]): Deleted.
+ (-[WebHostedNetscapePluginView _containerCheckResult:contextInfo:]): Deleted.
+ * Plugins/Hosted/WebKitPluginClient.defs:
+ * Plugins/WebBaseNetscapePluginView.h:
+ * Plugins/WebBaseNetscapePluginView.mm:
+ (-[WebBaseNetscapePluginView resolvedURLStringForURL:target:]): Deleted.
+ * Plugins/WebNetscapeContainerCheckContextInfo.h: Removed.
+ * Plugins/WebNetscapeContainerCheckContextInfo.mm: Removed.
+ (-[WebNetscapeContainerCheckContextInfo initWithCheckRequestID:callbackFunc:context:]): Deleted.
+ (-[WebNetscapeContainerCheckContextInfo checkRequestID]): Deleted.
+ (-[WebNetscapeContainerCheckContextInfo callback]): Deleted.
+ (-[WebNetscapeContainerCheckContextInfo context]): Deleted.
+ * Plugins/WebNetscapeContainerCheckPrivate.h: Removed.
+ * Plugins/WebNetscapeContainerCheckPrivate.mm: Removed.
+ (browserContainerCheckFuncs): Deleted.
+ * Plugins/WebNetscapePluginView.h:
+ * Plugins/WebNetscapePluginView.mm:
+ (-[WebNetscapePluginView checkIfAllowedToLoadURL:frame:callbackFunc:context:]): Deleted.
+ (-[WebNetscapePluginView _containerCheckResult:contextInfo:]): Deleted.
+ (-[WebNetscapePluginView cancelCheckIfAllowedToLoadURL:]): Deleted.
+ (-[WebNetscapePluginView _webPluginContainerCancelCheckIfAllowedToLoadRequest:]): Deleted.
+ (-[WebNetscapePluginView fini]): Deleted.
+ (-[WebNetscapePluginView getVariable:value:]): Deleted.
+ (-[WebNetscapePluginView resolveURL:forTarget:]): Deleted.
+ * Plugins/npapi.mm:
+ (WKN_CheckIfAllowedToLoadURL): Deleted.
+ (WKN_CancelCheckIfAllowedToLoadURL): Deleted.
+ (WKN_ResolveURL): Deleted.
+
+2016-06-04 Anders Carlsson <andersca@apple.com>
+
</ins><span class="cx"> Temporary build fix. (This function is going away).
</span><span class="cx">
</span><span class="cx"> * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
</span></span></pre></div>
<a id="trunkSourceWebKitmacConfigurationsWebKitLegacyxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Configurations/WebKitLegacy.xcconfig (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Configurations/WebKitLegacy.xcconfig        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Configurations/WebKitLegacy.xcconfig        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -24,7 +24,7 @@
</span><span class="cx"> #include "FeatureDefines.xcconfig"
</span><span class="cx"> #include "Version.xcconfig"
</span><span class="cx">
</span><del>-EXCLUDED_SOURCE_FILE_NAMES[sdk=iphone*] = *.defs *.nib *.pdf *.tiff CarbonUtils.m CarbonWindowAdapter.mm CarbonWindowContentView.m CarbonWindowFrame.m HIViewAdapter.m HIWebView.mm OutlookQuirksUserScript.js PopupMenuMac.mm SearchPopupMenuMac.mm WebClipView.* WebDashboardRegion.* WebDynamicScrollBarsView.* WebIconDatabase.* WebIconDatabasePrivate.* WebInspectorClient.mm WebJavaScriptTextInputPanel.* WebKeyGenerator.* WebNetscapeContainerCheckContextInfo.* WebNetscapeContainerCheckPrivate.* WebNSEventExtras.* WebNSPasteboardExtras.* WebNSWindowExtras.* WebPanelAuthenticationHandler.* WebPluginsPrivate.* WebStringTruncator.* WebTextCompletionController.*;
</del><ins>+EXCLUDED_SOURCE_FILE_NAMES[sdk=iphone*] = *.defs *.nib *.pdf *.tiff CarbonUtils.m CarbonWindowAdapter.mm CarbonWindowContentView.m CarbonWindowFrame.m HIViewAdapter.m HIWebView.mm OutlookQuirksUserScript.js PopupMenuMac.mm SearchPopupMenuMac.mm WebClipView.* WebDashboardRegion.* WebDynamicScrollBarsView.* WebIconDatabase.* WebIconDatabasePrivate.* WebInspectorClient.mm WebJavaScriptTextInputPanel.* WebKeyGenerator.* WebNSEventExtras.* WebNSPasteboardExtras.* WebNSWindowExtras.* WebPanelAuthenticationHandler.* WebPluginsPrivate.* WebStringTruncator.* WebTextCompletionController.*;
</ins><span class="cx"> EXCLUDED_SOURCE_FILE_NAMES[sdk=macosx*] = *IOS.mm MemoryMeasure.h WebCaretChangeListener.h WebFixedPositionContent.h WebFrameIOS.h WebFrameIPhone.h WebGeolocationCoreLocationProvider.h WebGeolocationPrivate.h WebGeolocationProviderIOS.h WebMIMETypeRegistry.h WebNSStringExtrasIOS.h WebNSStringExtrasIPhone.h WebPDFViewIOS.h WebPDFViewIPhone.h WebPDFViewPlaceholder.h WebSelectionRect.h WebUIKitDelegate.h WebUIKitSupport.h WebVisiblePosition.h;
</span><span class="cx">
</span><span class="cx"> EXPORTED_SYMBOLS_FILE = $(EXPORTED_SYMBOLS_FILE_$(CURRENT_ARCH));
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsHostedNetscapePluginHostProxymm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginHostProxy.mm (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginHostProxy.mm        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginHostProxy.mm        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -1103,60 +1103,7 @@
</span><span class="cx"> return KERN_SUCCESS;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-kern_return_t WKPCCheckIfAllowedToLoadURL(mach_port_t clientPort, uint32_t pluginID, data_t urlData, mach_msg_type_number_t urlLength,
- data_t targetData, mach_msg_type_number_t targetLength, uint32_t *checkID)
-{
- DataDeallocator urlDeallocator(urlData, urlLength);
- DataDeallocator targetDeallocator(targetData, targetLength);
</del><span class="cx">
</span><del>- NetscapePluginHostProxy* hostProxy = pluginProxyMap().get(clientPort);
- if (!hostProxy)
- return KERN_FAILURE;
-
- NetscapePluginInstanceProxy* instanceProxy = hostProxy->pluginInstance(pluginID);
- if (!instanceProxy)
- return KERN_FAILURE;
-
- *checkID = instanceProxy->checkIfAllowedToLoadURL(urlData, targetData);
- return KERN_SUCCESS;
-}
-
-kern_return_t WKPCCancelCheckIfAllowedToLoadURL(mach_port_t clientPort, uint32_t pluginID, uint32_t checkID)
-{
- NetscapePluginHostProxy* hostProxy = pluginProxyMap().get(clientPort);
- if (!hostProxy)
- return KERN_FAILURE;
-
- NetscapePluginInstanceProxy* instanceProxy = hostProxy->pluginInstance(pluginID);
- if (!instanceProxy)
- return KERN_FAILURE;
-
- instanceProxy->cancelCheckIfAllowedToLoadURL(checkID);
- return KERN_SUCCESS;
-}
-
-kern_return_t WKPCResolveURL(mach_port_t clientPort, uint32_t pluginID, data_t urlData, mach_msg_type_number_t urlLength,
- data_t targetData, mach_msg_type_number_t targetLength,
- data_t *resolvedURLData, mach_msg_type_number_t *resolvedURLLength)
-{
- DataDeallocator urlDeallocator(urlData, urlLength);
- DataDeallocator targetDeallocator(targetData, targetLength);
-
- *resolvedURLData = 0;
- *resolvedURLLength = 0;
-
- NetscapePluginHostProxy* hostProxy = pluginProxyMap().get(clientPort);
- if (!hostProxy)
- return KERN_FAILURE;
-
- NetscapePluginInstanceProxy* instanceProxy = hostProxy->pluginInstance(pluginID);
- if (!instanceProxy)
- return KERN_FAILURE;
-
- instanceProxy->resolveURL(urlData, targetData, *resolvedURLData, *resolvedURLLength);
- return KERN_SUCCESS;
-}
-
</del><span class="cx"> kern_return_t WKPCSetException(mach_port_t clientPort, data_t message, mach_msg_type_number_t messageCnt)
</span><span class="cx"> {
</span><span class="cx"> DataDeallocator deallocator(message, messageCnt);
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsHostedNetscapePluginInstanceProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.h (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.h        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.h        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -162,13 +162,7 @@
</span><span class="cx"> bool shouldStop();
</span><span class="cx">
</span><span class="cx"> uint32_t nextRequestID();
</span><del>-
- uint32_t checkIfAllowedToLoadURL(const char* url, const char* target);
- void cancelCheckIfAllowedToLoadURL(uint32_t checkID);
- void checkIfAllowedToLoadURLResult(uint32_t checkID, bool allowed);
</del><span class="cx">
</span><del>- void resolveURL(const char* url, const char* target, data_t& resolvedURLData, mach_msg_type_number_t& resolvedURLLength);
-
</del><span class="cx"> void didDraw();
</span><span class="cx"> void privateBrowsingModeDidChange(bool isPrivateBrowsingEnabled);
</span><span class="cx">
</span><span class="lines">@@ -343,10 +337,6 @@
</span><span class="cx"> typedef HashSet<ProxyInstance*> ProxyInstanceSet;
</span><span class="cx"> ProxyInstanceSet m_instances;
</span><span class="cx">
</span><del>- uint32_t m_urlCheckCounter;
- typedef HashMap<uint32_t, RetainPtr<id>> URLCheckMap;
- URLCheckMap m_urlChecks;
-
</del><span class="cx"> unsigned m_pluginFunctionCallDepth;
</span><span class="cx"> bool m_shouldStopSoon;
</span><span class="cx"> uint32_t m_currentRequestID;
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsHostedNetscapePluginInstanceProxymm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -223,7 +223,6 @@
</span><span class="cx"> , m_renderContextID(0)
</span><span class="cx"> , m_rendererType(UseSoftwareRenderer)
</span><span class="cx"> , m_waitingForReply(false)
</span><del>- , m_urlCheckCounter(0)
</del><span class="cx"> , m_pluginFunctionCallDepth(0)
</span><span class="cx"> , m_shouldStopSoon(false)
</span><span class="cx"> , m_currentRequestID(0)
</span><span class="lines">@@ -1607,58 +1606,6 @@
</span><span class="cx"> return [m_pluginView convertFromX:sourceX andY:sourceY space:sourceSpace toX:&destX andY:&destY space:destSpace];
</span><span class="cx"> }
</span><span class="cx">
</span><del>-uint32_t NetscapePluginInstanceProxy::checkIfAllowedToLoadURL(const char* url, const char* target)
-{
- uint32_t checkID;
-
- // Assign a check ID
- do {
- checkID = ++m_urlCheckCounter;
- } while (m_urlChecks.contains(checkID) || !m_urlCheckCounter);
-
- NSString *frameName = target ? [NSString stringWithCString:target encoding:NSISOLatin1StringEncoding] : nil;
-
- NSNumber *contextInfo = [[NSNumber alloc] initWithUnsignedInt:checkID];
- WebPluginContainerCheck *check = [WebPluginContainerCheck checkWithRequest:[m_pluginView requestWithURLCString:url]
- target:frameName
- resultObject:m_pluginView
- selector:@selector(_containerCheckResult:contextInfo:)
- controller:m_pluginView
- contextInfo:contextInfo];
-
- [contextInfo release];
- m_urlChecks.set(checkID, check);
- [check start];
-
- return checkID;
-}
-
-void NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL(uint32_t checkID)
-{
- URLCheckMap::iterator it = m_urlChecks.find(checkID);
- if (it == m_urlChecks.end())
- return;
-
- WebPluginContainerCheck *check = it->value.get();
- [check cancel];
- m_urlChecks.remove(it);
-}
-
-void NetscapePluginInstanceProxy::checkIfAllowedToLoadURLResult(uint32_t checkID, bool allowed)
-{
-}
-
-void NetscapePluginInstanceProxy::resolveURL(const char* url, const char* target, data_t& resolvedURLData, mach_msg_type_number_t& resolvedURLLength)
-{
- ASSERT(m_pluginView);
-
- WTF::CString resolvedURL = [m_pluginView resolvedURLStringForURL:url target:target];
-
- resolvedURLLength = resolvedURL.length();
- mig_allocate(reinterpret_cast<vm_address_t*>(&resolvedURLData), resolvedURLLength);
- memcpy(resolvedURLData, resolvedURL.data(), resolvedURLLength);
-}
-
</del><span class="cx"> void NetscapePluginInstanceProxy::privateBrowsingModeDidChange(bool isPrivateBrowsingEnabled)
</span><span class="cx"> {
</span><span class="cx"> _WKPHPluginInstancePrivateBrowsingModeDidChange(m_pluginHostProxy->port(), m_pluginID, isPrivateBrowsingEnabled);
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsHostedWebHostedNetscapePluginViewh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.h (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.h        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.h        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> class NetscapePluginInstanceProxy;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-@interface WebHostedNetscapePluginView : WebBaseNetscapePluginView<WebPluginManualLoader, WebPluginContainerCheckController>
</del><ins>+@interface WebHostedNetscapePluginView : WebBaseNetscapePluginView<WebPluginManualLoader>
</ins><span class="cx"> {
</span><span class="cx"> RetainPtr<NSArray> _attributeKeys;
</span><span class="cx"> RetainPtr<NSArray> _attributeValues;
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsHostedWebHostedNetscapePluginViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -515,30 +515,6 @@
</span><span class="cx"> manualStream->didFinishLoading(0);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-- (void)_webPluginContainerCancelCheckIfAllowedToLoadRequest:(id)webPluginContainerCheck
-{
- ASSERT([webPluginContainerCheck isKindOfClass:[WebPluginContainerCheck class]]);
-
- id contextInfo = [webPluginContainerCheck contextInfo];
- ASSERT([contextInfo isKindOfClass:[NSNumber class]]);
-
- if (!_proxy)
- return;
-
- uint32_t checkID = [(NSNumber *)contextInfo unsignedIntValue];
- _proxy->cancelCheckIfAllowedToLoadURL(checkID);
-}
-
-- (void)_containerCheckResult:(PolicyAction)policy contextInfo:(id)contextInfo
-{
- ASSERT([contextInfo isKindOfClass:[NSNumber class]]);
- if (!_proxy)
- return;
-
- uint32_t checkID = [(NSNumber *)contextInfo unsignedIntValue];
- _proxy->checkIfAllowedToLoadURLResult(checkID, (policy == PolicyUse));
-}
-
</del><span class="cx"> - (void)webFrame:(WebFrame *)webFrame didFinishLoadWithReason:(NPReason)reason
</span><span class="cx"> {
</span><span class="cx"> if (_isStarted && _proxy)
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsHostedWebKitPluginClientdefs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/Hosted/WebKitPluginClient.defs (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/Hosted/WebKitPluginClient.defs        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/Hosted/WebKitPluginClient.defs        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -191,22 +191,6 @@
</span><span class="cx"> simpleroutine PCSetModal(clientPort :mach_port_t;
</span><span class="cx"> modal :boolean_t);
</span><span class="cx">
</span><del>-routine PCCheckIfAllowedToLoadURL(clientPort :mach_port_t;
- pluginID :uint32_t;
- url :data_t;
- target :data_t;
- out checkID :uint32_t);
-
-simpleroutine PCCancelCheckIfAllowedToLoadURL(clientPort :mach_port_t;
- pluginID :uint32_t;
- checkID :uint32_t);
-
-routine PCResolveURL(clientPort :mach_port_t;
- pluginID :uint32_t;
- url :data_t;
- target :data_t;
- out resolvedURL :data_t, dealloc);
-
</del><span class="cx"> // Replies
</span><span class="cx"> simpleroutine PCInstantiatePluginReply(clientPort :mach_port_t;
</span><span class="cx"> pluginID :uint32_t;
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsWebBaseNetscapePluginViewh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.h (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.h        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.h        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #import <Cocoa/Cocoa.h>
</span><span class="cx">
</span><span class="cx"> #import "WebNetscapePluginPackage.h"
</span><del>-#import "WebPluginContainerCheck.h"
</del><span class="cx"> #import <wtf/Forward.h>
</span><span class="cx"> #import <wtf/PassRefPtr.h>
</span><span class="cx"> #import <wtf/RefPtr.h>
</span><span class="lines">@@ -122,7 +121,6 @@
</span><span class="cx">
</span><span class="cx"> - (BOOL)convertFromX:(double)sourceX andY:(double)sourceY space:(NPCoordinateSpace)sourceSpace
</span><span class="cx"> toX:(double *)destX andY:(double *)destY space:(NPCoordinateSpace)destSpace;
</span><del>-- (WTF::CString)resolvedURLStringForURL:(const char*)url target:(const char*)target;
</del><span class="cx">
</span><span class="cx"> - (void)invalidatePluginContentRect:(NSRect)rect;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsWebBaseNetscapePluginViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.mm (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.mm        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/WebBaseNetscapePluginView.mm        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -34,8 +34,6 @@
</span><span class="cx"> #import "WebKitLogging.h"
</span><span class="cx"> #import "WebKitNSStringExtras.h"
</span><span class="cx"> #import "WebKitSystemInterface.h"
</span><del>-#import "WebPluginContainerCheck.h"
-#import "WebNetscapeContainerCheckContextInfo.h"
</del><span class="cx"> #import "WebNSURLExtras.h"
</span><span class="cx"> #import "WebNSURLRequestExtras.h"
</span><span class="cx"> #import "WebView.h"
</span><span class="lines">@@ -829,27 +827,6 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><del>-- (CString)resolvedURLStringForURL:(const char*)url target:(const char*)target
-{
- String relativeURLString = String::fromUTF8(url);
- if (relativeURLString.isNull())
- return CString();
-
- Frame* frame = core([self webFrame]);
- if (!frame)
- return CString();
-
- Frame* targetFrame = frame->tree().find(String::fromUTF8(target));
- if (!targetFrame)
- return CString();
-
- if (!frame->document()->securityOrigin()->canAccess(targetFrame->document()->securityOrigin()))
- return CString();
-
- URL absoluteURL = targetFrame->document()->completeURL(relativeURLString);
- return absoluteURL.string().utf8();
-}
-
</del><span class="cx"> - (void)invalidatePluginContentRect:(NSRect)rect
</span><span class="cx"> {
</span><span class="cx"> auto* renderer = _element->renderer();
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsWebNetscapeContainerCheckContextInfoh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckContextInfo.h (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckContextInfo.h        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckContextInfo.h        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Inc. ("Apple") nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "WebBaseNetscapePluginView.h"
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
-
-@interface WebNetscapeContainerCheckContextInfo : NSObject {
- uint32_t _checkRequestID;
- void (*_callback)(NPP npp, uint32_t, NPBool, void *);
- void *_context;
-}
-
-- (id)initWithCheckRequestID:(uint32_t)checkRequestID callbackFunc:(void (*)(NPP npp, uint32_t checkID, NPBool allowed, void* context))callbackFunc context:(void*)context;
-- (uint32_t)checkRequestID;
-- (void (*)(NPP npp, uint32_t, NPBool, void*))callback;
-- (void*)context;
-
-@end
-
-#endif // ENABLE(NETSCAPE_PLUGIN_API)
</del></span></pre></div>
<a id="trunkSourceWebKitmacPluginsWebNetscapeContainerCheckContextInfomm"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckContextInfo.mm (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckContextInfo.mm        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckContextInfo.mm        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Apple Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "WebNetscapeContainerCheckContextInfo.h"
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
-
-@implementation WebNetscapeContainerCheckContextInfo
-
-- (id)initWithCheckRequestID:(uint32_t)checkRequestID callbackFunc:(void (*)(NPP npp, uint32_t checkID, NPBool allowed, void* context))callbackFunc context:(void*)context
-{
- self = [super init];
- if (!self)
- return nil;
-
- _checkRequestID = checkRequestID;
- _callback = callbackFunc;
- _context = context;
- return self;
-}
-
-- (uint32_t)checkRequestID
-{
- return _checkRequestID;
-}
-
-- (void (*)(NPP npp, uint32_t, NPBool, void*))callback
-{
- return _callback;
-}
-
-- (void*)context
-{
- return _context;
-}
-
-@end
-
-#endif // ENABLE(NETSCAPE_PLUGIN_API)
</del></span></pre></div>
<a id="trunkSourceWebKitmacPluginsWebNetscapeContainerCheckPrivateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckPrivate.h (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckPrivate.h        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckPrivate.h        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Inc. ("Apple") nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef WebNetscapeContainerCheckPrivate_h
-#define WebNetscapeContainerCheckPrivate_h
-
-#include <WebKitLegacy/npapi.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define WKNVBrowserContainerCheckFuncs 1701
-#define WKNVBrowserContainerCheckFuncsVersion 2
-
-#define WKNVBrowserContainerCheckFuncsVersionHasGetLocation 2
-
-typedef uint32_t (*WKN_CheckIfAllowedToLoadURLProcPtr)(NPP npp, const char* url, const char* frame, void (*callbackFunc)(NPP npp, uint32_t, NPBool allowed, void* context), void* context);
-typedef void (*WKN_CancelCheckIfAllowedToLoadURLProcPtr)(NPP npp, uint32_t);
-typedef char* (*WKN_ResolveURLProcPtr)(NPP npp, const char* url, const char* target);
-
-uint32_t WKN_CheckIfAllowedToLoadURL(NPP npp, const char* url, const char* frame, void (*callbackFunc)(NPP npp, uint32_t, NPBool allowed, void* context), void* context);
-void WKN_CancelCheckIfAllowedToLoadURL(NPP npp, uint32_t);
-char* WKN_ResolveURL(NPP npp, const char* url, const char* target);
-
-typedef struct _WKNBrowserContainerCheckFuncs {
- uint16_t size;
- uint16_t version;
-
- WKN_CheckIfAllowedToLoadURLProcPtr checkIfAllowedToLoadURL;
- WKN_CancelCheckIfAllowedToLoadURLProcPtr cancelCheckIfAllowedToLoadURL;
- WKN_ResolveURLProcPtr resolveURL;
-} WKNBrowserContainerCheckFuncs;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // WebNetscapeContainerCheckPrivate_h
</del></span></pre></div>
<a id="trunkSourceWebKitmacPluginsWebNetscapeContainerCheckPrivatemm"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckPrivate.mm (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckPrivate.mm        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/WebNetscapeContainerCheckPrivate.mm        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of Apple Inc. ("Apple") nor the names of
- * its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#import "WebNetscapeContainerCheckPrivate.h"
-
-#import "WebNetscapePluginView.h"
-
-#if ENABLE(NETSCAPE_PLUGIN_API)
-
-WKNBrowserContainerCheckFuncs *browserContainerCheckFuncs()
-{
- static WKNBrowserContainerCheckFuncs funcs = {
- sizeof(WKNBrowserContainerCheckFuncs),
- WKNVBrowserContainerCheckFuncsVersion,
- WKN_CheckIfAllowedToLoadURL,
- WKN_CancelCheckIfAllowedToLoadURL,
- WKN_ResolveURL
- };
-
- return &funcs;
-}
-
-#endif // ENABLE(NETSCAPE_PLUGIN_API)
</del></span></pre></div>
<a id="trunkSourceWebKitmacPluginsWebNetscapePluginViewh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.h (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.h        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.h        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #if ENABLE(NETSCAPE_PLUGIN_API)
</span><span class="cx">
</span><span class="cx"> #import "WebBaseNetscapePluginView.h"
</span><del>-#import "WebNetscapeContainerCheckPrivate.h"
</del><span class="cx"> #import <WebKitLegacy/npfunctions.h>
</span><span class="cx"> #import <WebKitLegacy/npapi.h>
</span><span class="cx"> #import <wtf/HashMap.h>
</span><span class="lines">@@ -53,7 +52,7 @@
</span><span class="cx"> // for the plug-in to function correctly. (rdar://problem/4699455)
</span><span class="cx"> #define WebNetscapePluginView WebNetscapePluginDocumentView
</span><span class="cx">
</span><del>-@interface WebNetscapePluginView : WebBaseNetscapePluginView<WebPluginManualLoader, WebPluginContainerCheckController>
</del><ins>+@interface WebNetscapePluginView : WebBaseNetscapePluginView<WebPluginManualLoader>
</ins><span class="cx"> {
</span><span class="cx"> @package
</span><span class="cx"> RefPtr<WebNetscapePluginStream> _manualStream;
</span><span class="lines">@@ -96,9 +95,6 @@
</span><span class="cx">
</span><span class="cx"> BOOL _isFlash;
</span><span class="cx"> BOOL _isSilverlight;
</span><del>-
- NSMutableDictionary *_containerChecksInProgress;
- uint32_t _currentContainerCheckRequestID;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> + (WebNetscapePluginView *)currentPluginView;
</span><span class="lines">@@ -143,9 +139,6 @@
</span><span class="cx"> - (void)handleMouseEntered:(NSEvent *)event;
</span><span class="cx"> - (void)handleMouseExited:(NSEvent *)event;
</span><span class="cx">
</span><del>-- (uint32_t)checkIfAllowedToLoadURL:(const char*)urlCString frame:(const char*)frameNameCString callbackFunc:(void (*)(NPP npp, uint32_t checkID, NPBool allowed, void* context))callbackFunc context:(void*)context;
-- (void)cancelCheckIfAllowedToLoadURL:(uint32_t)checkID;
-
</del><span class="cx"> @end
</span><span class="cx">
</span><span class="cx"> @interface WebNetscapePluginView (WebInternal)
</span><span class="lines">@@ -175,10 +168,7 @@
</span><span class="cx"> - (NPError)getAuthenticationInfoWithProtocol:(const char*) protocol host:(const char*)host port:(int32_t)port scheme:(const char*)scheme realm:(const char*)realm
</span><span class="cx"> username:(char**)username usernameLength:(uint32_t*)usernameLength
</span><span class="cx"> password:(char**)password passwordLength:(uint32_t*)passwordLength;
</span><del>-- (char*)resolveURL:(const char*)url forTarget:(const char*)target;
</del><span class="cx"> @end
</span><span class="cx">
</span><del>-WKNBrowserContainerCheckFuncs *browserContainerCheckFuncs();
-
</del><span class="cx"> #endif
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsWebNetscapePluginViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.mm (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.mm        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/WebNetscapePluginView.mm        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -45,12 +45,9 @@
</span><span class="cx"> #import "WebNSURLExtras.h"
</span><span class="cx"> #import "WebNSURLRequestExtras.h"
</span><span class="cx"> #import "WebNSViewExtras.h"
</span><del>-#import "WebNetscapeContainerCheckContextInfo.h"
-#import "WebNetscapeContainerCheckPrivate.h"
</del><span class="cx"> #import "WebNetscapePluginEventHandler.h"
</span><span class="cx"> #import "WebNetscapePluginPackage.h"
</span><span class="cx"> #import "WebNetscapePluginStream.h"
</span><del>-#import "WebPluginContainerCheck.h"
</del><span class="cx"> #import "WebPluginRequest.h"
</span><span class="cx"> #import "WebPreferences.h"
</span><span class="cx"> #import "WebUIDelegatePrivate.h"
</span><span class="lines">@@ -1247,70 +1244,6 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-- (uint32_t)checkIfAllowedToLoadURL:(const char*)urlCString frame:(const char*)frameNameCString
- callbackFunc:(void (*)(NPP npp, uint32_t checkID, NPBool allowed, void* context))callbackFunc
- context:(void*)context
-{
- if (!_containerChecksInProgress)
- _containerChecksInProgress = [[NSMutableDictionary alloc] init];
-
- NSString *frameName = frameNameCString ? [NSString stringWithCString:frameNameCString encoding:NSISOLatin1StringEncoding] : nil;
-
- ++_currentContainerCheckRequestID;
- WebNetscapeContainerCheckContextInfo *contextInfo = [[WebNetscapeContainerCheckContextInfo alloc] initWithCheckRequestID:_currentContainerCheckRequestID
- callbackFunc:callbackFunc
- context:context];
-
- WebPluginContainerCheck *check = [WebPluginContainerCheck checkWithRequest:[self requestWithURLCString:urlCString]
- target:frameName
- resultObject:self
- selector:@selector(_containerCheckResult:contextInfo:)
- controller:self
- contextInfo:contextInfo];
-
- [contextInfo release];
- [_containerChecksInProgress setObject:check forKey:[NSNumber numberWithInt:_currentContainerCheckRequestID]];
- [check start];
-
- return _currentContainerCheckRequestID;
-}
-
-- (void)_containerCheckResult:(PolicyAction)policy contextInfo:(id)contextInfo
-{
- ASSERT([contextInfo isKindOfClass:[WebNetscapeContainerCheckContextInfo class]]);
- void (*pluginCallback)(NPP npp, uint32_t, NPBool, void*) = [contextInfo callback];
-
- if (!pluginCallback) {
- ASSERT_NOT_REACHED();
- return;
- }
-
- pluginCallback([self plugin], [contextInfo checkRequestID], (policy == PolicyUse), [contextInfo context]);
-}
-
-- (void)cancelCheckIfAllowedToLoadURL:(uint32_t)checkID
-{
- WebPluginContainerCheck *check = (WebPluginContainerCheck *)[_containerChecksInProgress objectForKey:[NSNumber numberWithInt:checkID]];
-
- if (!check)
- return;
-
- [check cancel];
- [_containerChecksInProgress removeObjectForKey:[NSNumber numberWithInt:checkID]];
-}
-
-// WebPluginContainerCheck automatically calls this method after invoking our _containerCheckResult: selector.
-// It works this way because calling -[WebPluginContainerCheck cancel] allows it to do it's teardown process.
-- (void)_webPluginContainerCancelCheckIfAllowedToLoadRequest:(id)webPluginContainerCheck
-{
- ASSERT([webPluginContainerCheck isKindOfClass:[WebPluginContainerCheck class]]);
- WebPluginContainerCheck *check = (WebPluginContainerCheck *)webPluginContainerCheck;
- ASSERT([[check contextInfo] isKindOfClass:[WebNetscapeContainerCheckContextInfo class]]);
-
- [self cancelCheckIfAllowedToLoadURL:[[check contextInfo] checkRequestID]];
-}
-
-
</del><span class="cx"> // MARK: NSVIEW
</span><span class="cx">
</span><span class="cx"> - (id)initWithFrame:(NSRect)frame
</span><span class="lines">@@ -1359,8 +1292,6 @@
</span><span class="cx"> free(cValues);
</span><span class="cx">
</span><span class="cx"> ASSERT(!_eventHandler);
</span><del>-
- [_containerChecksInProgress release];
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> - (void)disconnectStream:(WebNetscapePluginStream*)stream
</span><span class="lines">@@ -2058,12 +1989,6 @@
</span><span class="cx"> return NPERR_NO_ERROR;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- case WKNVBrowserContainerCheckFuncs:
- {
- *(WKNBrowserContainerCheckFuncs **)value = browserContainerCheckFuncs();
- return NPERR_NO_ERROR;
- }
-
</del><span class="cx"> case WKNVSupportsCompositingCoreAnimationPluginsBool:
</span><span class="cx"> {
</span><span class="cx"> *(NPBool *)value = [[[self webView] preferences] acceleratedCompositingEnabled];
</span><span class="lines">@@ -2277,17 +2202,6 @@
</span><span class="cx"> return NPERR_NO_ERROR;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-- (char*)resolveURL:(const char*)url forTarget:(const char*)target
-{
- CString location = [self resolvedURLStringForURL:url target:target];
-
- if (location.isNull())
- return 0;
-
- // We use strdup here because the caller needs to free it with NPN_MemFree (which calls free).
- return strdup(location.data());
-}
-
</del><span class="cx"> @end
</span><span class="cx">
</span><span class="cx"> @implementation WebNetscapePluginView (Internal)
</span></span></pre></div>
<a id="trunkSourceWebKitmacPluginsnpapimm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Plugins/npapi.mm (201688 => 201689)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Plugins/npapi.mm        2016-06-04 22:34:15 UTC (rev 201688)
+++ trunk/Source/WebKit/mac/Plugins/npapi.mm        2016-06-04 22:48:07 UTC (rev 201689)
</span><span class="lines">@@ -225,19 +225,4 @@
</span><span class="cx"> return [pluginViewForInstance(instance) convertFromX:sourceX andY:sourceY space:sourceSpace toX:destX andY:destY space:destSpace];
</span><span class="cx"> }
</span><span class="cx">
</span><del>-uint32_t WKN_CheckIfAllowedToLoadURL(NPP instance, const char* url, const char* frame, void (*callbackFunc)(NPP npp, uint32_t, NPBool, void*), void* context)
-{
- return [pluginViewForInstance(instance) checkIfAllowedToLoadURL:url frame:frame callbackFunc:callbackFunc context:context];
-}
-
-void WKN_CancelCheckIfAllowedToLoadURL(NPP instance, uint32_t checkID)
-{
- [pluginViewForInstance(instance) cancelCheckIfAllowedToLoadURL:checkID];
-}
-
-char* WKN_ResolveURL(NPP instance, const char* url, const char* target)
-{
- return [pluginViewForInstance(instance) resolveURL:url forTarget:target];
-}
-
</del><span class="cx"> #endif
</span></span></pre>
</div>
</div>
</body>
</html>