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

Side by Side Diff: chrome/browser/dom_ui/new_tab_ui.h

Issue 42623: Make the bookmarks bar disappear when the load after the new tab page commits... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
6 #define CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ 6 #define CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
7 7
8 #include "chrome/browser/dom_ui/dom_ui.h" 8 #include "chrome/browser/dom_ui/dom_ui.h"
9 9
10 class GURL; 10 class GURL;
11 class Profile; 11 class Profile;
12 12
13 // The TabContents used for the New Tab page. 13 // The TabContents used for the New Tab page.
14 class NewTabUI : public DOMUI { 14 class NewTabUI : public DOMUI {
15 public: 15 public:
16 explicit NewTabUI(WebContents* manager); 16 explicit NewTabUI(WebContents* manager);
17 ~NewTabUI();
17 18
18 private: 19 private:
19 // The message id that should be displayed in this NewTabUIContents 20 // The message id that should be displayed in this NewTabUIContents
20 // instance's motd area. 21 // instance's motd area.
21 int motd_message_id_; 22 int motd_message_id_;
22 23
23 // Whether the user is in incognito mode or not, used to determine 24 // Whether the user is in incognito mode or not, used to determine
24 // what HTML to load. 25 // what HTML to load.
25 bool incognito_; 26 bool incognito_;
26 27
27 DISALLOW_COPY_AND_ASSIGN(NewTabUI); 28 DISALLOW_COPY_AND_ASSIGN(NewTabUI);
28 }; 29 };
29 30
30 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ 31 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698