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

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: Fixed rebase issues 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 721c3b31d51124b7c8f3ccd20f73f31b43216aeb..a2bb3f4402981c5c0ef1a92a4f5f517d95d2983d 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