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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm

Issue 11876036: Alternate NTP: Don't hide bookmark bar on instant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 7 years, 11 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/cocoa/bookmarks/bookmark_bar_controller.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
index e5e3387b9dea568d9fab7dda56846b8830786374..8d89ca10119dcbf5c5b87dcc2b39a8806e56e332 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
@@ -257,10 +257,7 @@ void RecordAppLaunch(Profile* profile, GURL url) {
rb.GetNativeImageNamed(IDR_DEFAULT_FAVICON).CopyNSImage());
innerContentAnimationsEnabled_ = YES;
- // Disable state animations (for example, showing or hiding the bookmark
- // bar) if the detached bookmark bar will be shown at the bottom of the new
- // tab page.
- stateAnimationsEnabled_ = ![self shouldShowAtBottomWhenDetached];
+ stateAnimationsEnabled_ = YES;
// Register for theme changes, bookmark button pulsing, ...
NSNotificationCenter* defaultCenter = [NSNotificationCenter defaultCenter];
@@ -2359,7 +2356,7 @@ static BOOL ValueInRangeInclusive(CGFloat low, CGFloat value, CGFloat high) {
}
- (BOOL)shouldShowAtBottomWhenDetached {
- return chrome::search::IsInstantExtendedAPIEnabled(browser_->profile());
+ return NO;
}
#pragma mark BookmarkButtonDelegate Protocol

Powered by Google App Engine
This is Rietveld 408576698