chromium/ios/chrome/browser/ui/tab_switcher/tab_strip/ui/tab_strip_cell.h

// Copyright 2024 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_STRIP_UI_TAB_STRIP_CELL_H_
#define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_STRIP_UI_TAB_STRIP_CELL_H_

#import <UIKit/UIKit.h>

// UICollectionViewCell which represents an item in TabStripViewController.
@interface TabStripCell : UICollectionViewCell

// The title of the cell.
@property(nonatomic, copy) NSString* title;

// Preview parameters of the cell when dragged.
@property(nonatomic, readonly) UIDragPreviewParameters* dragPreviewParameters;

// Whether the cell intersects the left edge of the collection view. Default
// value is NO.
@property(nonatomic, assign) BOOL intersectsLeftEdge;

// Whether the cell intersects the right edge of the collection view. Default
// value is NO.
@property(nonatomic, assign) BOOL intersectsRightEdge;

// Sets the color of this cell's group stroke.
// Subclasses should override this method. Default implementation is no-op.
@property(nonatomic, copy) UIColor* groupStrokeColor;

@end

#endif  // IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_STRIP_UI_TAB_STRIP_CELL_H_