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

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

Issue 3292003: De-suck the NTP a bit more: (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Fix unit test Created 10 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/dom_ui/shown_sections_handler.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Reset the CSS caches. 89 // Reset the CSS caches.
90 void InitializeCSSCaches(); 90 void InitializeCSSCaches();
91 91
92 // Updates the user prefs version and calls |MigrateUserPrefs| if needed. 92 // Updates the user prefs version and calls |MigrateUserPrefs| if needed.
93 // Returns true if the version was updated. 93 // Returns true if the version was updated.
94 static bool UpdateUserPrefsVersion(PrefService* prefs); 94 static bool UpdateUserPrefsVersion(PrefService* prefs);
95 95
96 NotificationRegistrar registrar_; 96 NotificationRegistrar registrar_;
97 97
98 // The preference version. This used for migrating prefs of the NTP. 98 // The preference version. This used for migrating prefs of the NTP.
99 static const int current_pref_version_ = 3; 99 static const int current_pref_version_ = 2;
100 100
101 DISALLOW_COPY_AND_ASSIGN(NewTabUI); 101 DISALLOW_COPY_AND_ASSIGN(NewTabUI);
102 }; 102 };
103 103
104 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ 104 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/dom_ui/shown_sections_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698