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

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

Issue 2732973003: Use shared matchers for common elements. (Closed)
Patch Set: clean up format with using 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 // Matcher for show tabs button. 78 // Matcher for show tabs button.
79 id<GREYMatcher> ShowTabsButton(); 79 id<GREYMatcher> ShowTabsButton();
80 80
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
88 // a link.
89 id<GREYMatcher> OpenLinkInNewTabMenuItem();
90
87 } // namespace chrome_test_util 91 } // namespace chrome_test_util
88 92
89 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_ 93 #endif // IOS_CHROME_TEST_EARL_GREY_CHROME_MATCHERS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm ('k') | ios/chrome/test/earl_grey/chrome_matchers.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698