chromium/ios/chrome/browser/ntp/ui_bundled/new_tab_page_constants.h

// 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 IOS_CHROME_BROWSER_NTP_UI_BUNDLED_NEW_TAB_PAGE_CONSTANTS_H_
#define IOS_CHROME_BROWSER_NTP_UI_BUNDLED_NEW_TAB_PAGE_CONSTANTS_H_

#import <Foundation/Foundation.h>

// Represents the NTP parent view.
extern NSString* const kNTPViewIdentifier;

// Represents the NTP collection view.
extern NSString* const kNTPCollectionViewIdentifier;

// Represents the incognito NTP view.
extern NSString* const kNTPIncognitoViewIdentifier;

// Represents the feed header container.
extern NSString* const kNTPFeedHeaderIdentifier;

// Represents the management button of the feed header.
extern NSString* const kNTPFeedHeaderManagementButtonIdentifier;

// Represents the sort button of the feed header.
extern NSString* const kNTPFeedHeaderSortButtonIdentifier;

// Represents the segmented control of the feed header.
extern NSString* const kNTPFeedHeaderSegmentedControlIdentifier;

// Represents the identity disc of the feed header.
extern NSString* const kNTPFeedHeaderIdentityDisc;

// Represents the customization menu button of the feed header.
extern NSString* const kNTPCustomizationMenuButtonIdentifier;

// Represents the identity disc badge.
extern NSString* const kNTPFeedHeaderIdentityDiscBadge;

// The corner radius for the module containers on the Home surface.
extern const CGFloat kHomeModuleContainerCornerRadius;

// The minimum padding between the content and the edges of the screen,
// expressed as a percentage which includes both sides.
extern const CGFloat kHomeModuleMinimumPadding;

// The vertical spacing between modules on the Home surface.
extern const CGFloat kSpaceBetweenModules;

// The maximum number of times to show the new badge on the Customization menu
// entrypoint.
extern const NSInteger kCustomizationNewBadgeMaxImpressionCount;

#endif  // IOS_CHROME_BROWSER_NTP_UI_BUNDLED_NEW_TAB_PAGE_CONSTANTS_H_