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

Unified Diff: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.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_editor.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm
index 83126cf2e5eee10622c834fac7b0c7ca7142aed2..3f0aad34ebe5ecfe13a6cfefb564a9e7c860a3e9 100644
--- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm
+++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm
@@ -324,8 +324,8 @@ BOOL ThePasteboardIsTooDamnBig() {
// responder dance between the field and the field editor is a little
// weird.)
[[BrowserWindowController browserWindowControllerForView:field]
- lockBarVisibilityForOwner:field
- withAnimation:YES];
+ lockToolbarVisibilityForOwner:field
+ withAnimation:YES];
}
return doAccept;
}
@@ -338,8 +338,8 @@ BOOL ThePasteboardIsTooDamnBig() {
if (doResign && field) {
// Give the text field ownership of the visibility lock.
[[BrowserWindowController browserWindowControllerForView:field]
- releaseBarVisibilityForOwner:field
- withAnimation:YES];
+ releaseToolbarVisibilityForOwner:field
+ withAnimation:YES];
AutocompleteTextFieldObserver* observer = [self observer];
if (observer)

Powered by Google App Engine
This is Rietveld 408576698