Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: ios/web/public/test/crw_test_js_injection_receiver.mm

Issue 2281803002: [ios] Removed deprecated JS execution API. (Closed)
Patch Set: Merged with master Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/public/block_types.h ('k') | ios/web/public/web_state/js/crw_js_injection_evaluator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/crw_test_js_injection_receiver.mm
diff --git a/ios/web/public/test/crw_test_js_injection_receiver.mm b/ios/web/public/test/crw_test_js_injection_receiver.mm
index 27c7f358888a64f042bf9fdd34705b105a0dfb7c..23975f4ccca8ba6f38cc06f72770470753f5ca34 100644
--- a/ios/web/public/test/crw_test_js_injection_receiver.mm
+++ b/ios/web/public/test/crw_test_js_injection_receiver.mm
@@ -30,11 +30,6 @@
return self;
}
-- (void)evaluateJavaScript:(NSString*)script
- stringResultHandler:(web::JavaScriptCompletion)handler {
- web::EvaluateJavaScript(_webView, script, handler);
-}
-
- (void)executeJavaScript:(NSString*)script
completionHandler:(web::JavaScriptResultBlock)completionHandler {
web::ExecuteJavaScript(_webView, script, completionHandler);
« no previous file with comments | « ios/web/public/block_types.h ('k') | ios/web/public/web_state/js/crw_js_injection_evaluator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698