Index: chrome/browser/ui/views/location_bar/location_bar_view.h |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h |
index 657872524430b729d213e1649ed7d58844b711b4..3e6887615702b74cd7ffd79eba46aa6c615fee6c 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h |
@@ -168,6 +168,12 @@ class LocationBarView : public LocationBar, |
string16 GetInstantSuggestion() const; |
#endif |
+ // Sets whether the omnibox can accept focus. |
sky
2011/12/07 22:23:33
We've generally used LocationEntry in this class w
oshima
2011/12/08 19:13:01
Changed to LocationEntry.
|
+ void SetOmniboxFocusable(bool focusable); |
+ |
+ // Returns true if the omnibox is focusable and visible in the root view. |
+ bool IsOmniboxFocusableInRootView() const; |
+ |
// Sizing functions |
virtual gfx::Size GetPreferredSize() OVERRIDE; |