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

Unified Diff: chrome/browser/ui/cocoa/browser_window_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/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index 050442555c1ad5473bfddafe67620c9525f107e9..e7ef25f0dcb27d057b5e9767bd2c5d8e9bd318f7 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -280,6 +280,9 @@ class Command;
// Brings this controller's window to the front.
- (void)activate;
+// 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