Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_FAVICON_FAVICON_ATTRIBUTES_PROVIDER_H_ | 5 #ifndef IOS_CHROME_BROWSER_FAVICON_FAVICON_ATTRIBUTES_PROVIDER_H_ |
| 6 #define IOS_CHROME_BROWSER_FAVICON_FAVICON_ATTRIBUTES_PROVIDER_H_ | 6 #define IOS_CHROME_BROWSER_FAVICON_FAVICON_ATTRIBUTES_PROVIDER_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 #import "ios/chrome/browser/favicon/favicon_attributes.h" | 9 #import "ios/chrome/browser/ui/favicon/favicon_attributes.h" |
|
sdefresne
2017/03/29 14:42:44
rohitrao wants to avoid dependencies ios/chrome/br
gambard
2017/03/29 16:17:18
Done.
| |
| 10 | 10 |
| 11 namespace favicon { | 11 namespace favicon { |
| 12 class LargeIconService; | 12 class LargeIconService; |
| 13 } // namespace favicon | 13 } // namespace favicon |
| 14 | 14 |
| 15 @class FaviconViewProvider; | 15 @class FaviconViewProvider; |
| 16 class GURL; | 16 class GURL; |
| 17 | 17 |
| 18 // Object to fetch favicon attributes by URL - an image or a fallback icon if | 18 // Object to fetch favicon attributes by URL - an image or a fallback icon if |
| 19 // there is no favicon image available with large enough resolution. | 19 // there is no favicon image available with large enough resolution. |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 35 // LargeIconService used to fetch favicons. | 35 // LargeIconService used to fetch favicons. |
| 36 @property(nonatomic, readonly) favicon::LargeIconService* largeIconService; | 36 @property(nonatomic, readonly) favicon::LargeIconService* largeIconService; |
| 37 // Minimal acceptable favicon size. Below that, will fall back to a monogram. | 37 // Minimal acceptable favicon size. Below that, will fall back to a monogram. |
| 38 @property(nonatomic, readonly) CGFloat minSize; | 38 @property(nonatomic, readonly) CGFloat minSize; |
| 39 // Expected favicon size (in points). Will downscale favicon to this. | 39 // Expected favicon size (in points). Will downscale favicon to this. |
| 40 @property(nonatomic, readonly) CGFloat faviconSize; | 40 @property(nonatomic, readonly) CGFloat faviconSize; |
| 41 | 41 |
| 42 @end | 42 @end |
| 43 | 43 |
| 44 #endif // IOS_CHROME_BROWSER_FAVICON_FAVICON_ATTRIBUTES_PROVIDER_H_ | 44 #endif // IOS_CHROME_BROWSER_FAVICON_FAVICON_ATTRIBUTES_PROVIDER_H_ |
| OLD | NEW |