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

Unified Diff: ios/web/public/web_state/js/crw_js_injection_evaluator.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_evaluator.h
diff --git a/ios/web/public/web_state/js/crw_js_injection_evaluator.h b/ios/web/public/web_state/js/crw_js_injection_evaluator.h
index 17d2c4fe8b71905e894171ae6b4b2baa07fe832a..6bbd08da0c872e6e7920155be3f92c7f6ea40de6 100644
--- a/ios/web/public/web_state/js/crw_js_injection_evaluator.h
+++ b/ios/web/public/web_state/js/crw_js_injection_evaluator.h
@@ -11,14 +11,6 @@
@protocol CRWJSInjectionEvaluator
-// Evaluates the supplied JavaScript in the WebView. Calls |completionHandler|
-// with results of the evaluation (which may be nil if the implementing object
-// has no way to run the evaluation or the evaluation returns a nil value)
-// or an NSError if there is an error. The |completionHandler| can be nil.
-// TODO(crbug.com/595761): Change this API to return |id| instead of string.
-- (void)evaluateJavaScript:(NSString*)script
- stringResultHandler:(web::JavaScriptCompletion)handler;
-
// Executes the supplied JavaScript in the WebView. Calls |completionHandler|
// with results of the execution (which may be nil if the implementing object
// has no way to run the execution or the execution returns a nil value)
« no previous file with comments | « ios/web/public/test/crw_test_js_injection_receiver.mm ('k') | ios/web/public/web_state/js/crw_js_injection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698