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

Unified Diff: ui/keyboard/keyboard_test_util.h

Issue 2702933002: Add an end to end test: virtual keyboard opens on click of text input (Closed)
Patch Set: Updated the test so to simulate user's click. 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
« no previous file with comments | « ui/keyboard/keyboard_controller.cc ('k') | ui/keyboard/keyboard_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_test_util.h
diff --git a/ui/keyboard/keyboard_test_util.h b/ui/keyboard/keyboard_test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..18d6e3dc9b0bf085517976777b51a28d4611f94a
--- /dev/null
+++ b/ui/keyboard/keyboard_test_util.h
@@ -0,0 +1,20 @@
+// Copyright 2017 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 UI_KEYBOARD_KEYBOARD_TEST_UTIL_
+#define UI_KEYBOARD_KEYBOARD_TEST_UTIL_
+
+namespace keyboard {
+
+// Waits until the keyboard is shown. Return false if there is no keyboard
+// window created.
+bool WaitUntilShown();
+
+// Waits until the keyboard is hidden. Return false if there is no keyboard
+// window created.
+bool WaitUntilHidden();
+
+} // namespace keyboard
+
+#endif // UI_KEYBOARD_KEYBOARD_TEST_UTIL_
« no previous file with comments | « ui/keyboard/keyboard_controller.cc ('k') | ui/keyboard/keyboard_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698