summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.cc
diff options
context:
space:
mode:
authormirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 22:37:42 +0000
committermirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 22:37:42 +0000
commit6677024d9674022969241eb0d8e7584871e13eae (patch)
treea53c5a907f379266c4c09bfeb617d46500cc7e94 /chrome/browser/dom_ui/new_tab_ui.cc
parentf4ef861ba773e66d1c6e7e023a38db32afdd531d (diff)
downloadchromium_src-6677024d9674022969241eb0d8e7584871e13eae.zip
chromium_src-6677024d9674022969241eb0d8e7584871e13eae.tar.gz
chromium_src-6677024d9674022969241eb0d8e7584871e13eae.tar.bz2
Remove tips from NTP.
BUG= 50072 TEST= no tips on NTP. Review URL: http://codereview.chromium.org/3033032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54045 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.cc')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index 4bb445d..c033974 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -23,7 +23,6 @@
#include "chrome/browser/dom_ui/new_tab_page_sync_handler.h"
#include "chrome/browser/dom_ui/ntp_resource_cache.h"
#include "chrome/browser/dom_ui/shown_sections_handler.h"
-#include "chrome/browser/dom_ui/tips_handler.h"
#include "chrome/browser/metrics/user_metrics.h"
#include "chrome/browser/pref_service.h"
#include "chrome/browser/profile.h"
@@ -463,8 +462,6 @@ NewTabUI::NewTabUI(TabContents* contents)
AddMessageHandler((new MostVisitedHandler())->Attach(this));
AddMessageHandler((new RecentlyClosedTabsHandler())->Attach(this));
AddMessageHandler((new MetricsHandler())->Attach(this));
- if (WebResourcesEnabled())
- AddMessageHandler((new TipsHandler())->Attach(this));
if (GetProfile()->IsSyncAccessible())
AddMessageHandler((new NewTabPageSyncHandler())->Attach(this));
if (Extension::AppsAreEnabled()) {
@@ -540,8 +537,6 @@ void NewTabUI::RegisterUserPrefs(PrefService* prefs) {
MostVisitedHandler::RegisterUserPrefs(prefs);
ShownSectionsHandler::RegisterUserPrefs(prefs);
- if (NewTabUI::WebResourcesEnabled())
- TipsHandler::RegisterUserPrefs(prefs);
UpdateUserPrefsVersion(prefs);
}