Chromium Code Reviews| 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 @interface FaviconViewNew : UIView | |
| 13 | |
| 14 // Default width and height of favicon. | |
| 15 + (CGFloat)defaultSize; | |
|
Jackie Quinn
2016/09/23 23:11:01
Why make this a class method rather than a settabl
stkhapugin
2016/09/26 15:51:36
You're right, this is useless. Exposing constants
| |
| 16 // Minimum width and height of favicon. | |
| 17 + (CGFloat)minSize; | |
| 18 | |
| 19 // Configures this view with given attributes. | |
| 20 - (void)configureWithAttribues:(FaviconAttributes* _Nonnull)attributes; | |
| 21 // Sets monogram font. | |
| 22 - (void)setFont:(UIFont* _Nonnull)font; | |
| 23 | |
| 24 @end | |
| 25 | |
| 26 #endif // IOS_CHROME_BROWSER_UI_FAVICON_VIEW_H_ | |
| OLD | NEW |