Chromium Code Reviews| 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 #ifndef IOS_CHROME_BROWSER_UI_HISTORY_FAVICON_VIEW_PROVIDER_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_HISTORY_FAVICON_VIEW_PROVIDER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_HISTORY_FAVICON_VIEW_PROVIDER_H_ | 6 #define IOS_CHROME_BROWSER_UI_HISTORY_FAVICON_VIEW_PROVIDER_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 namespace favicon { | 10 namespace favicon { |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 // favicon has been loaded, and may be nil. | 31 // favicon has been loaded, and may be nil. |
| 32 - (instancetype)initWithURL:(const GURL&)URL | 32 - (instancetype)initWithURL:(const GURL&)URL |
| 33 faviconSize:(CGFloat)faviconSize | 33 faviconSize:(CGFloat)faviconSize |
| 34 minFaviconSize:(CGFloat)minFaviconSize | 34 minFaviconSize:(CGFloat)minFaviconSize |
| 35 largeIconService:(favicon::LargeIconService*)largeIconService | 35 largeIconService:(favicon::LargeIconService*)largeIconService |
| 36 delegate:(id<FaviconViewProviderDelegate>)delegate | 36 delegate:(id<FaviconViewProviderDelegate>)delegate |
| 37 NS_DESIGNATED_INITIALIZER; | 37 NS_DESIGNATED_INITIALIZER; |
| 38 - (instancetype)init NS_UNAVAILABLE; | 38 - (instancetype)init NS_UNAVAILABLE; |
| 39 | 39 |
| 40 // View that displays a favicon or fallback icon. | 40 // View that displays a favicon or fallback icon. |
| 41 @property(nonatomic, readonly) FaviconView* faviconView; | 41 @property(weak, nonatomic, readonly) FaviconView* faviconView; |
|
lpromero
2017/01/11 18:03:51
Seems backed by a scoped_nsobject, so is it really
stkhapugin
2017/01/12 14:15:43
Done.
| |
| 42 | 42 |
| 43 @end | 43 @end |
| 44 | 44 |
| 45 #endif // IOS_CHROME_BROWSER_UI_HISTORY_FAVICON_VIEW_PROVIDER_H_ | 45 #endif // IOS_CHROME_BROWSER_UI_HISTORY_FAVICON_VIEW_PROVIDER_H_ |
| OLD | NEW |