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

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: Prevent AddNewUiFlagStateToRequestIfExperimentOn test from running on Android Created 3 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
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..248284d48169079b43b272f008670c6af3b3ff10 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 "Save this card?" title or the secondary
+ // "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 | « chrome/browser/flag_descriptions.cc ('k') | chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698