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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_page_handler.cc

Issue 8036002: ntp: remove ntp3 resources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/ntp/new_tab_page_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc b/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc
index cc2c0c58606fee4e0b1d6b66355434a5073fc530..6611d9db0d6e32b51d051e94000f7e90e346436b 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc
@@ -77,9 +77,6 @@ void NewTabPageHandler::RegisterUserPrefs(PrefService* prefs) {
// static
void NewTabPageHandler::GetLocalizedValues(Profile* profile,
DictionaryValue* values) {
- if (!NewTabUI::NTP4Enabled())
- return;
-
values->SetInteger("most_visited_page_id", MOST_VISITED_PAGE_ID);
values->SetInteger("apps_page_id", APPS_PAGE_ID);
values->SetInteger("bookmarks_page_id", BOOKMARKS_PAGE_ID);

Powered by Google App Engine
This is Rietveld 408576698