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

Unified Diff: chrome/browser/ui/search/instant_page.h

Issue 17114002: Field trial removing tiles from NTP if URL is already open - for 1993 clients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing broken diffs Created 7 years, 5 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: chrome/browser/ui/search/instant_page.h
diff --git a/chrome/browser/ui/search/instant_page.h b/chrome/browser/ui/search/instant_page.h
index efd42b33b8f409f3d61b6dbb60c9ff6e448218e3..926ad5e7e61e9a4911bd591e8658e33bb2f92d77 100644
--- a/chrome/browser/ui/search/instant_page.h
+++ b/chrome/browser/ui/search/instant_page.h
@@ -195,6 +195,11 @@ class InstantPage : public content::WebContentsObserver,
void ClearContents();
+ // Removes recommended URLs if a matching URL is already open in the Browser,
+ // if the Most Visited Tile Placement experiment is enabled, and the client is
+ // in the experiment group.
+ void MaybeRemoveMostVisitedItems(std::vector<InstantMostVisitedItem>* items);
+
// Returns the InstantService for the |profile_|.
InstantService* GetInstantService();

Powered by Google App Engine
This is Rietveld 408576698