blob: c797b7cd3e75d09bd71eba43fb676bf5e11d5df8 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_SAVE_CARD_UI_H_
#define CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_SAVE_CARD_UI_H_
namespace autofill {
// The type of save card bubble to show.
enum class BubbleType {
// Save prompt when the user is saving locally.
LOCAL_SAVE,
// Save prompt when uploading a card to Google payments.
UPLOAD_SAVE,
// Credit card upload is in progress. No bubble visible but show the credit
// card icon with the loading indicator animation.
UPLOAD_IN_PROGRESS,
// The sign-in promo that is shown after local save.
SIGN_IN_PROMO,
// The manage cards bubble when bubble is reshown after
// icon is clicked.
MANAGE_CARDS,
// The failure bubble when credit card uploading failed.
FAILURE,
// There is no bubble to show anymore. This also
// indicates that the icon should not be visible.
INACTIVE
};
} // namespace autofill
#endif // CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_SAVE_CARD_UI_H_