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

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

Issue 2739833003: Rename matcher OpenLinkInNewTabMenuItem as OpenLinkInNewTabButton. (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
« no previous file with comments | « ios/chrome/test/earl_grey/chrome_matchers.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 5 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
6 6
7 #import <OCHamcrest/OCHamcrest.h> 7 #import <OCHamcrest/OCHamcrest.h>
8 8
9 #import <WebKit/WebKit.h> 9 #import <WebKit/WebKit.h>
10 10
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 grey_sufficientlyVisible(), nil); 220 grey_sufficientlyVisible(), nil);
221 } 221 }
222 222
223 id<GREYMatcher> CollectionViewSwitchCell(NSString* accessibilityIdentifier, 223 id<GREYMatcher> CollectionViewSwitchCell(NSString* accessibilityIdentifier,
224 BOOL isOn) { 224 BOOL isOn) {
225 return grey_allOf(grey_accessibilityID(accessibilityIdentifier), 225 return grey_allOf(grey_accessibilityID(accessibilityIdentifier),
226 CollectionViewSwitchIsOn(isOn), grey_sufficientlyVisible(), 226 CollectionViewSwitchIsOn(isOn), grey_sufficientlyVisible(),
227 nil); 227 nil);
228 } 228 }
229 229
230 id<GREYMatcher> OpenLinkInNewTabMenuItem() { 230 id<GREYMatcher> OpenLinkInNewTabButton() {
231 return ButtonWithAccessibilityLabelId(IDS_IOS_CONTENT_CONTEXT_OPENLINKNEWTAB); 231 return ButtonWithAccessibilityLabelId(IDS_IOS_CONTENT_CONTEXT_OPENLINKNEWTAB);
232 } 232 }
233 233
234 id<GREYMatcher> NavigationBarDoneButton() { 234 id<GREYMatcher> NavigationBarDoneButton() {
235 return ButtonWithAccessibilityLabelId(IDS_IOS_NAVIGATION_BAR_DONE_BUTTON); 235 return ButtonWithAccessibilityLabelId(IDS_IOS_NAVIGATION_BAR_DONE_BUTTON);
236 } 236 }
237 237
238 } // namespace chrome_test_util 238 } // namespace chrome_test_util
OLDNEW
« no previous file with comments | « ios/chrome/test/earl_grey/chrome_matchers.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698