cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: CB-10563 - Remove outdated text in CDVPlugin header
Date Fri, 26 Feb 2016 01:58:42 GMT
Repository: cordova-ios
Updated Branches:
  refs/heads/master f2d811ac9 -> 820c29417


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/master
Commit: 820c29417149620b2c83dbe6f76162e02ed352f0
Parents: f2d811a
Author: Shazron Abdullah <shazron@apache.org>
Authored: Thu Feb 25 17:58:40 2016 -0800
Committer: Shazron Abdullah <shazron@apache.org>
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


Mime
View raw message