Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Side by Side Diff: ios/chrome/browser/favicon/favicon_attributes_provider.h

Issue 2787503002: Move FaviconAttributes to UI (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/chrome/browser/favicon/favicon_attributes.mm ('k') | ios/chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ios/chrome/browser/favicon/favicon_attributes.mm ('k') | ios/chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698