summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.h
diff options
context:
space:
mode:
authorarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 00:55:50 +0000
committerarv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 00:55:50 +0000
commit5ed4ba5f65ce49c736bb16ddff31948c17c5938e (patch)
tree35f65274447876453c22ad46f7b2ef6ab53e4830 /chrome/browser/dom_ui/new_tab_ui.h
parentabcfb02cc5b7605049855bf0a1c53e445f51be4b (diff)
downloadchromium_src-5ed4ba5f65ce49c736bb16ddff31948c17c5938e.zip
chromium_src-5ed4ba5f65ce49c736bb16ddff31948c17c5938e.tar.gz
chromium_src-5ed4ba5f65ce49c736bb16ddff31948c17c5938e.tar.bz2
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
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.h')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.h7
1 files changed, 7 insertions, 0 deletions
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,