Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #import <EarlGrey/EarlGrey.h> | |
| 6 | |
| 7 @interface GREYMatchers (WebShellAdditions) | |
| 8 | |
| 9 // Matcher for back button in web shell. | |
| 10 + (id<GREYMatcher>)matcherForBackButton; | |
|
Eugene But (OOO till 7-30)
2016/04/21 22:53:08
Optional NIT: Maybe matcherForShellBackButton ?
baxley
2016/04/22 02:02:59
Done.
| |
| 11 | |
| 12 // Matcher for forward button in web shell. | |
| 13 + (id<GREYMatcher>)matcherForForwardButton; | |
| 14 | |
| 15 // Matcher for address field in web shell. | |
| 16 + (id<GREYMatcher>)matcherForAddressField; | |
| 17 | |
| 18 @end | |
| 19 | |
| 20 #if !(GREY_DISABLE_SHORTHAND) | |
| 21 | |
| 22 // Shorthand for GREYMatchers::matcherForBackButton | |
|
Eugene But (OOO till 7-30)
2016/04/21 22:53:08
Optional NIT: Full stop at the end for consistency
baxley
2016/04/22 02:02:58
Done.
| |
| 23 GREY_EXPORT id<GREYMatcher> shell_backButton(); | |
|
Eugene But (OOO till 7-30)
2016/04/21 22:53:08
NIT: I don't think we want to use GREY_EXPORT macr
baxley
2016/04/22 02:02:59
Are you okay with just using extern "C" {? Or do y
Eugene But (OOO till 7-30)
2016/04/22 02:33:29
That's a good point. In Chromium we have macros li
| |
| 24 | |
| 25 // Shorthand for GREYMatchers::matcherForForwardButton | |
| 26 GREY_EXPORT id<GREYMatcher> shell_forwardButton(); | |
| 27 | |
| 28 // Shorthand for GREYMatchers::matcherForAddressField | |
| 29 GREY_EXPORT id<GREYMatcher> shell_addressField(); | |
| 30 | |
| 31 #endif | |
| OLD | NEW |