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

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

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
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 724f1bdfa061bf2a72418ba559784a14eed525f6..3264b03fcd98afc4f0e8d9a5b6413bcc47be6ffa 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
@@ -7,6 +7,8 @@
#import <Foundation/Foundation.h>
+#include "ios/web/public/web_view_type.h"
+
// The type of the completion handler block that is called from
// |evaluateJavaScript:completionHandler|
namespace web {
@@ -33,6 +35,10 @@ typedef void (^JavaScriptCompletion)(NSString*, NSError*);
// the manager's script, and not for evaluating arbitrary JavaScript.
- (void)injectScript:(NSString*)script forClass:(Class)jsInjectionManagerClass;
+// Returns type of web view used for evaluation. Must not change for the
+// lifetime of the object.
+- (web::WebViewType)webViewType;
+
@end
#endif // IOS_WEB_PUBLIC_WEB_STATE_JS_CRW_JS_INJECTION_EVALUATOR_H_
« no previous file with comments | « ios/web/public/web_state/crw_web_user_interface_delegate.h ('k') | ios/web/public/web_state/url_verification_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698