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

Unified Diff: chrome/browser/ui/autofill/save_card_bubble_controller_impl.h

Issue 2955963002: Update Chrome Upstream flow to reflect new UI mocks (Closed)
Patch Set: Actioning code review comments from Patch Set 4 Created 3 years, 5 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/save_card_bubble_controller_impl.h
diff --git a/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h b/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h
index aa633492bd0fbe63a7d6b39086756a216e9014ae..571ac6cc6e90158a166ecceb58f3d866078f61b6 100644
--- a/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h
+++ b/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h
@@ -66,6 +66,7 @@ class SaveCardBubbleControllerImpl
void OnBubbleClosed() override;
const LegalMessageLines& GetLegalMessageLines() const override;
+ void SetShowUploadConfirmTitle(bool show_upload_confirm_title) override;
// Used to check if an entered CVC value is a valid CVC for the current card.
// Valid CVCs are a certain length for their card type (4 for AMEX, 3
@@ -105,17 +106,21 @@ class SaveCardBubbleControllerImpl
base::Closure save_card_callback_;
// Governs whether the upload or local save version of the UI should be shown.
- bool is_uploading_{false};
+ bool is_uploading_ = false;
// Whether ReshowBubble() has been called since ShowBubbleFor*() was called.
- bool is_reshow_{false};
+ bool is_reshow_ = false;
// Whether the upload save version of the UI should ask the user for CVC.
- bool should_cvc_be_requested_{false};
+ bool should_cvc_be_requested_ = false;
// The value of the CVC entered by the user (if it was requested).
base::string16 cvc_entered_by_user_;
+ // Whether the normal title or the "Confirm [card]" title should be shown
+ // during upload save.
+ bool show_upload_confirm_title_ = false;
+
// Contains the details of the card that will be saved if the user accepts.
CreditCard card_;
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc » ('j') | ui/views/bubble/bubble_frame_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698