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

Unified Diff: chrome/browser/rlz/rlz.cc

Issue 18516011: InstantExtended: Remove overlay control code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-re-rebase. Created 7 years, 6 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/rlz/rlz.cc
diff --git a/chrome/browser/rlz/rlz.cc b/chrome/browser/rlz/rlz.cc
index fc4e7ba9e6f3221468a57669fa95b1c45ec73de2..5a77456c4c7beee68d3b0c3123b6266022a8f785 100644
--- a/chrome/browser/rlz/rlz.cc
+++ b/chrome/browser/rlz/rlz.cc
@@ -278,10 +278,6 @@ bool RLZTracker::Init(bool first_run,
// the user performs a first search.
registrar_.Add(this, chrome::NOTIFICATION_OMNIBOX_OPENED_URL,
content::NotificationService::AllSources());
- // If instant is enabled we'll start searching as soon as the user starts
- // typing in the omnibox (which triggers INSTANT_CONTROLLER_UPDATED).
- registrar_.Add(this, chrome::NOTIFICATION_INSTANT_CONTROLLER_UPDATED,
- content::NotificationService::AllSources());
// Register for notifications from navigations, to see if the user has used
// the home page.
@@ -386,12 +382,9 @@ void RLZTracker::Observe(int type,
const content::NotificationDetails& details) {
switch (type) {
case chrome::NOTIFICATION_OMNIBOX_OPENED_URL:
- case chrome::NOTIFICATION_INSTANT_CONTROLLER_UPDATED:
RecordFirstSearch(CHROME_OMNIBOX);
registrar_.Remove(this, chrome::NOTIFICATION_OMNIBOX_OPENED_URL,
content::NotificationService::AllSources());
- registrar_.Remove(this, chrome::NOTIFICATION_INSTANT_CONTROLLER_UPDATED,
- content::NotificationService::AllSources());
break;
case content::NOTIFICATION_NAV_ENTRY_PENDING: {
const NavigationEntry* entry =
« no previous file with comments | « chrome/browser/history/history_tab_helper.cc ('k') | chrome/browser/search/instant_extended_context_menu_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698