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

Unified Diff: ios/web/public/web_state/js/crw_js_injection_manager.h

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
Index: ios/web/public/web_state/js/crw_js_injection_manager.h
diff --git a/ios/web/public/web_state/js/crw_js_injection_manager.h b/ios/web/public/web_state/js/crw_js_injection_manager.h
index f17539d76089298246b5aa92659ba78a1a0fbf89..567c9e94fd952ccefce354657a9ba0a62cb04b1f 100644
--- a/ios/web/public/web_state/js/crw_js_injection_manager.h
+++ b/ios/web/public/web_state/js/crw_js_injection_manager.h
@@ -25,12 +25,6 @@
// missing. It also injects the dependencies' JavaScript if they are missing.
- (void)inject;
-// Evaluate the provided JavaScript asynchronously calling completionHandler
-// after execution. The |completionHandler| can be nil.
-// DEPRECATED. TODO(crbug.com/595761): Remove this API.
-- (void)evaluate:(NSString*)script
- stringResultHandler:(web::JavaScriptCompletion)completionHandler;
-
// Executes the supplied JavaScript asynchronously. Calls |completionHandler|
// with results of the execution (which may be nil) or an NSError if there is an
// error. The |completionHandler| can be nil.
« no previous file with comments | « ios/web/public/web_state/js/crw_js_injection_evaluator.h ('k') | ios/web/web_state/js/crw_js_injection_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698