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

Side by Side Diff: ios/web/shell/test/earl_grey/shell_actions.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 unified diff | Download patch
« no previous file with comments | « ios/web/shell/test/earl_grey/shell_actions.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/web/shell/test/earl_grey/shell_actions.h" 5 #import "ios/web/shell/test/earl_grey/shell_actions.h"
6 6
7 #import "ios/web/public/test/earl_grey/web_view_actions.h" 7 #import "ios/web/public/test/earl_grey/web_view_actions.h"
8 #import "ios/web/shell/test/app/web_shell_test_util.h" 8 #import "ios/web/shell/test/app/web_shell_test_util.h"
9 9
10 #if !defined(__has_feature) || !__has_feature(objc_arc) 10 #if !defined(__has_feature) || !__has_feature(objc_arc)
11 #error "This file requires ARC support." 11 #error "This file requires ARC support."
12 #endif 12 #endif
13 13
14 namespace web { 14 namespace web {
15 15
16 id<GREYAction> longPressElementForContextMenu(const std::string& element_id, 16 id<GREYAction> LongPressElementForContextMenu(const std::string& element_id,
17 bool triggers_context_menu) { 17 bool triggers_context_menu) {
18 return webViewLongPressElementForContextMenu( 18 return WebViewLongPressElementForContextMenu(
19 shell_test_util::GetCurrentWebState(), element_id, triggers_context_menu); 19 shell_test_util::GetCurrentWebState(), element_id, triggers_context_menu);
20 } 20 }
21 21
22 } // namespace web 22 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/shell/test/earl_grey/shell_actions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698