| Index: ios/web_view/test/web_view_test_util.mm
|
| diff --git a/ios/web_view/test/web_view_interaction_test_util.mm b/ios/web_view/test/web_view_test_util.mm
|
| similarity index 90%
|
| rename from ios/web_view/test/web_view_interaction_test_util.mm
|
| rename to ios/web_view/test/web_view_test_util.mm
|
| index 56572335aa2f21af665165a5519fb1481ef99774..8ed4bc6a71e5ff04e19ac5d4399d17c5367f6869 100644
|
| --- a/ios/web_view/test/web_view_interaction_test_util.mm
|
| +++ b/ios/web_view/test/web_view_test_util.mm
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#import "ios/web_view/test/web_view_interaction_test_util.h"
|
| +#import "ios/web_view/test/web_view_test_util.h"
|
|
|
| #import <ChromeWebView/ChromeWebView.h>
|
|
|
| @@ -17,6 +17,12 @@ using testing::WaitUntilConditionOrTimeout;
|
| namespace ios_web_view {
|
| namespace test {
|
|
|
| +CWVWebView* CreateWebView() {
|
| + return [[CWVWebView alloc]
|
| + initWithFrame:UIScreen.mainScreen.bounds
|
| + configuration:[CWVWebViewConfiguration defaultConfiguration]];
|
| +}
|
| +
|
| bool TapChromeWebViewElementWithId(CWVWebView* web_view, NSString* element_id) {
|
| // TODO(crbug.com/725524): Share this script with Chrome.
|
| NSString* script = [NSString
|
|
|