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

Unified Diff: components/ntp_snippets/category_rankers/category_ranker.h

Issue 2610553002: [NTP::SectionOrder] Make ClickBasedRanker move dismissed sections down. (Closed)
Patch Set: jkrcal@ comment. Created 3 years, 12 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
« no previous file with comments | « no previous file | components/ntp_snippets/category_rankers/click_based_category_ranker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ntp_snippets/category_rankers/category_ranker.h
diff --git a/components/ntp_snippets/category_rankers/category_ranker.h b/components/ntp_snippets/category_rankers/category_ranker.h
index 30cf36bf8e2670e0166fa079f0bf66f59d583c09..c403625e6166625b8c597ef51bbb087a45a000a6 100644
--- a/components/ntp_snippets/category_rankers/category_ranker.h
+++ b/components/ntp_snippets/category_rankers/category_ranker.h
@@ -36,6 +36,9 @@ class CategoryRanker {
// Called whenever a suggestion is opened by the user.
virtual void OnSuggestionOpened(Category category) = 0;
+
+ // Called whenever a category is dismissed by the user.
+ virtual void OnCategoryDismissed(Category category) = 0;
};
} // namespace ntp_snippets
« no previous file with comments | « no previous file | components/ntp_snippets/category_rankers/click_based_category_ranker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698