OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #import "ios/web/shell/test/earl_grey/shell_actions.h" |
| 6 |
| 7 #import "ios/web/public/test/earl_grey/web_view_actions.h" |
| 8 #import "ios/web/shell/test/app/web_shell_test_util.h" |
| 9 |
| 10 namespace web { |
| 11 |
| 12 id<GREYAction> longPressElementForContextMenu(const std::string& element_id, |
| 13 bool triggers_context_menu) { |
| 14 return webViewLongPressElementForContextMenu( |
| 15 shell_test_util::GetCurrentWebState(), element_id, triggers_context_menu); |
| 16 } |
| 17 |
| 18 } // namespace web |
OLD | NEW |