blob: d8f4e58bfe733d08f342fef56ddafa52c70862a1 [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,
// 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_