| 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 1933471ab84775c9d98d3e7a6daadf9053441134..f645f60f32c645d9278447bef038cdee22e6eab1 100644
|
| --- a/ios/web/public/test/earl_grey/web_view_matchers.h
|
| +++ b/ios/web/public/test/earl_grey/web_view_matchers.h
|
| @@ -14,39 +14,39 @@
|
| namespace web {
|
|
|
| // Matcher for WKWebView which belogs to the given |webState|.
|
| -id<GREYMatcher> webViewInWebState(WebState* web_state);
|
| +id<GREYMatcher> WebViewInWebState(WebState* web_state);
|
|
|
| // Matcher for WKWebView containing |text|.
|
| -id<GREYMatcher> webViewContainingText(std::string text, WebState* web_state);
|
| +id<GREYMatcher> WebViewContainingText(std::string text, WebState* web_state);
|
|
|
| // Matcher for WKWebView not containing |text|. This should be used to verify
|
| // that a visible WKWebView does not contain |text|, rather than verifying that
|
| // a WKWebView containing |text| is not visible, as would be the case if
|
| -// webViewContainingText() were asserted with grey_nil().
|
| -id<GREYMatcher> webViewNotContainingText(std::string text, WebState* web_state);
|
| +// WebViewContainingText() were asserted with grey_nil().
|
| +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,
|
| +id<GREYMatcher> WebViewContainingBlockedImage(std::string image_id,
|
| WebState* web_state);
|
|
|
| // Matcher for WKWebView containing loaded image with |image_id|. When loaded,
|
| // the image element will have the same size as actual image.
|
| -id<GREYMatcher> webViewContainingLoadedImage(std::string image_id,
|
| +id<GREYMatcher> WebViewContainingLoadedImage(std::string image_id,
|
| WebState* web_state);
|
|
|
| // Matcher for WKWebView containing an html element which matches |selector|.
|
| -id<GREYMatcher> webViewCssSelector(std::string selector, WebState* web_state);
|
| +id<GREYMatcher> WebViewCssSelector(std::string selector, WebState* web_state);
|
|
|
| // Matcher for WKWebView's scroll view.
|
| -id<GREYMatcher> webViewScrollView(WebState* web_state);
|
| +id<GREYMatcher> WebViewScrollView(WebState* web_state);
|
|
|
| // Matcher for an interstitial page. Does not wait if the page is not displayed.
|
| -id<GREYMatcher> interstitial(WebState* web_state);
|
| +id<GREYMatcher> Interstitial(WebState* web_state);
|
|
|
| // Matcher for interstitial page containing |text|. Waits until the text is
|
| // displayed or timed out.
|
| -id<GREYMatcher> interstitialContainingText(NSString* text, WebState* web_state);
|
| +id<GREYMatcher> InterstitialContainingText(NSString* text, WebState* web_state);
|
|
|
| } // namespace web
|
|
|
|
|