| 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_
|
|
|