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

Unified Diff: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.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/location_bar/autocomplete_text_field.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
index 13df962f596edc3cab7c098357919d599949d34b..bd327b43b0a993a4705ef491b07503eeba7800d1 100644
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
@@ -463,8 +463,8 @@ const CGFloat kAnimationDuration = 0.2;
BOOL doAccept = [super becomeFirstResponder];
if (doAccept) {
[[BrowserWindowController browserWindowControllerForView:self]
- lockBarVisibilityForOwner:self
- withAnimation:YES];
+ lockToolbarVisibilityForOwner:self
+ withAnimation:YES];
// Tells the observer that we get the focus.
// But we can't call observer_->OnKillFocus() in resignFirstResponder:,
@@ -481,8 +481,8 @@ const CGFloat kAnimationDuration = 0.2;
BOOL doResign = [super resignFirstResponder];
if (doResign) {
[[BrowserWindowController browserWindowControllerForView:self]
- releaseBarVisibilityForOwner:self
- withAnimation:YES];
+ releaseToolbarVisibilityForOwner:self
+ withAnimation:YES];
}
return doResign;
}

Powered by Google App Engine
This is Rietveld 408576698