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

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

Issue 2787503002: Move FaviconAttributes to UI (Closed)
Patch Set: Move to different targets 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
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_UI_FAVICON_FAVICON_ATTRIBUTES_PROVIDER_H_
6 #define IOS_CHROME_BROWSER_FAVICON_FAVICON_ATTRIBUTES_PROVIDER_H_ 6 #define IOS_CHROME_BROWSER_UI_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/31 08:35:03 This is the problematic dependency. ios/chrome/bro
gambard 2017/03/31 08:37:02 I don't understand. This file is in ios/chrome/bro
sdefresne 2017/04/03 09:31:53 Sorry, I didn't see that all files where moved.
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 14 matching lines...) Expand all
34 34
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_UI_FAVICON_FAVICON_ATTRIBUTES_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698