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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc

Issue 20651004: rAc: add Google Wallet logo to bottom left. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MockAutofillDialogController update Created 7 years, 4 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/browser/ui/autofill/autofill_dialog_controller_impl.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
index 32d1383c2779b1a94df1cd7db5ac565f85d1f0ec..feb5b9d6c3785a1c4f963ec98b2c62708680bd20 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -1277,6 +1277,15 @@ bool AutofillDialogControllerImpl::ShouldShowProgressBar() const {
return autocheckout_state_ == AUTOCHECKOUT_IN_PROGRESS;
}
+gfx::Image AutofillDialogControllerImpl::ButtonStripImage() const {
+ if (ShouldShowDetailArea() && IsPayingWithWallet()) {
+ return ui::ResourceBundle::GetSharedInstance().GetImageNamed(
+ IDR_WALLET_LOGO);
+ }
+
+ return gfx::Image();
+}
+
string16 AutofillDialogControllerImpl::LabelForSection(DialogSection section)
const {
switch (section) {

Powered by Google App Engine
This is Rietveld 408576698