| 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 "chrome/browser/bookmarks/bookmark_model.h" | 8 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 9 #include "chrome/browser/dom_ui/dom_ui_host.h" | 9 #include "chrome/browser/dom_ui/dom_ui_host.h" |
| 10 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 10 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" |
| 11 #include "chrome/browser/history/history.h" | 11 #include "chrome/browser/history/history.h" |
| 12 #include "chrome/browser/search_engines/template_url_model.h" |
| 12 #include "chrome/browser/sessions/tab_restore_service.h" | 13 #include "chrome/browser/sessions/tab_restore_service.h" |
| 13 #include "chrome/browser/template_url_model.h" | |
| 14 | 14 |
| 15 class GURL; | 15 class GURL; |
| 16 class Profile; | 16 class Profile; |
| 17 class Value; | 17 class Value; |
| 18 enum TabContentsType; | 18 enum TabContentsType; |
| 19 | 19 |
| 20 // Return the URL for the new tab page. | 20 // Return the URL for the new tab page. |
| 21 GURL NewTabUIURL(); | 21 GURL NewTabUIURL(); |
| 22 | 22 |
| 23 // If a |url| is a chrome-internal: URL, this method sets up |url|, and | 23 // If a |url| is a chrome-internal: URL, this method sets up |url|, and |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 | 298 |
| 299 // A pointer to the handler for most visited. | 299 // A pointer to the handler for most visited. |
| 300 // Owned by the DOMUIHost. | 300 // Owned by the DOMUIHost. |
| 301 MostVisitedHandler* most_visited_handler_; | 301 MostVisitedHandler* most_visited_handler_; |
| 302 | 302 |
| 303 DISALLOW_EVIL_CONSTRUCTORS(NewTabUIContents); | 303 DISALLOW_EVIL_CONSTRUCTORS(NewTabUIContents); |
| 304 }; | 304 }; |
| 305 | 305 |
| 306 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H__ | 306 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H__ |
| 307 | 307 |
| OLD | NEW |