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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.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_editor_base_controller.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
index 84305cd1ba64c6692f7e5f3afb6c58d0d884773c..21aacb5f9b7bc8fcdd3500e8afd748aa82461f77 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
@@ -285,8 +285,8 @@ class BookmarkEditorBaseControllerBridge
// Lock down floating bar when in full-screen mode. Don't animate
// otherwise the pane will be misplaced.
[[BrowserWindowController browserWindowControllerForWindow:parentWindow_]
- lockBarVisibilityForOwner:self
- withAnimation:NO];
+ lockToolbarVisibilityForOwner:self
+ withAnimation:NO];
[NSApp beginSheet:[self window]
modalForWindow:parentWindow_
modalDelegate:self
@@ -333,8 +333,8 @@ NSString* const kOkEnabledName = @"okEnabled";
contextInfo:(void*)contextInfo {
[sheet close];
[[BrowserWindowController browserWindowControllerForWindow:parentWindow_]
- releaseBarVisibilityForOwner:self
- withAnimation:YES];
+ releaseToolbarVisibilityForOwner:self
+ withAnimation:YES];
}
- (void)windowWillClose:(NSNotification*)notification {

Powered by Google App Engine
This is Rietveld 408576698