Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 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_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST _VISITED_H_ | |
| 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_MOST _VISITED_H_ | |
| 7 | |
| 8 #import <Foundation/Foundation.h> | |
| 9 | |
| 10 @class FaviconAttributes; | |
| 11 | |
| 12 // Object representing a Most Visited suggestion. | |
| 13 @interface ContentSuggestionsMostVisited : NSObject | |
| 14 | |
| 15 // Title of the Most Visited suggestion. | |
| 16 @property(nonatomic, copy, nullable) NSString* title; | |
| 17 // Attributes used to display the favicon of the Most Visited suggestion. | |
| 18 @property(nonatomic, strong, nullable) FaviconAttributes* attributes; | |
| 19 | |
| 20 // Returns a Most Visited with the properties set. | |
| 21 + (nullable ContentSuggestionsMostVisited*) | |
|
lpromero
2017/04/07 15:16:12
This method implementation seems to indicate it is
gambard
2017/04/10 11:01:37
It is using an init. The init is nullable. How can
| |
| 22 mostVisitedWithTitle:(nullable NSString*)title | |
| 23 attributes:(nullable FaviconAttributes*)attributes; | |
| 24 | |
| 25 @end | |
| 26 | |
| 27 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_CONTENT_SUGGESTIONS_M OST_VISITED_H_ | |
| OLD | NEW |