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

Unified Diff: chrome/browser/ui/cocoa/toolbar/toolbar_controller.h

Issue 2679273002: [Mac] Retain location bar focus on switching to fullscreen and back. (Closed)
Patch Set: Fix regression with the toolbar not dropping down. Created 3 years, 10 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/toolbar/toolbar_controller.h
diff --git a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
index 62b049a95e0e7ed16b13f91c872cd8ebfcc91ffc..046fef62b9fb752ec90999acd74e59ef81a8a1a3 100644
--- a/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
+++ b/chrome/browser/ui/cocoa/toolbar/toolbar_controller.h
@@ -118,6 +118,9 @@ class NotificationBridge;
// Called by the |locationBar_| when it has been added to its window.
- (void)locationBarWasAddedToWindow;
+// Return YES if the location bar is the first responder.
+- (BOOL)locationBarHasFocus;
+
// Make the location bar the first responder, if possible.
- (void)focusLocationBar:(BOOL)selectAll;

Powered by Google App Engine
This is Rietveld 408576698