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

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

Issue 2355413007: [Mac] Refactor the Fullscreen Toolbar (Closed)
Patch Set: Nits and grits Created 4 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/ui/cocoa/bookmarks/bookmark_button.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm
index 86e5c947692a8cc27f533e004e715d5d79eb12f8..c9d6425a8a7f9db26409e812ddc141f5aad59791 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm
@@ -197,7 +197,7 @@ BookmarkButton* gDraggedButton = nil; // Weak
NSWindow* window = [[self delegate] browserWindow];
visibilityDelegate_ =
[BrowserWindowController browserWindowControllerForWindow:window];
- [visibilityDelegate_ lockBarVisibilityForOwner:self withAnimation:NO];
+ [visibilityDelegate_ lockToolbarVisibilityForOwner:self withAnimation:NO];
}
const BookmarkNode* node = [self bookmarkNode];
const BookmarkNode* parent = node->parent();
@@ -256,7 +256,7 @@ BookmarkButton* gDraggedButton = nil; // Weak
gDraggedButton = nil;
// visibilityDelegate_ can be nil if we're detached, and that's fine.
- [visibilityDelegate_ releaseBarVisibilityForOwner:self withAnimation:YES];
+ [visibilityDelegate_ releaseToolbarVisibilityForOwner:self withAnimation:YES];
visibilityDelegate_ = nil;
return kDraggableButtonImplUseBase;

Powered by Google App Engine
This is Rietveld 408576698