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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwImeTest.java

Issue 2290133002: Make WebView keep keyboard when losing focus (Closed)
Patch Set: Add some tests Created 4 years, 3 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
Index: android_webview/javatests/src/org/chromium/android_webview/test/AwImeTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwImeTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwImeTest.java
index e06e32c535bb03eb3bc353c11c44efd4396cf5c7..2d1d7b8477910cb36d1771b87261fc4b6ba90b31 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwImeTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwImeTest.java
@@ -134,4 +134,19 @@ public class AwImeTest extends AwTestBase {
focusOnWebViewAndEnableEditing();
waitForNonNullInputConnection();
}
+
+ /**
+ * Tests that moving from WebView to EditText keeps the keyboard showing.
+ */
+ // https://crbug.com/636237
+ @SmallTest
+ @Feature({"AndroidWebView", "TextInput"})
+ public void testMoveFromWebViewtoEditText() throws Throwable {
+ loadContentEditableBody();
+ focusOnWebViewAndEnableEditing();
+ waitForNonNullInputConnection();
+
+ focusOnEditTextAndShowKeyboard();
+ waitForNonNullInputConnection();
+ }
}

Powered by Google App Engine
This is Rietveld 408576698