| Index: ios/web/public/test/earl_grey/web_view_matchers.h
|
| diff --git a/ios/web/public/test/earl_grey/web_view_matchers.h b/ios/web/public/test/earl_grey/web_view_matchers.h
|
| index 9ced53e9d0005ffa934ef35503e754aafb427f6f..1807399f6e24f3ccb99ffb96c6d5f27a4ea39348 100644
|
| --- a/ios/web/public/test/earl_grey/web_view_matchers.h
|
| +++ b/ios/web/public/test/earl_grey/web_view_matchers.h
|
| @@ -21,6 +21,10 @@ id<GREYMatcher> webViewCssSelector(const std::string& selector,
|
| // Shorthand for GREYMatchers::matcherForWebViewScrollViewInWebState.
|
| id<GREYMatcher> webViewScrollView(web::WebState* webState);
|
|
|
| +// Shorthand for GREYMatchers::matcherForWebViewMIMETYPE:inWebState.
|
| +id<GREYMatcher> webViewMimeType(const std::string& mime_type,
|
| + web::WebState* webState);
|
| +
|
| } // namespace web
|
|
|
| @interface GREYMatchers (WebViewAdditions)
|
| @@ -37,4 +41,8 @@ id<GREYMatcher> webViewScrollView(web::WebState* webState);
|
| + (id<GREYMatcher>)matcherForWebViewScrollViewInWebState:
|
| (web::WebState*)webState;
|
|
|
| +// Matcher for WKWebView with given MIME type.
|
| ++ (id<GREYMatcher>)matcherForWebViewMIMEType:(const std::string&)MIMEType
|
| + inWebState:(web::WebState*)webState;
|
| +
|
| @end
|
|
|