| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import "ios/web/shell/test/earl_grey/shell_matchers.h" | 5 #import "ios/web/shell/test/earl_grey/shell_matchers.h" |
| 6 | 6 |
| 7 #import "base/mac/foundation_util.h" | 7 #import "base/mac/foundation_util.h" |
| 8 #include "base/strings/sys_string_conversions.h" | 8 #include "base/strings/sys_string_conversions.h" |
| 9 #import "ios/testing/earl_grey/matchers.h" | 9 #import "ios/testing/earl_grey/matchers.h" |
| 10 #include "ios/testing/wait_util.h" | 10 #import "ios/testing/wait_util.h" |
| 11 #import "ios/web/public/web_state/web_state.h" | 11 #import "ios/web/public/web_state/web_state.h" |
| 12 #import "ios/web/public/test/earl_grey/web_view_matchers.h" | 12 #import "ios/web/public/test/earl_grey/web_view_matchers.h" |
| 13 #import "ios/web/shell/test/app/web_shell_test_util.h" | 13 #import "ios/web/shell/test/app/web_shell_test_util.h" |
| 14 #import "ios/web/shell/view_controller.h" | 14 #import "ios/web/shell/view_controller.h" |
| 15 | 15 |
| 16 #if !defined(__has_feature) || !__has_feature(objc_arc) | 16 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 17 #error "This file requires ARC support." | 17 #error "This file requires ARC support." |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 namespace web { | 20 namespace web { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 id<GREYMatcher> forwardButton() { | 76 id<GREYMatcher> forwardButton() { |
| 77 return grey_accessibilityLabel(kWebShellForwardButtonAccessibilityLabel); | 77 return grey_accessibilityLabel(kWebShellForwardButtonAccessibilityLabel); |
| 78 } | 78 } |
| 79 | 79 |
| 80 id<GREYMatcher> addressField() { | 80 id<GREYMatcher> addressField() { |
| 81 return grey_accessibilityLabel(kWebShellAddressFieldAccessibilityLabel); | 81 return grey_accessibilityLabel(kWebShellAddressFieldAccessibilityLabel); |
| 82 } | 82 } |
| 83 | 83 |
| 84 } // namespace web | 84 } // namespace web |
| OLD | NEW |