Index: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialog.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialog.java b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialog.java |
index f48559d6852dbc147dd6e45e5406d3102df1ebc2..3d2be07ce91fe0c81db808c58422b48658df4325 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialog.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialog.java |
@@ -192,6 +192,11 @@ public class AutofillDialog extends AlertDialog |
public String getSaveLocallyText(); |
/** |
+ * @return The legal documents text. |
+ */ |
+ public String getLegalDocumentsText(); |
+ |
+ /** |
* @return The progress bar label. |
*/ |
public String getProgressBarText(); |
@@ -418,6 +423,7 @@ public class AutofillDialog extends AlertDialog |
*/ |
public void updateAccountChooser(String[] accounts, int selectedAccountIndex) { |
mTitleView.updateAccountsAndSelect(Arrays.asList(accounts), selectedAccountIndex); |
+ mContentView.updateLegalDocumentsText(mDelegate.getLegalDocumentsText()); |
} |
/** |
@@ -429,6 +435,7 @@ public class AutofillDialog extends AlertDialog |
public void modelChanged(boolean fetchingIsActive) { |
if (fetchingIsActive) { |
changeLayoutTo(AutofillDialogContentView.LAYOUT_FETCHING); |
+ mTitleView.hideLogoAndAccountChooserVisibility(); |
} else { |
changeLayoutTo(AutofillDialogContentView.LAYOUT_STEADY); |
} |