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

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

Issue 2361393004: Creates FaviconAttributesProvider. (Closed)
Patch Set: comments & typo Created 4 years, 2 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
(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 namespace {
13 // Minimum width and height of favicon.
14 const CGFloat kFaviconMinSize = 16.0f;
15 // Default width and height of favicon.
16 const CGFloat kFaviconPreferredSize = 24.0f;
17 } // namespace
18
19 @interface FaviconViewNew : UIView
20
21 // Configures this view with given attributes.
22 - (void)configureWithAttributes:(FaviconAttributes*)attributes;
23 // Sets monogram font.
24 - (void)setFont:(UIFont*)font;
25
26 @end
27
28 #endif // IOS_CHROME_BROWSER_UI_FAVICON_VIEW_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/favicon/favicon_attributes_provider.mm ('k') | ios/chrome/browser/ui/favicon_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698