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

Unified Diff: ios/showcase/test/showcase_matchers.mm

Issue 2764063002: Add TabContainer to Showcase (Closed)
Patch Set: Other heuristic for back button Created 3 years, 9 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/showcase/test/showcase_matchers.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/showcase/test/showcase_matchers.mm
diff --git a/ios/showcase/test/showcase_matchers.mm b/ios/showcase/test/showcase_matchers.mm
new file mode 100644
index 0000000000000000000000000000000000000000..9eb945f2e7b96c27c068221498d206bed0e89036
--- /dev/null
+++ b/ios/showcase/test/showcase_matchers.mm
@@ -0,0 +1,18 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/showcase/test/showcase_matchers.h"
+
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
+namespace showcase_matchers {
+
+id<GREYMatcher> FirstLevelBackButton() {
+ return grey_kindOfClass(
+ NSClassFromString(@"_UINavigationBarBackIndicatorView"));
+}
+
+} // namespace showcase_matchers
« no previous file with comments | « ios/showcase/test/showcase_matchers.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698