Chromium Code Reviews| 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 9f52db501d10db4127dfd1d101745744eea470a5..2d8182dd598e1f65c4d55daacd9f63db1f69026d 100644 |
| --- a/ios/web/public/test/earl_grey/web_view_matchers.h |
| +++ b/ios/web/public/test/earl_grey/web_view_matchers.h |
| @@ -14,6 +14,9 @@ namespace web { |
| id<GREYMatcher> webViewContainingText(const std::string& text, |
| web::WebState* webState); |
| +// Shorthand for matcherForWebViewScrollViewInWebState:. |
|
baxley
2016/07/20 15:27:25
nit: no ':' (comments in the other matchers file d
baxley
2016/07/20 15:27:25
nit: could you add GREYMatchers::, or remove it fr
Eugene But (OOO till 7-30)
2016/07/20 16:09:39
Done.
Eugene But (OOO till 7-30)
2016/07/20 16:09:40
Done.
|
| +id<GREYMatcher> webViewScrollView(web::WebState* webState); |
| + |
| } // namespace web |
| @interface GREYMatchers (WebViewAdditions) |
| @@ -22,4 +25,8 @@ id<GREYMatcher> webViewContainingText(const std::string& text, |
| + (id<GREYMatcher>)matcherForWebViewContainingText:(const std::string&)text |
| inWebState:(web::WebState*)webState; |
| +// Matcher for WKWebView's scroll view. |
| ++ (id<GREYMatcher>)matcherForWebViewScrollViewInWebState: |
| + (web::WebState*)webState; |
| + |
| @end |