Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E1FE18414 for ; Fri, 26 Feb 2016 22:52:08 +0000 (UTC) Received: (qmail 71567 invoked by uid 500); 26 Feb 2016 22:52:08 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 71449 invoked by uid 500); 26 Feb 2016 22:52:08 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 71226 invoked by uid 99); 26 Feb 2016 22:52:08 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 22:52:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EBE7FE03C2; Fri, 26 Feb 2016 22:52:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: steven@apache.org To: commits@cordova.apache.org Date: Fri, 26 Feb 2016 22:52:12 -0000 Message-Id: <12ad76ca9b60415dbed13398fb2b1d9e@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [06/13] ios commit: CB-10563 - Remove outdated text in CDVPlugin header CB-10563 - Remove outdated text in CDVPlugin header Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/820c2941 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/820c2941 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/820c2941 Branch: refs/heads/4.1.x Commit: 820c29417149620b2c83dbe6f76162e02ed352f0 Parents: f2d811a Author: Shazron Abdullah Authored: Thu Feb 25 17:58:40 2016 -0800 Committer: Shazron Abdullah Committed: Thu Feb 25 17:58:40 2016 -0800 ---------------------------------------------------------------------- CordovaLib/Classes/Public/CDVPlugin.h | 20 -------------------- 1 file changed, 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/820c2941/CordovaLib/Classes/Public/CDVPlugin.h ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/Public/CDVPlugin.h b/CordovaLib/Classes/Public/CDVPlugin.h index ff4c2f5..54c8afd 100644 --- a/CordovaLib/Classes/Public/CDVPlugin.h +++ b/CordovaLib/Classes/Public/CDVPlugin.h @@ -64,26 +64,6 @@ extern NSString* const CDVRemoteNotificationError; - (void)didReceiveLocalNotification:(NSNotification *)notification; */ - /* - // These methods may optionally be implemented. If present, they will be called by CVDViewController when network-policy (whitelist) decisions need to be made. - - This method, if present, will be called by CDVURLProtocol to determine whether to block a request for a web resource. If all plugins which implement this method return true, then the request will be allowed. If any plugin returns false, the request will be blocked. If no plugins implement this method, then the default policy will be followed. (See [CDVViewController defaultResourcePolicyForURL:]) - - Note that this method will *not* be called for some resources, such as WebSocket connections, and will not be called by WKWebView at all. Please use CSP headers to handle those situations if needed. - - - (BOOL)shouldAllowRequestForURL:(NSURL *)url - - - This method, if present, will be called by CDVViewController to determine whether webview navigation to a web page should be allowed. If all plugins which implement this method return true, then the navigation will be allowed. If any plugin returns false, the navigation will be blocked. If no plugins implement this method, then the default policy will be followed. (See [CDVViewController defaultResourcePolicyForURL:]) - - - (BOOL)shouldAllowNavigationToURL:(NSURL *)url - - - This method, if present, will be called by CDVViewController to determine whether a web page which is otherwise blocked should be opened in the system browser. If all plugins which implement this method return true, then the page will be opened. If any plugin returns false, the page will not be opened. If no plugins implement this method, then the default policy will be followed. (See [CDVViewController shouldOpenExternalURL:] and [CDVViewController webView:shouldStartLoadWithRequest:navigationType:]) - - - (BOOL)shouldOpenExternalURL:(NSURL *)url - */ - - (id)appDelegate; @end --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org