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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.h

Issue 10854017: Basic metro snap view omnibox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromeos compilation. Created 8 years, 4 months 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 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_;
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698