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

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

Issue 2256993002: [Mac] Reworked FullscreenToolbarController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for erikchen Created 4 years, 4 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 43648fb1bdcb773e151c6482ce66613d3c965343..f5cc9290d7cbecd164031719cf604a32053033b1 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm
@@ -285,7 +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 delay:NO];
+ lockBarVisibilityForOwner:self
+ withAnimation:NO];
[NSApp beginSheet:[self window]
modalForWindow:parentWindow_
modalDelegate:self
@@ -332,7 +333,8 @@ NSString* const kOkEnabledName = @"okEnabled";
contextInfo:(void*)contextInfo {
[sheet close];
[[BrowserWindowController browserWindowControllerForWindow:parentWindow_]
- releaseBarVisibilityForOwner:self withAnimation:YES delay:NO];
+ releaseBarVisibilityForOwner:self
+ withAnimation:YES];
}
- (void)windowWillClose:(NSNotification*)notification {
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698