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

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

Issue 2787503002: Move FaviconAttributes to UI (Closed)
Patch Set: Add blank line 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_UI_FAVICON_VIEW_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_FAVICON_FAVICON_VIEW_H_
6 #define IOS_CHROME_BROWSER_UI_FAVICON_VIEW_H_ 6 #define IOS_CHROME_BROWSER_UI_FAVICON_FAVICON_VIEW_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/chrome/browser/favicon/favicon_attributes.h" 10 #import "ios/chrome/browser/ui/favicon/favicon_attributes.h"
11 11
12 namespace { 12 namespace {
13 // Minimum width and height of favicon. 13 // Minimum width and height of favicon.
14 const CGFloat kFaviconMinSize = 16.0f; 14 const CGFloat kFaviconMinSize = 16.0f;
15 // Default width and height of favicon. 15 // Default width and height of favicon.
16 const CGFloat kFaviconPreferredSize = 24.0f; 16 const CGFloat kFaviconPreferredSize = 24.0f;
17 } // namespace 17 } // namespace
18 18
19 @interface FaviconViewNew : UIView 19 @interface FaviconViewNew : UIView
20 20
21 // Configures this view with given attributes. 21 // Configures this view with given attributes.
22 - (void)configureWithAttributes:(FaviconAttributes*)attributes; 22 - (void)configureWithAttributes:(FaviconAttributes*)attributes;
23 // Sets monogram font. 23 // Sets monogram font.
24 - (void)setFont:(UIFont*)font; 24 - (void)setFont:(UIFont*)font;
25 25
26 @end 26 @end
27 27
28 #endif // IOS_CHROME_BROWSER_UI_FAVICON_VIEW_H_ 28 #endif // IOS_CHROME_BROWSER_UI_FAVICON_FAVICON_VIEW_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/favicon/favicon_attributes_provider.mm ('k') | ios/chrome/browser/ui/favicon/favicon_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698