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

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

Issue 7749029: [ntp4] User interface adjustments to NTP4's bookmarks page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
« no previous file with comments | « chrome/browser/resources/ntp4/bookmarks_page.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/bookmarks_handler.cc
===================================================================
--- chrome/browser/ui/webui/ntp/bookmarks_handler.cc (revision 98327)
+++ chrome/browser/ui/webui/ntp/bookmarks_handler.cc (working copy)
@@ -77,7 +77,7 @@
const BookmarkNode* child = node->GetChild(i);
extension_bookmark_helpers::AddNode(child, items, false);
}
- if (node == model->bookmark_bar_node())
+ if (node == model->bookmark_bar_node() && model->other_node()->child_count())
extension_bookmark_helpers::AddNode(model->other_node(), items, false);
base::ListValue* navigation_items = new base::ListValue();
« no previous file with comments | « chrome/browser/resources/ntp4/bookmarks_page.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698