Index: chrome/browser/ui/views/omnibox/omnibox_view_win.h |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.h b/chrome/browser/ui/views/omnibox/omnibox_view_win.h |
index 53202f48d36c9b5bb5ba48b56006c20502b6ca55..22439f0ab584566a5eae5140406e533046ce65e3 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.h |
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.h |
@@ -61,7 +61,7 @@ class OmniboxViewWin |
ToolbarModel* toolbar_model, |
LocationBarView* parent_view, |
CommandUpdater* command_updater, |
- bool popup_window_mode, |
+ WindowMode window_mode, |
views::View* location_bar, |
views::View* popup_parent_view); |
~OmniboxViewWin(); |
@@ -391,9 +391,11 @@ class OmniboxViewWin |
// accessibility. |
LocationBarView* parent_view_; |
- // When true, the location bar view is read only and also is has a slightly |
- // different presentation (font size / color). 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_; |
// True if we should prevent attempts to make the window visible when we |
// handle WM_WINDOWPOSCHANGING. While toggling fullscreen mode, the main |