diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 22:26:59 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 22:26:59 +0000 |
commit | f4145d43019e7ba00c539e54ac7fb57944f17915 (patch) | |
tree | 89fbbbd6b2830f65a03d2bdd5f154961f237c51d /chrome/browser/autocomplete | |
parent | 0e095be478b9205fe1a6725ac6eebf2de7185c8d (diff) | |
download | chromium_src-f4145d43019e7ba00c539e54ac7fb57944f17915.zip chromium_src-f4145d43019e7ba00c539e54ac7fb57944f17915.tar.gz chromium_src-f4145d43019e7ba00c539e54ac7fb57944f17915.tar.bz2 |
Flip omnibox2 popup on by default for more testing.
Review URL: http://codereview.chromium.org/115980
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_popup_view_win.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_win.cc b/chrome/browser/autocomplete/autocomplete_popup_view_win.cc index 8f97718..99da7ca 100644 --- a/chrome/browser/autocomplete/autocomplete_popup_view_win.cc +++ b/chrome/browser/autocomplete/autocomplete_popup_view_win.cc @@ -685,9 +685,8 @@ AutocompletePopupView* AutocompletePopupView::CreatePopupView( AutocompleteEditModel* edit_model, Profile* profile, AutocompletePopupPositioner* popup_positioner) { - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableOmnibox2)) { - return new AutocompletePopupContentsView(font, edit_view, edit_model, - profile, popup_positioner); - } - return new AutocompletePopupViewWin(font, edit_view, edit_model, profile); + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableOmnibox2)) + return new AutocompletePopupViewWin(font, edit_view, edit_model, profile); + return new AutocompletePopupContentsView(font, edit_view, edit_model, + profile, popup_positioner); } |