Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3925)

Unified Diff: chrome/browser/ui/browser_toolbar_model_delegate.cc

Issue 9703099: Revert 126959 - Re-factor location bar/toolbar code to get rid of the browser dependency. This CL i… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_toolbar_model_delegate.cc
===================================================================
--- chrome/browser/ui/browser_toolbar_model_delegate.cc (revision 127082)
+++ chrome/browser/ui/browser_toolbar_model_delegate.cc (working copy)
@@ -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();
-}
« no previous file with comments | « chrome/browser/ui/browser_toolbar_model_delegate.h ('k') | chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698