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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestion.h

Issue 2775593002: Add a message to empty ContentSuggestions sections (Closed)
Patch Set: Reviewable Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/content_suggestions/content_suggestion.h
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestion.h b/ios/chrome/browser/ui/content_suggestions/content_suggestion.h
index 227275f3fa897f9bff7c81ea009344ac8b165269..ddfff075e2ca1ebf96c81e0257a89d060677dd6a 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestion.h
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestion.h
@@ -17,6 +17,9 @@ class GURL;
// Enum defining the type of a ContentSuggestions.
typedef NS_ENUM(NSInteger, ContentSuggestionType) {
+ // Use this type pass information about an empty section. Suggestion of this
lpromero 2017/03/23 10:54:37 "to" pass?
gambard 2017/03/23 15:25:49 Done.
+ // type are empty and should not be displayed.
lpromero 2017/03/23 10:54:37 Why "should not be displayed"? Isn't there a messa
gambard 2017/03/23 15:25:49 Comment updated.
+ ContentSuggestionTypeEmpty,
ContentSuggestionTypeArticle
};

Powered by Google App Engine
This is Rietveld 408576698