Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: ios/web/shell/test/earl_grey/shell_actions.mm

Issue 2275303004: Context menu egtests, plus related utilities. (Closed)
Patch Set: Reviewable. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..a3e6f83b490ce93b5500a00f8083e278c0d46e9e
--- /dev/null
+++ b/ios/web/shell/test/earl_grey/shell_actions.mm
@@ -0,0 +1,17 @@
+// 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 {
+
+void LongPressWebViewElementForContextMenu(std::string element_id,
+ bool triggers_context_menu) {
+ return LongPressWebViewElementForContextMenu(
+ shell_test_util::GetCurrentWebState(), element_id, triggers_context_menu);
+}
+}

Powered by Google App Engine
This is Rietveld 408576698