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

Side by Side Diff: ios/chrome/test/earl_grey/chrome_matchers.h

Issue 2733973002: Create shared matcher for navigation bar done button. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_ 5 #ifndef IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_
6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_ 6 #define IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #import <EarlGrey/EarlGrey.h> 10 #import <EarlGrey/EarlGrey.h>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Matcher for CollectionViewSwitchCell. 81 // Matcher for CollectionViewSwitchCell.
82 // TODO(crbug.com/684139): Update |isOn| to something more obvious from 82 // TODO(crbug.com/684139): Update |isOn| to something more obvious from
83 // callsites. 83 // callsites.
84 id<GREYMatcher> CollectionViewSwitchCell(NSString* accessibilityIdentifier, 84 id<GREYMatcher> CollectionViewSwitchCell(NSString* accessibilityIdentifier,
85 BOOL isOn); 85 BOOL isOn);
86 86
87 // Matcher for the Open in New Tab option in the context menu when long pressing 87 // Matcher for the Open in New Tab option in the context menu when long pressing
88 // a link. 88 // a link.
89 id<GREYMatcher> OpenLinkInNewTabMenuItem(); 89 id<GREYMatcher> OpenLinkInNewTabMenuItem();
90 90
91 // Matcher for the done button on the navigation bar.
92 id<GREYMatcher> NavigationBarDoneButton();
93
91 } // namespace chrome_test_util 94 } // namespace chrome_test_util
92 95
93 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_ 96 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698