| Index: ios/web/shell/test/earl_grey/shell_actions.mm
|
| diff --git a/ios/web/shell/test/earl_grey/shell_actions.mm b/ios/web/shell/test/earl_grey/shell_actions.mm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ebcb7c798cd0c23f9d284bb2ca65b3bcb93c2f49
|
| --- /dev/null
|
| +++ b/ios/web/shell/test/earl_grey/shell_actions.mm
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#import "ios/web/shell/test/earl_grey/shell_actions.h"
|
| +
|
| +#import "ios/web/public/test/earl_grey/web_view_actions.h"
|
| +#import "ios/web/shell/test/app/web_shell_test_util.h"
|
| +
|
| +namespace web {
|
| +
|
| +id<GREYAction> longPressElementForContextMenu(const std::string& element_id,
|
| + bool triggers_context_menu) {
|
| + return webViewLongPressElementForContextMenu(
|
| + shell_test_util::GetCurrentWebState(), element_id, triggers_context_menu);
|
| +}
|
| +
|
| +} // namespace web
|
|
|