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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.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_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
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698