Index: chrome/browser/ui/browser_toolbar_model_host.cc |
diff --git a/chrome/browser/ui/browser_toolbar_model_host.cc b/chrome/browser/ui/browser_toolbar_model_host.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..325625eb522deb43760696d82e70fc3c25f281ba |
--- /dev/null |
+++ b/chrome/browser/ui/browser_toolbar_model_host.cc |
@@ -0,0 +1,18 @@ |
+// 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_host.h" |
+ |
+#include "chrome/browser/ui/browser.h" |
+ |
+BrowserToolbarModelHost::BrowserToolbarModelHost(Browser* browser) |
+ : browser_(browser) { |
+} |
+ |
+BrowserToolbarModelHost::~BrowserToolbarModelHost() { |
+} |
+ |
+content::WebContents* BrowserToolbarModelHost::GetActiveWebContents() const { |
+ return browser_->GetSelectedWebContents(); |
+} |