Infobar material design refresh: layout
[chromium-blink-merge.git] / chrome / browser / ui / browser_toolbar_model_delegate.cc
blob089064cc3961ad1950386c7d0640addfae147136
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/browser_toolbar_model_delegate.h"
7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/tabs/tab_strip_model.h"
10 BrowserToolbarModelDelegate::BrowserToolbarModelDelegate(Browser* browser)
11 : browser_(browser) {
14 BrowserToolbarModelDelegate::~BrowserToolbarModelDelegate() {
17 content::WebContents*
18 BrowserToolbarModelDelegate::GetActiveWebContents() const {
19 return browser_->tab_strip_model()->GetActiveWebContents();