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 58d6e4d6aa28189469ac370d9862d36d96ccba54..ba97c144df31e2bb14f75782974a9a42bfb55ffa 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.h |
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.h |
@@ -52,7 +52,7 @@ class OmniboxViewViews |
ToolbarModel* toolbar_model, |
Profile* profile, |
CommandUpdater* command_updater, |
- bool popup_window_mode, |
+ WindowMode window_mode, |
LocationBarView* location_bar); |
virtual ~OmniboxViewViews(); |
@@ -169,9 +169,11 @@ class OmniboxViewViews |
views::Textfield* textfield_; |
- // When true, the location bar view is read only and also is has a slightly |
- // different presentation (smaller font size). This is used for popups. |
- bool popup_window_mode_; |
+ // When set to POPUP, the location bar view is read only and also has a |
+ // slightly different presentation (font size / color). When set to DISABLED, |
+ // the location bar looks like a POPUP type but is not selectable or |
+ // focusable. |
+ WindowMode window_mode_; |
scoped_ptr<OmniboxPopupView> popup_view_; |