diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-27 20:15:35 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-27 20:15:35 +0000 |
commit | 7745b82920b6a761f316c78a85e7af8742434f1c (patch) | |
tree | d942f01dd45823d55c223dcfb868012d8194c82a /chrome/browser/browser.h | |
parent | 41910d1c4de903e0337ae41a9c835d918f8e264a (diff) | |
download | chromium_src-7745b82920b6a761f316c78a85e7af8742434f1c.zip chromium_src-7745b82920b6a761f316c78a85e7af8742434f1c.tar.gz chromium_src-7745b82920b6a761f316c78a85e7af8742434f1c.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 |