blob: 9c2d9b7b15f0344d6754f2ed6e8417e2490db6a6 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <UIKit/UIKit.h>
#import "ios/chrome/browser/ui/popup_menu/public/cells/popup_menu_item.h"
#import "ios/chrome/browser/ui/table_view/cells/table_view_item.h"
// Item used for the translate infobar's popup menus.
@interface TranslatePopupMenuItem : TableViewItem <PopupMenuItem>
// Title of the item.
@property(nonatomic, copy) NSString* title;
// Associated cell for a TranslatePopupMenuItem.
@interface TranslatePopupMenuCell : UITableViewCell
- (void)setTitle:(NSString*)title;
// After this is called, the cell is listening for the
// UIContentSizeCategoryDidChangeNotification notification and updates its font
// size to the new category.
- (void)registerForContentSizeUpdates;