blob: 41cd295f80f595a10efe6811fffbb4491ca33784 [file] [log] [blame]
// Copyright 2016 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/common/favicon/favicon_attributes.h"
namespace {
// Minimum width and height of favicon.
const CGFloat kFaviconMinSize = 16.0f;
// Default width and height of favicon.
const CGFloat kFaviconPreferredSize = 24.0f;
} // namespace
@interface FaviconView : UIView
// Configures this view with given attributes.
- (void)configureWithAttributes:(nullable FaviconAttributes*)attributes;
// Sets monogram font.
- (void)setFont:(nonnull UIFont*)font;