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

Unified Diff: ios/web/shell/test/context_menu_egtest.mm

Issue 2777463002: Make custom GREYAction methods Chromium C-Style. (Closed)
Patch Set: more c-style Created 3 years, 9 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
« no previous file with comments | « ios/web/public/test/earl_grey/web_view_actions.mm ('k') | ios/web/shell/test/earl_grey/shell_actions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/test/context_menu_egtest.mm
diff --git a/ios/web/shell/test/context_menu_egtest.mm b/ios/web/shell/test/context_menu_egtest.mm
index 04c3a3bf1fb5b0847f710329023db3b89a2643da..06c84caa1a3bd6ccd47975a086c3b25f3eaa4751 100644
--- a/ios/web/shell/test/context_menu_egtest.mm
+++ b/ios/web/shell/test/context_menu_egtest.mm
@@ -56,7 +56,7 @@ using web::WebViewContainingText;
assertWithMatcher:grey_notNil()];
[[EarlGrey selectElementWithMatcher:web::WebView()]
- performAction:web::longPressElementForContextMenu(
+ performAction:web::LongPressElementForContextMenu(
linkID, true /* menu should appear */)];
id<GREYMatcher> copyItem = ContextMenuItemWithText(@"Copy Link");
@@ -96,7 +96,7 @@ using web::WebViewContainingText;
assertWithMatcher:grey_notNil()];
[[EarlGrey selectElementWithMatcher:web::WebView()]
- performAction:web::longPressElementForContextMenu(
+ performAction:web::LongPressElementForContextMenu(
linkID, false /* menu shouldn't appear */)];
id<GREYMatcher> copyItem = ContextMenuItemWithText(@"Copy Link");
@@ -130,7 +130,7 @@ using web::WebViewContainingText;
assertWithMatcher:grey_notNil()];
[[EarlGrey selectElementWithMatcher:web::WebView()]
- performAction:web::longPressElementForContextMenu(
+ performAction:web::LongPressElementForContextMenu(
linkID, false /* menu shouldn't appear */)];
id<GREYMatcher> copyItem = ContextMenuItemWithText(@"Copy Link");
@@ -165,7 +165,7 @@ using web::WebViewContainingText;
assertWithMatcher:grey_notNil()];
[[EarlGrey selectElementWithMatcher:web::WebView()]
- performAction:web::longPressElementForContextMenu(
+ performAction:web::LongPressElementForContextMenu(
linkID, true /* menu should appear */)];
id<GREYMatcher> copyItem = ContextMenuItemWithText(@"Copy Link");
« no previous file with comments | « ios/web/public/test/earl_grey/web_view_actions.mm ('k') | ios/web/shell/test/earl_grey/shell_actions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698