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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_ui.h

Issue 8689013: Remove TOUCH_UI specific new tab page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk Created 9 years, 1 month 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/webui/ntp/new_tab_ui.h
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.h b/chrome/browser/ui/webui/ntp/new_tab_ui.h
index ddeb36cba4fb3f4f0ccaeb105142f09d8e7dbfb0..00281a3147a8e6eaac6bd1d34b565bdad2dc5e7b 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.h
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h
@@ -11,7 +11,6 @@
#include "base/gtest_prod_util.h"
#include "base/time.h"
#include "base/timer.h"
-#include "chrome/browser/prefs/pref_change_registrar.h"
#include "chrome/browser/sessions/tab_restore_service.h"
#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
#include "chrome/browser/ui/webui/chrome_web_ui.h"
@@ -45,9 +44,6 @@ class NewTabUI : public ChromeWebUI,
// The current preference version.
static int current_pref_version() { return current_pref_version_; }
- // Returns whether NTP4 is enabled.
- static bool NTP4Enabled();
-
// Returns whether NTP4 bookmark features are enabled.
static bool NTP4BookmarkFeaturesEnabled();
@@ -93,8 +89,6 @@ class NewTabUI : public ChromeWebUI,
content::NotificationRegistrar registrar_;
- // Tracks updates of the kShowBookmarkBar preference.
- PrefChangeRegistrar pref_change_registrar_;
// The time when we started benchmarking.
base::TimeTicks start_;
// The last time we got a paint notification.

Powered by Google App Engine
This is Rietveld 408576698