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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 8832002: Aura: Set focusable on textfield but not on location bar (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove empty line Created 9 years 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/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;

Powered by Google App Engine
This is Rietveld 408576698