Chromium Code Reviews| Index: ios/web/shell/test/earl_grey/shell_matchers.h |
| diff --git a/ios/web/shell/test/earl_grey/shell_matchers.h b/ios/web/shell/test/earl_grey/shell_matchers.h |
| index 2ae057394e87c8ab6646d05b636c27ab57da992b..85f51657d1d773ce007b47b5cf5b6c5622c9b066 100644 |
| --- a/ios/web/shell/test/earl_grey/shell_matchers.h |
| +++ b/ios/web/shell/test/earl_grey/shell_matchers.h |
| @@ -11,6 +11,9 @@ namespace web { |
| // Shorthand for GREYMatchers::matcherForWebViewContainingText. |
| id<GREYMatcher> webViewContainingText(const std::string& text); |
| +// Shorthand for matcherForWebViewScrollView. |
|
baxley
2016/07/20 15:27:25
nit: Could you add "GREYMatchers::", or remove it
Eugene But (OOO till 7-30)
2016/07/20 16:09:40
Done.
|
| +id<GREYMatcher> webViewScrollView(); |
| + |
| // Shorthand for GREYMatchers::matcherForAddressFieldEqualToText. |
| id<GREYMatcher> addressFieldText(const std::string& text); |
| @@ -30,6 +33,9 @@ id<GREYMatcher> addressField(); |
| // Matcher for WKWebView containing |text|. |
| + (id<GREYMatcher>)matcherForWebViewContainingText:(const std::string&)text; |
| +// Matcher for WKWebView's scroll view. |
| ++ (id<GREYMatcher>)matcherForWebViewScrollView; |
| + |
| // Matcher for web shell address field text property equal to |text|. |
| + (id<GREYMatcher>)matcherForAddressFieldEqualToText:(const std::string&)text; |