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

Unified Diff: ios/chrome/test/earl_grey/chrome_actions.h

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/chrome/browser/web/browsing_egtest.mm ('k') | ios/chrome/test/earl_grey/chrome_actions.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/earl_grey/chrome_actions.h
diff --git a/ios/chrome/test/earl_grey/chrome_actions.h b/ios/chrome/test/earl_grey/chrome_actions.h
index 5424a0026e53114b10311eedc9b332e88d0dae2c..4000ccdf01e9c78e3e8707940676427fefed11a3 100644
--- a/ios/chrome/test/earl_grey/chrome_actions.h
+++ b/ios/chrome/test/earl_grey/chrome_actions.h
@@ -17,12 +17,17 @@ namespace chrome_test_util {
// in the webview. If |triggers_context_menu| is false, the converse is true.
// This action doesn't fail if the context menu isn't displayed; calling code
// should check for that separately with a matcher.
+id<GREYAction> LongPressElementForContextMenu(const std::string& element_id,
+ bool triggers_context_menu);
+
+// TODO(crbug.com/683432): Delete this once downstream code uses the correct
+// format.
id<GREYAction> longPressElementForContextMenu(const std::string& element_id,
bool triggers_context_menu);
// Action to turn the switch of a CollectionViewSwitchCell to the given |on|
// state.
-id<GREYAction> turnCollectionViewSwitchOn(BOOL on);
+id<GREYAction> TurnCollectionViewSwitchOn(BOOL on);
} // namespace chrome_test_util
« no previous file with comments | « ios/chrome/browser/web/browsing_egtest.mm ('k') | ios/chrome/test/earl_grey/chrome_actions.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698