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>)matcherForWebShellBackButton; |
| 11 |
| 12 // Matcher for forward button in web shell. |
| 13 + (id<GREYMatcher>)matcherForWebShellForwardButton; |
| 14 |
| 15 // Matcher for address field in web shell. |
| 16 + (id<GREYMatcher>)matcherForWebShellAddressField; |
| 17 |
| 18 @end |
| 19 |
| 20 #if !(GREY_DISABLE_SHORTHAND) |
| 21 |
| 22 extern "C" { |
| 23 // Shorthand for GREYMatchers::matcherForBackButton. |
| 24 id<GREYMatcher> shell_backButton(); |
| 25 |
| 26 // Shorthand for GREYMatchers::matcherForForwardButton. |
| 27 id<GREYMatcher> shell_forwardButton(); |
| 28 |
| 29 // Shorthand for GREYMatchers::matcherForAddressField. |
| 30 id<GREYMatcher> shell_addressField(); |
| 31 } |
| 32 |
| 33 #endif |
OLD | NEW |