chromium/ios/chrome/common/ui/promo_style/constants.mm

// 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.

#import "ios/chrome/common/ui/promo_style/constants.h"

#import <Foundation/Foundation.h>

NSString* const kPromoStyleHeaderViewBackgroundAccessibilityIdentifier =
    @"PromoStyleHeaderViewBackgroundAccessibilityIdentifier";
NSString* const kPromoStyleTitleAccessibilityIdentifier =
    @"PromoStyleTitleAccessibilityIdentifier";
NSString* const kPromoStyleSubtitleAccessibilityIdentifier =
    @"PromoStyleSubtitleAccessibilityIdentifier";
NSString* const kPromoStyleReadMoreActionAccessibilityIdentifier =
    @"PromoStyleReadMoreActionAccessibilityIdentifier";
NSString* const kPromoStylePrimaryActionAccessibilityIdentifier =
    @"PromoStylePrimaryActionAccessibilityIdentifier";
NSString* const kPromoStyleSecondaryActionAccessibilityIdentifier =
    @"PromoStyleSecondaryActionAccessibilityIdentifier";
NSString* const kPromoStyleTertiaryActionAccessibilityIdentifier =
    @"PromoStyleTertiaryActionAccessibilityIdentifier";
NSString* const kPromoStyleLearnMoreActionAccessibilityIdentifier =
    @"PromoStyleLearnMoreActionAccessibilityIdentifier";
NSString* const kPromoStyleDisclaimerViewAccessibilityIdentifier =
    @"PromoStyleDisclaimerViewAccessibilityIdentifier";
NSString* const kPromoStyleScrollViewAccessibilityIdentifier =
    @"PromoStyleScrollViewAccessibilityIdentifier";

const CGFloat kPromoStyleDefaultMargin = 16.;
const CGFloat kActionsBottomMarginWithSafeArea = 10.;
const CGFloat kActionsBottomMarginWithoutSafeArea =
    kActionsBottomMarginWithSafeArea * 2;