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

Side by Side Diff: ios/web/shell/test/shell_matchers.h

Issue 1890333002: Web shell test to go back and forward. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: few more updates Created 4 years, 8 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698