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

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

Issue 8043004: Disable bookmark pane in ntp4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some half arsed css 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_ui.cc
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
index 2ad0c41aa41c1ead7242ab332aea7337c67fbfe6..51069830ba927b2fdeeb45f4bdf24a19b4800aad 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
@@ -193,8 +193,7 @@ NewTabUI::NewTabUI(TabContents* contents)
// Override some options on the Web UI.
hide_favicon_ = true;
- if (!NTP4Enabled() &&
- GetProfile()->GetPrefs()->GetBoolean(prefs::kEnableBookmarkBar) &&
+ if (GetProfile()->GetPrefs()->GetBoolean(prefs::kEnableBookmarkBar) &&
browser_defaults::bookmarks_enabled) {
set_force_bookmark_bar_visible(true);
}
« chrome/browser/resources/ntp4/new_tab.css ('K') | « chrome/browser/resources/ntp4/new_tab.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698