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

Side by Side Diff: ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h

Issue 2803223002: Create a Most Visited tile for ContentSuggestions (Closed)
Patch Set: Address comments 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698