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

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

Issue 1808993002: [ios] Removed UIWebView JS evaluation code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO Created 4 years, 9 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 | « no previous file | ios/web/web_state/ui/web_view_js_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3264b03fcd98afc4f0e8d9a5b6413bcc47be6ffa..b0445997210baabc9a476a04d9dea955dd464d98 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
@@ -21,6 +21,7 @@ typedef void (^JavaScriptCompletion)(NSString*, NSError*);
// 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;
« no previous file with comments | « no previous file | ios/web/web_state/ui/web_view_js_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698