chromium/ios/chrome/browser/ui/tab_switcher/tab_grid/pinned_tabs/pinned_tabs_constants.h

// Copyright 2022 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_UI_TAB_SWITCHER_TAB_GRID_PINNED_TABS_PINNED_TABS_CONSTANTS_H_
#define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_GRID_PINNED_TABS_PINNED_TABS_CONSTANTS_H_

#import <UIKit/UIKit.h>

// Pinned view dimensions.
extern const CGFloat kPinnedViewDragEnabledHeight;
extern const CGFloat kPinnedViewDefaultHeight;
extern const CGFloat kPinnedViewCornerRadius;
extern const CGFloat kPinnedViewMaxWidthInPercent;

// Pinned view constraints.
extern const CGFloat kPinnedViewHorizontalPadding;
extern const CGFloat kPinnedViewBottomPadding;

// Pinned view animations.
extern const NSTimeInterval kPinnedViewFadeInTime;
extern const NSTimeInterval kPinnedViewDragAnimationTime;
extern const NSTimeInterval kPinnedViewMoveAnimationTime;
extern const NSTimeInterval kPinnedViewInsetAnimationTime;
extern const NSTimeInterval kPinnedViewPopAnimationTime;

// Pinned cell identifier.
extern NSString* const kPinnedCellIdentifier;

// Pinned View identifier.
extern NSString* const kPinnedViewIdentifier;

// Pinned cell dimensions.
extern const CGFloat kPinnedCellHeight;
extern const CGFloat kPinnedCellMaxWidth;
extern const CGFloat kPinnedCellMinWidth;
extern const CGFloat kPinnedCellInteritemSpacing;
extern const CGFloat kPinnedCellPopInitialScale;

// Pinned cell constraints.
extern const CGFloat kPinnedCellCornerRadius;
extern const CGFloat kPinnedCellHorizontalPadding;
extern const CGFloat kPinnedCellTitleLeadingPadding;
extern const CGFloat kPinnedCellSnapshotTopPadding;
extern const CGFloat kPinnedCellFaviconWidth;
extern const CGFloat kPinnedCellFaviconSymbolPointSize;
extern const CGFloat kPinnedCellFaviconContainerWidth;
extern const CGFloat kPinnedCellFaviconBorderWidth;
extern const CGFloat kPinnedCellFaviconContainerCornerRadius;
extern const CGFloat kPinnedCellFaviconCornerRadius;
extern const CGFloat kPinnedCellSelectionRingGapWidth;
extern const CGFloat kPinnedCellSelectionRingTintWidth;
extern const CGFloat kPinnedCellSelectionRingPadding;

// Pinned cell collection view layout constraints.
extern const CGFloat kPinnedCellVerticalLayoutInsets;
extern const CGFloat kPinnedCellHorizontalLayoutInsets;

// Pinned cell title label fader dimensions.
extern const CGFloat kPinnedCellFaderGradientWidth;

#endif  // IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_GRID_PINNED_TABS_PINNED_TABS_CONSTANTS_H_