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

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

Issue 3624001: Implement Instant on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/cocoa/browser_window_controller_private.mm
===================================================================
--- chrome/browser/cocoa/browser_window_controller_private.mm (revision 62138)
+++ chrome/browser/cocoa/browser_window_controller_private.mm (working copy)
@@ -450,7 +450,9 @@
- (BOOL)shouldShowDetachedBookmarkBar {
DCHECK(browser_.get());
TabContents* contents = browser_->GetSelectedTabContents();
- return (contents && contents->ShouldShowBookmarkBar()) ? YES : NO;
+ return (contents &&
+ contents->ShouldShowBookmarkBar() &&
+ ![previewableContentsController_ isShowingPreview]);
}
- (void)adjustToolbarAndBookmarkBarForCompression:(CGFloat)compression {
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/location_bar/location_bar_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698