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

Unified Diff: ios/web/web_state/js/crw_js_injection_receiver.mm

Issue 986743003: Upstream (most of) ios/web/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix namespace comment Created 5 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 | « ios/web/user_metrics.cc ('k') | ios/web/web_state/web_state_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/js/crw_js_injection_receiver.mm
diff --git a/ios/web/web_state/js/crw_js_injection_receiver.mm b/ios/web/web_state/js/crw_js_injection_receiver.mm
index 745fab8d14be2cd26d9c95eb1e62585c4a5b17e7..0c03022ddcfbad3e5796540ce51b54ccc4e6e69b 100644
--- a/ios/web/web_state/js/crw_js_injection_receiver.mm
+++ b/ios/web/web_state/js/crw_js_injection_receiver.mm
@@ -51,6 +51,10 @@
[_evaluator injectScript:script forClass:jsInjectionManagerClass];
}
+- (web::WebViewType)webViewType {
+ return [_evaluator webViewType];
+}
+
- (CRWJSInjectionManager*)instanceOfClass:(Class)jsInjectionManagerClass {
DCHECK(_managers);
CRWJSInjectionManager* manager =
« no previous file with comments | « ios/web/user_metrics.cc ('k') | ios/web/web_state/web_state_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698