Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_ACTIONS_H_ | |
| 6 #define IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_ACTIONS_H_ | |
| 7 | |
| 8 #import <string> | |
|
Eugene But (OOO till 7-30)
2016/08/30 18:11:05
s/import/include
marq (ping after 24h)
2016/08/31 13:07:58
Done.
| |
| 9 | |
| 10 #import <EarlGrey/EarlGrey.h> | |
| 11 | |
| 12 namespace web { | |
| 13 | |
| 14 // Executes a longpress on element |element_id| in the shell's webview. | |
| 15 // If |triggers_context_menu| is true, this gesture is expected to | |
| 16 // cause the context menu to appear, and is not expected to trigger events | |
| 17 // in the webview. If |triggers_context_menu| is false, the converse is true. | |
| 18 // This action doesn't fail if the context menu isn't displayed; calling code | |
| 19 // should check for that separately with a matcher. | |
| 20 void LongPressWebViewElementForContextMenu(std::string element_id, | |
|
Eugene But (OOO till 7-30)
2016/08/30 18:11:05
const std::string& ?
marq (ping after 24h)
2016/08/31 13:07:58
Done.
| |
| 21 bool triggers_context_menu); | |
| 22 | |
| 23 } // namespace web | |
| 24 | |
| 25 #endif // IOS_WEB_SHELL_TEST_EARL_GREY_SHELL_ACTIONS_H_ | |
| OLD | NEW |