Index: chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java |
index fa25a1a4b96c3167d620a7973bdc631b6033c35a..36261cc03b48cde3361d813bbba1723c9ce3fe37 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java |
@@ -10,6 +10,7 @@ import android.view.LayoutInflater; |
import android.view.View; |
import android.view.ViewGroup; |
import android.view.ViewParent; |
+import android.view.inputmethod.InputMethodManager; |
import android.widget.FrameLayout; |
import android.widget.LinearLayout; |
@@ -216,6 +217,9 @@ public class TabManager extends LinearLayout { |
mContentViewHolder.addView(mTabModelWrapper); |
} |
mToolbar.showAddButton(true); |
+ InputMethodManager mImm = (InputMethodManager) getContext().getSystemService( |
+ Context.INPUT_METHOD_SERVICE); |
+ mImm.hideSoftInputFromWindow(mContentViewHolder.getWindowToken(), 0); |
} |
/** |