From 5ed4ba5f65ce49c736bb16ddff31948c17c5938e Mon Sep 17 00:00:00 2001 From: "arv@chromium.org" Date: Tue, 19 May 2009 00:55:50 +0000 Subject: Adds a new command line switch called new-new-tab-page which enables the prototype new new tab page. Split the DownloadsDOMHandler into its own file. The prototype is rough and has bugs. Don't file any bugs on it! TEST=Run with the command line above and you should see an alternative new tab page. Review URL: http://codereview.chromium.org/115426 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16351 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/dom_ui/new_tab_ui.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'chrome/browser/dom_ui/new_tab_ui.h') diff --git a/chrome/browser/dom_ui/new_tab_ui.h b/chrome/browser/dom_ui/new_tab_ui.h index f233b0f..1efb8dd 100644 --- a/chrome/browser/dom_ui/new_tab_ui.h +++ b/chrome/browser/dom_ui/new_tab_ui.h @@ -12,6 +12,10 @@ class GURL; class PrefService; class Profile; +namespace { + class NewTabHTMLSource; +} + // The TabContents used for the New Tab page. class NewTabUI : public DOMUI, public NotificationObserver { @@ -21,6 +25,9 @@ class NewTabUI : public DOMUI, static void RegisterUserPrefs(PrefService* prefs); + // Whether we should use the prototype new tab page. + static bool EnableNewNewTabPage(); + private: void Observe(NotificationType type, const NotificationSource& source, -- cgit v1.1