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

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: sync 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..8d00e170b2beaf31059b53d455df7b905fbaa421 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,13 @@ class LocationBarView : public LocationBar,
string16 GetInstantSuggestion() const;
#endif
+ // Sets whether the location entry can accept focus.
+ void SetLocationEntryFocusable(bool focusable);
+
+ // Returns true if the location entry is focusable and visible in
+ // the root view.
+ bool IsLocationEntryFocusableInRootView() const;
+
// Sizing functions
virtual gfx::Size GetPreferredSize() OVERRIDE;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view_layout.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698