| OLD | NEW |
| 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 #ifndef IOS_WEB_SHELL_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_ | 5 #ifndef IOS_WEB_SHELL_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_ |
| 6 #define IOS_WEB_SHELL_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_ | 6 #define IOS_WEB_SHELL_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace web { | 10 namespace web { |
| 11 namespace shell_test_util { | 11 namespace shell_test_util { |
| 12 | 12 |
| 13 // Attempts to tap the element with |element_id| in the current WebState | 13 // Attempts to tap the element with |element_id| in the current WebState |
| 14 // using a JavaScript click() event. | 14 // using a JavaScript click() event. |
| 15 void TapWebViewElementWithId(const std::string& element_id); | 15 void TapWebViewElementWithId(const std::string& element_id); |
| 16 | 16 |
| 17 } // namespace shell_test_util | 17 } // namespace shell_test_util |
| 18 } // namespace web | 18 } // namespace web |
| 19 | 19 |
| 20 #endif // IOS_WEB_SHELL_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_ | 20 #endif // IOS_WEB_SHELL_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_ |
| OLD | NEW |