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

Unified Diff: services/keyboard/org/chromium/mojo/keyboard/KeyboardServiceImpl.java

Issue 1089163005: Make the keyboard reappear when you tap on a text field after having dismissed the keyboard. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Turns out you don't want the InputMethodManager.SHOW_FORCED flag set in this case. Created 5 years, 8 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 | « mojo/services/keyboard/public/interfaces/keyboard.mojom ('k') | sky/framework/components/input.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/keyboard/org/chromium/mojo/keyboard/KeyboardServiceImpl.java
diff --git a/services/keyboard/org/chromium/mojo/keyboard/KeyboardServiceImpl.java b/services/keyboard/org/chromium/mojo/keyboard/KeyboardServiceImpl.java
index 36d53b717b4d954c0c0f167d579346d3db1cc9f0..461fca3af2d19198624d9d9ab079bdf20463bcc3 100644
--- a/services/keyboard/org/chromium/mojo/keyboard/KeyboardServiceImpl.java
+++ b/services/keyboard/org/chromium/mojo/keyboard/KeyboardServiceImpl.java
@@ -65,6 +65,13 @@ public class KeyboardServiceImpl implements KeyboardService {
imm.showSoftInput(sActiveView, InputMethodManager.SHOW_IMPLICIT);
}
+ @Override
+ public void showByRequest() {
+ InputMethodManager imm =
+ (InputMethodManager) mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
+ imm.showSoftInput(sActiveView, 0);
+ }
+
public void hide() {
InputMethodManager imm =
(InputMethodManager) mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
« no previous file with comments | « mojo/services/keyboard/public/interfaces/keyboard.mojom ('k') | sky/framework/components/input.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698