| 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 #import "ios/chrome/browser/ui/favicon_view.h" | 5 #import "ios/chrome/browser/ui/favicon/favicon_view.h" |
| 6 | 6 |
| 7 #import "ios/chrome/browser/ui/uikit_ui_util.h" | 7 #import "ios/chrome/browser/ui/uikit_ui_util.h" |
| 8 | 8 |
| 9 #if !defined(__has_feature) || !__has_feature(objc_arc) | 9 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 10 #error "This file requires ARC support." | 10 #error "This file requires ARC support." |
| 11 #endif | 11 #endif |
| 12 | 12 |
| 13 namespace { | 13 namespace { |
| 14 // Default corner radius for the favicon image view. | 14 // Default corner radius for the favicon image view. |
| 15 const CGFloat kDefaultCornerRadius = 3; | 15 const CGFloat kDefaultCornerRadius = 3; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 self.faviconFallbackLabel.font = font; | 79 self.faviconFallbackLabel.font = font; |
| 80 } | 80 } |
| 81 | 81 |
| 82 #pragma mark - UIView | 82 #pragma mark - UIView |
| 83 | 83 |
| 84 - (CGSize)intrinsicContentSize { | 84 - (CGSize)intrinsicContentSize { |
| 85 return CGSizeMake(kFaviconPreferredSize, kFaviconPreferredSize); | 85 return CGSizeMake(kFaviconPreferredSize, kFaviconPreferredSize); |
| 86 } | 86 } |
| 87 | 87 |
| 88 @end | 88 @end |
| OLD | NEW |