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

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

Issue 6538053: WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 | « chrome/browser/dom_ui/most_visited_handler.cc ('k') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/timer.h" 12 #include "base/timer.h"
13 #include "chrome/browser/dom_ui/chrome_url_data_manager.h"
14 #include "chrome/browser/sessions/tab_restore_service.h" 13 #include "chrome/browser/sessions/tab_restore_service.h"
14 #include "chrome/browser/webui/chrome_url_data_manager.h"
15 #include "chrome/browser/webui/web_ui.h" 15 #include "chrome/browser/webui/web_ui.h"
16 #include "chrome/common/notification_observer.h" 16 #include "chrome/common/notification_observer.h"
17 #include "chrome/common/notification_registrar.h" 17 #include "chrome/common/notification_registrar.h"
18 18
19 class GURL; 19 class GURL;
20 class MessageLoop; 20 class MessageLoop;
21 class PrefService; 21 class PrefService;
22 class Profile; 22 class Profile;
23 23
24 // The TabContents used for the New Tab page. 24 // The TabContents used for the New Tab page.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 base::TimeTicks last_paint_; 112 base::TimeTicks last_paint_;
113 // Scoping so we can be sure our timeouts don't outlive us. 113 // Scoping so we can be sure our timeouts don't outlive us.
114 base::OneShotTimer<NewTabUI> timer_; 114 base::OneShotTimer<NewTabUI> timer_;
115 // The preference version. This used for migrating prefs of the NTP. 115 // The preference version. This used for migrating prefs of the NTP.
116 static const int current_pref_version_ = 3; 116 static const int current_pref_version_ = 3;
117 117
118 DISALLOW_COPY_AND_ASSIGN(NewTabUI); 118 DISALLOW_COPY_AND_ASSIGN(NewTabUI);
119 }; 119 };
120 120
121 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ 121 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/most_visited_handler.cc ('k') | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698