blob: 8e3b560861c213d00801427a4afb42bba6c41361 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
#define CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
#include "chrome/browser/dom_ui/dom_ui.h"
class GURL;
class PrefService;
class Profile;
// The TabContents used for the New Tab page.
class NewTabUI : public DOMUI {
public:
explicit NewTabUI(TabContents* manager);
~NewTabUI();
static void RegisterUserPrefs(PrefService* prefs);
private:
// The message id that should be displayed in this NewTabUIContents
// instance's motd area.
int motd_message_id_;
// Whether the user is in incognito mode or not, used to determine
// what HTML to load.
bool incognito_;
DISALLOW_COPY_AND_ASSIGN(NewTabUI);
};
#endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
|