| OLD | NEW |
| 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 <string> |
| 9 |
| 8 #include "chrome/browser/dom_ui/dom_ui.h" | 10 #include "chrome/browser/dom_ui/dom_ui.h" |
| 9 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 11 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" |
| 10 #include "chrome/common/notification_registrar.h" | 12 #include "chrome/common/notification_registrar.h" |
| 11 | 13 |
| 12 class GURL; | 14 class GURL; |
| 13 class MessageLoop; | 15 class MessageLoop; |
| 14 class PrefService; | 16 class PrefService; |
| 15 class Profile; | 17 class Profile; |
| 16 | 18 |
| 17 // The TabContents used for the New Tab page. | 19 // The TabContents used for the New Tab page. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 int motd_message_id_; | 116 int motd_message_id_; |
| 115 | 117 |
| 116 // Whether the user is in incognito mode or not, used to determine | 118 // Whether the user is in incognito mode or not, used to determine |
| 117 // what HTML to load. | 119 // what HTML to load. |
| 118 bool incognito_; | 120 bool incognito_; |
| 119 | 121 |
| 120 DISALLOW_COPY_AND_ASSIGN(NewTabUI); | 122 DISALLOW_COPY_AND_ASSIGN(NewTabUI); |
| 121 }; | 123 }; |
| 122 | 124 |
| 123 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ | 125 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ |
| OLD | NEW |