diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 02:15:25 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 02:15:25 +0000 |
commit | db6a876afe73ed1ad3befa04d0612527222ac168 (patch) | |
tree | 9b38fe9b3a85c8e90bdce18a0c5a163feb1788be /chrome/browser/ui/browser_toolbar_model_delegate.cc | |
parent | 1054bd6ea428148abc41de3285826edccb1244a5 (diff) | |
download | chromium_src-db6a876afe73ed1ad3befa04d0612527222ac168.zip chromium_src-db6a876afe73ed1ad3befa04d0612527222ac168.tar.gz chromium_src-db6a876afe73ed1ad3befa04d0612527222ac168.tar.bz2 |
Revert 126959 - Re-factor location bar/toolbar code to get rid of the browser dependency. This CL is needed to allow code reusing by captive portal view, which will show web content using DomView.
BUG=chromium-os:22630
TEST=browser_tests,unit_tests works
Review URL: http://codereview.chromium.org/9479008
TBR=altimofeev@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127083 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_toolbar_model_delegate.cc')
-rw-r--r-- | chrome/browser/ui/browser_toolbar_model_delegate.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/chrome/browser/ui/browser_toolbar_model_delegate.cc b/chrome/browser/ui/browser_toolbar_model_delegate.cc deleted file mode 100644 index e93f33b..0000000 --- a/chrome/browser/ui/browser_toolbar_model_delegate.cc +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "chrome/browser/ui/browser_toolbar_model_delegate.h" - -#include "chrome/browser/ui/browser.h" - -BrowserToolbarModelDelegate::BrowserToolbarModelDelegate(Browser* browser) - : browser_(browser) { -} - -BrowserToolbarModelDelegate::~BrowserToolbarModelDelegate() { -} - -content::WebContents* -BrowserToolbarModelDelegate::GetActiveWebContents() const { - return browser_->GetSelectedWebContents(); -} |