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

Unified Diff: ios/chrome/test/app/web_view_interaction_test_util.h

Issue 2580333003: Upstream Chrome on iOS source code [10/11]. (Closed)
Patch Set: Created 4 years 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/test/app/tab_test_util.mm ('k') | ios/chrome/test/app/web_view_interaction_test_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/app/web_view_interaction_test_util.h
diff --git a/ios/chrome/test/app/web_view_interaction_test_util.h b/ios/chrome/test/app/web_view_interaction_test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..1fa6ba952a32581f878ec468337c8d659c366b6d
--- /dev/null
+++ b/ios/chrome/test/app/web_view_interaction_test_util.h
@@ -0,0 +1,21 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_
+#define IOS_CHROME_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_
+
+#include <string>
+
+namespace chrome_test_util {
+
+// Attempts to tap the element with |element_id| in the current WebState
+// using a JavaScript click() event.
+void TapWebViewElementWithId(const std::string& element_id);
+
+// Attemps to submit form with |form_id| in the current WebState.
+void SubmitWebViewFormWithId(const std::string& form_id);
+
+} // namespace chrome_test_util
+
+#endif // IOS_CHROME_TEST_APP_WEB_VIEW_INTERACTION_TEST_UTIL_H_
« no previous file with comments | « ios/chrome/test/app/tab_test_util.mm ('k') | ios/chrome/test/app/web_view_interaction_test_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698