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

Unified Diff: ios/web/shell/test/earl_grey/shell_matchers.h

Issue 2275303004: Context menu egtests, plus related utilities. (Closed)
Patch Set: Reviewable. Created 4 years, 4 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
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 f458b8c60ad6f462b65e44c1724329b70de6e0cf..b3bacf6f8be8de1fc8a7108112a4d2b3a3116ebd 100644
--- a/ios/web/shell/test/earl_grey/shell_matchers.h
+++ b/ios/web/shell/test/earl_grey/shell_matchers.h
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#ifndef IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_MATCHERS_H_
+#define IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_MATCHERS_H_
+
#import <string>
#import <EarlGrey/EarlGrey.h>
@@ -14,6 +17,9 @@ id<GREYMatcher> webViewContainingText(std::string text);
// Matcher for WKWebView containing an html element which matches |selector|.
id<GREYMatcher> webViewCssSelector(std::string selector);
+// Matcher for the WKWebView.
+id<GREYMatcher> webView();
+
// Matcher for WKWebView's scroll view.
id<GREYMatcher> webViewScrollView();
@@ -30,3 +36,5 @@ id<GREYMatcher> forwardButton();
id<GREYMatcher> addressField();
} // namespace web
+
+#endif // IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_MATCHERS_H_

Powered by Google App Engine
This is Rietveld 408576698