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

Side by Side Diff: ios/web_view/shell/test/earl_grey/shell_matchers.h

Issue 2736243003: Add ios_web_view_shell_egtests target and accessibility labels to shell. (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
OLDNEW
(Empty)
1 // Copyright 2017 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 #ifndef IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_
Eugene But (OOO till 7-30) 2017/03/08 21:42:44 I think we should use different names for web shel
michaeldo 2017/03/08 21:58:31 Do you mean filename should be more like web_view_
Eugene But (OOO till 7-30) 2017/03/08 22:12:03 Sorry, I meant filename :)
michaeldo 2017/03/08 23:38:49 No problem. Done.
6 #define IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_
7
8 #import <string>
9
10 #import <EarlGrey/EarlGrey.h>
11
12 namespace ios_web_view {
13
14 // Matcher for web view shell address field text property equal to |text|.
15 id<GREYMatcher> AddressFieldText(const std::string& text);
16
17 // Matcher for back button in web view shell.
18 id<GREYMatcher> BackButton();
19
20 // Matcher for forward button in web view shell.
21 id<GREYMatcher> ForwardButton();
22
23 // Matcher for address field in web view shell.
24 id<GREYMatcher> AddressField();
25
26 } // namespace ios_web_view
27
28 #endif // IOS_WEB_VIEW_SHELL_TEST_EARL_GREY_WEB_VIEW_SHELL_MATCHERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698