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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller_private.mm

Issue 8760003: [ntp4] Remove bookmarks page implementation and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: update page_list_view.js 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
« no previous file with comments | « chrome/browser/resources/ntp4/page_list_view.js ('k') | chrome/browser/ui/webui/ntp/bookmarks_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller_private.mm
===================================================================
--- chrome/browser/ui/cocoa/browser_window_controller_private.mm (revision 112258)
+++ chrome/browser/ui/cocoa/browser_window_controller_private.mm (working copy)
@@ -30,7 +30,6 @@
#import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h"
#import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
-#include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
#include "chrome/common/pref_names.h"
#include "content/browser/renderer_host/render_widget_host_view.h"
#include "content/browser/tab_contents/tab_contents.h"
@@ -533,10 +532,6 @@
}
- (BOOL)shouldShowDetachedBookmarkBar {
- // Don't show detatched bookmarks when NTP4 bookmark features exist.
- if (NewTabUI::NTP4BookmarkFeaturesEnabled())
- return NO;
-
DCHECK(browser_.get());
TabContentsWrapper* tab = browser_->GetSelectedTabContentsWrapper();
return (tab && tab->bookmark_tab_helper()->ShouldShowBookmarkBar() &&
« no previous file with comments | « chrome/browser/resources/ntp4/page_list_view.js ('k') | chrome/browser/ui/webui/ntp/bookmarks_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698