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

Unified Diff: ios/web/public/test/earl_grey/web_view_actions.h

Issue 2777463002: Make custom GREYAction methods Chromium C-Style. (Closed)
Patch Set: cleanup 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
Index: ios/web/public/test/earl_grey/web_view_actions.h
diff --git a/ios/web/public/test/earl_grey/web_view_actions.h b/ios/web/public/test/earl_grey/web_view_actions.h
index fb5f9d0a6114c1b46469e5bd74fa838471b79c7e..1e6631c8a8291ea8b50f13ef0c49263087ebb1fb 100644
--- a/ios/web/public/test/earl_grey/web_view_actions.h
+++ b/ios/web/public/test/earl_grey/web_view_actions.h
@@ -17,7 +17,7 @@ namespace web {
// The action will fail (in addition to its own failure modes) if |element_id|
// can't be located, or if it doesn't trigger a mousedown event on |element_id|
// inside the webview.
-id<GREYAction> webViewVerifiedActionOnElement(WebState* state,
+id<GREYAction> WebViewVerifiedActionOnElement(WebState* state,
Eugene But (OOO till 7-30) 2017/03/24 16:24:31 Do we need to prefix all actions with WebView? We
baxley 2017/03/24 16:48:07 Probably not. I have a bug I'm looking at to get r
id<GREYAction> action,
const std::string& element_id);
@@ -27,13 +27,13 @@ id<GREYAction> webViewVerifiedActionOnElement(WebState* state,
// 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> webViewLongPressElementForContextMenu(
+id<GREYAction> WebViewLongPressElementForContextMenu(
WebState* state,
const std::string& element_id,
bool triggers_context_menu);
// Taps on element |element_id| in the webview of |state|.
-id<GREYAction> webViewTapElement(WebState* state,
+id<GREYAction> WebViewTapElement(WebState* state,
const std::string& element_id);
} // namespace web

Powered by Google App Engine
This is Rietveld 408576698