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 756ce32b3c24e25a4e8a35f0906abdd185aff10b..70e05e5bedf847df31eb019942f08f6bdf21def7 100644 |
--- a/ios/web/public/test/earl_grey/web_view_matchers.h |
+++ b/ios/web/public/test/earl_grey/web_view_matchers.h |
@@ -16,6 +16,12 @@ id<GREYMatcher> webViewInWebState(WebState* web_state); |
// Matcher for WKWebView containing |text|. |
id<GREYMatcher> webViewContainingText(std::string text, WebState* web_state); |
+// Matcher for WKWebView containing a blocked |image_id|. When blocked, the |
+// image will be smaller than |expected_size|. |
+id<GREYMatcher> webViewContainingBlockedImage(std::string image_id, |
+ CGSize expected_size, |
+ WebState* web_state); |
+ |
// Matcher for WKWebView containing an html element which matches |selector|. |
id<GREYMatcher> webViewCssSelector(std::string selector, WebState* web_state); |