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

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

Issue 8689013: Remove TOUCH_UI specific new tab page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk Created 9 years, 1 month 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 62b94cd3f75a3dcd5d732ff57b07902ed746c2c9..54f959911c42bbdf7523a71dc8ab2b07962cf2d3 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_handler.cc
@@ -134,9 +134,6 @@ void NewTabPageHandler::RegisterPrefs(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