OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |