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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.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/omnibox/omnibox_view_views.h
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.h b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
index f9c165dae5c00ad8a8412adc08a2d13c36f6f1e7..2d5176841220ac0b4e387c3221427c2904087bae 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h
@@ -68,6 +68,12 @@ class OmniboxViewViews : public views::View,
void HandleFocusIn();
void HandleFocusOut();
+ // Sets whether the omnibox can accept focus.
+ void SetOmniboxFocusable(bool focusable);
+
+ // Returns true if the omnibox is focusable and visible in the root view.
+ bool IsOmniboxFocusableInRootView() const;
+
// Implements views::View
virtual void Layout() OVERRIDE;
virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698