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

Unified Diff: ios/web/public/test/earl_grey/web_view_matchers.h

Issue 2569103002: [ios] webViewContainingBlockedImage which does not need size argument. (Closed)
Patch Set: Added missing dependency Created 4 years 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/BUILD.gn ('k') | ios/web/public/test/earl_grey/web_view_matchers.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e446d6cf09264ed110c79a4f7031568a96da4e1f..71379f68424e27a66bebfe6c5bb4f998bdfef1f3 100644
--- a/ios/web/public/test/earl_grey/web_view_matchers.h
+++ b/ios/web/public/test/earl_grey/web_view_matchers.h
@@ -26,7 +26,14 @@ id<GREYMatcher> webViewContainingText(std::string text, WebState* web_state);
id<GREYMatcher> webViewNotContainingText(std::string text, WebState* web_state);
// Matcher for WKWebView containing a blocked |image_id|. When blocked, the
+// image element will be smaller actual image size.
+id<GREYMatcher> webViewContainingBlockedImage(std::string image_id,
+ WebState* web_state);
+
+// Matcher for WKWebView containing a blocked |image_id|. When blocked, the
// image will be smaller than |expected_size|.
+// Note: deprecated. Use webViewContainingBlockedImage(std::string, WebState*)
+// instead. TODO(crbug.com/673520): Remove this method.
id<GREYMatcher> webViewContainingBlockedImage(std::string image_id,
CGSize expected_size,
WebState* web_state);
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/public/test/earl_grey/web_view_matchers.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698