OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_FAVICON_VIEW_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_FAVICON_VIEW_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 #import "ios/chrome/browser/favicon/favicon_attributes.h" |
| 11 |
| 12 namespace { |
| 13 // Minimum width and height of favicon. |
| 14 const CGFloat kFaviconMinSize = 16.0f; |
| 15 // Default width and height of favicon. |
| 16 const CGFloat kFaviconPreferredSize = 24.0f; |
| 17 } // namespace |
| 18 |
| 19 @interface FaviconViewNew : UIView |
| 20 |
| 21 // Configures this view with given attributes. |
| 22 - (void)configureWithAttributes:(FaviconAttributes*)attributes; |
| 23 // Sets monogram font. |
| 24 - (void)setFont:(UIFont*)font; |
| 25 |
| 26 @end |
| 27 |
| 28 #endif // IOS_CHROME_BROWSER_UI_FAVICON_VIEW_H_ |
OLD | NEW |