From 7745b82920b6a761f316c78a85e7af8742434f1c Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Tue, 27 Jan 2009 20:15:35 +0000 Subject: Re-land this from earlier... unit tests no longer crash. Extract a cross platform LocationBar interface. Adds a TestLocationBar object that unit tests can use to mock the location bar (fixes NULL deref). Review URL: http://codereview.chromium.org/18851 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8745 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chrome/browser/browser.h') diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index db9f326..c6977d6 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -35,7 +35,7 @@ class BrowserIdleTimer; class BrowserWindow; class DebuggerWindow; class GoButton; -class LocationBarView; +class LocationBar; class PrefService; class Profile; class StatusBubble; @@ -456,7 +456,6 @@ class Browser : public TabStripModelDelegate, #endif // OS_WIN // Getters for the location bar and go button. - LocationBarView* GetLocationBarView() const; GoButton* GetGoButton(); // Returns the StatusBubble from the current toolbar. It is possible for -- cgit v1.1