Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |