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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java

Issue 861103002: Credentials chooser UI for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Please review. Created 5 years, 10 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: chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java
index f4bd007a415da16b1e5d03d07b458f6237d5bcd0..bd4eed315db11adc26a2f70ddb8f0a83ecdeba09 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java
@@ -624,6 +624,9 @@ public class InfoBarLayout extends ViewGroup implements View.OnClickListener {
measureChildWithFixedWidth(view1, view1.getMeasuredWidth() + extraWidth1);
}
}
+ if (row == ROW_OTHER && mCustomGroup.views.length == 1) {
+ mCustomGroup.gravity = Gravity.FILL_HORIZONTAL;
+ }
}
/**

Powered by Google App Engine
This is Rietveld 408576698