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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarTablet.java

Issue 2788263002: Fix tablet input mode test (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarTablet.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarTablet.java b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarTablet.java
index 07cb7c04e93f4b8ace884146ab88a17ec92fe418..362430a474df154839a4ddf8226b1d1d2217a94e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarTablet.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarTablet.java
@@ -212,9 +212,9 @@ public class LocationBarTablet extends LocationBarLayout {
if (hasFocus) {
if (mSecurityButton.getVisibility() == VISIBLE) mSecurityButton.setVisibility(GONE);
if (getWindowDelegate().getWindowSoftInputMode()
- != WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN) {
+ != WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING) {
getWindowDelegate().setWindowSoftInputMode(
- WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
+ WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING);
}
UiUtils.showKeyboard(mUrlBar);
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698