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

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

Issue 2183583002: [ios] EarlGrey test for PDF Mime type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@css_selector_matcher
Patch Set: Added missing GN dependency Created 4 years, 5 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
« no previous file with comments | « ios/web/ios_web_shell_tests.gyp ('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 9ced53e9d0005ffa934ef35503e754aafb427f6f..efa073b566b577a1536f34ac94fa1a603f26d8ae 100644
--- a/ios/web/public/test/earl_grey/web_view_matchers.h
+++ b/ios/web/public/test/earl_grey/web_view_matchers.h
@@ -10,6 +10,9 @@
namespace web {
+// Shorthand for GREYMatchers::matcherForWebViewInWebState.
+id<GREYMatcher> webViewInWebState(web::WebState* webState);
+
// Shorthand for GREYMatchers::matcherForWebViewContainingText:inWebState.
id<GREYMatcher> webViewContainingText(const std::string& text,
web::WebState* webState);
@@ -25,6 +28,9 @@ id<GREYMatcher> webViewScrollView(web::WebState* webState);
@interface GREYMatchers (WebViewAdditions)
+// Matcher for WKWebView which belogs to the given |webState|.
++ (id<GREYMatcher>)matcherForWebViewInWebState:(web::WebState*)webState;
+
// Matcher for WKWebView containing |text|.
+ (id<GREYMatcher>)matcherForWebViewContainingText:(const std::string&)text
inWebState:(web::WebState*)webState;
« no previous file with comments | « ios/web/ios_web_shell_tests.gyp ('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