blob: 84ffdd595f8ae0d02be02a9f82a480b751c9c74f [file] [log] [blame]
// Copyright 2012 The Chromium Authors
// 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_location_bar_model_delegate.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
BrowserLocationBarModelDelegate::BrowserLocationBarModelDelegate(
TabStripModel* tab_strip_model)
: tab_strip_model_(tab_strip_model) {}
BrowserLocationBarModelDelegate::~BrowserLocationBarModelDelegate() = default;
content::WebContents* BrowserLocationBarModelDelegate::GetActiveWebContents()
const {
return tab_strip_model_->GetActiveWebContents();
}