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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_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
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
index dc6c94dd2ebafb05fdfd2355a5e31b89b24a6556..cb9f7a1a57e2f4d0581ec87f11c4f8e0268da3a4 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
@@ -151,8 +151,9 @@ bool ProfileUpdateObserver::HasAvatarError() {
NSWindowController* wc =
[browser_->window()->GetNativeWindow() windowController];
if ([wc isKindOfClass:[BrowserWindowController class]]) {
- [static_cast<BrowserWindowController*>(wc) lockBarVisibilityForOwner:self
- withAnimation:NO];
+ [static_cast<BrowserWindowController*>(wc)
+ lockToolbarVisibilityForOwner:self
+ withAnimation:NO];
}
// The new avatar bubble does not have an arrow, and it should be anchored
@@ -227,8 +228,8 @@ bool ProfileUpdateObserver::HasAvatarError() {
[browser_->window()->GetNativeWindow() windowController];
if ([wc isKindOfClass:[BrowserWindowController class]]) {
[static_cast<BrowserWindowController*>(wc)
- releaseBarVisibilityForOwner:self
- withAnimation:YES];
+ releaseToolbarVisibilityForOwner:self
+ withAnimation:YES];
}
menuController_ = nil;
}
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698