diff options
author | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 13:26:05 +0000 |
---|---|---|
committer | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 13:26:05 +0000 |
commit | ac86c98e2ff5c93c62b54392e975afec381a2855 (patch) | |
tree | 277726a3b4234864493eead0663f5be6a8c387f4 /chrome/browser/ui/views/find_bar_host.cc | |
parent | 659a95bf640de07acaa34a341033d581e4db0bd2 (diff) | |
download | chromium_src-ac86c98e2ff5c93c62b54392e975afec381a2855.zip chromium_src-ac86c98e2ff5c93c62b54392e975afec381a2855.tar.gz chromium_src-ac86c98e2ff5c93c62b54392e975afec381a2855.tar.bz2 |
The initial prototype code for the compact navigation (cnav) prototype, currently only active in windows. This is well hidden behind a flag and a context menu option.
Loosely based off oshima's original prototype patch: http://codereview.chromium.org/165272
BUG=None
TEST=Activate the cnav prototype in about:flags. Right click a tab and select "Hide Toolbar" to go into cnav mode. Ensure that the compact location bar provides the same basic functionality as the toolbar (except browser actions).
Review URL: http://codereview.chromium.org/6913026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/find_bar_host.cc')
-rw-r--r-- | chrome/browser/ui/views/find_bar_host.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/find_bar_host.cc b/chrome/browser/ui/views/find_bar_host.cc index 3b36f96..26bed98 100644 --- a/chrome/browser/ui/views/find_bar_host.cc +++ b/chrome/browser/ui/views/find_bar_host.cc @@ -36,7 +36,8 @@ FindBar* CreateFindBar(BrowserView* browser_view) { FindBarHost::FindBarHost(BrowserView* browser_view) : DropdownBarHost(browser_view), find_bar_controller_(NULL) { - Init(new FindBarView(this)); + FindBarView* find_bar_view = new FindBarView(this); + Init(find_bar_view, find_bar_view); } FindBarHost::~FindBarHost() { |