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

Unified Diff: chrome/browser/ui/search/instant_controller.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: Addressed asvitkines comments 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_controller.h
diff --git a/chrome/browser/ui/search/instant_controller.h b/chrome/browser/ui/search/instant_controller.h
index 7964d8717df60a0b574c19a60ac152d6f3112bde..9ef951185a48b36a0e80272d7b7279d50eb5166c 100644
--- a/chrome/browser/ui/search/instant_controller.h
+++ b/chrome/browser/ui/search/instant_controller.h
@@ -270,6 +270,11 @@ class InstantController : public InstantPage::Delegate,
// Returns the InstantService for the browser profile.
InstantService* GetInstantService() const;
+ // 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);
+
BrowserInstantController* const browser_;
// Whether the extended API and regular API are enabled. If both are false,

Powered by Google App Engine
This is Rietveld 408576698