blob: 054f7f34b9941e7a1be57e74ef0bf00922e54736 [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PAYMENTS_CORE_SIZES_H_
#define COMPONENTS_PAYMENTS_CORE_SIZES_H_
namespace payments {
// The default width of icons for the SPC Transaction UX. Used for any fallback
// icons that may be shown if the caller-supplied icon isn't available.
inline constexpr int kSecurePaymentConfirmationIconDefaultWidthPx = 20;
// The maximum width of icons in the SPC Transaction UX. Used as the preferred
// size of downloaded icons.
inline constexpr int kSecurePaymentConfirmationIconMaximumWidthPx = 32;
// The default height of icons for the SPC Transaction UX.
inline constexpr int kSecurePaymentConfirmationIconHeightPx = 20;
} // namespace payments
#endif // COMPONENTS_PAYMENTS_CORE_SIZES_H_