diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 02:22:16 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 02:22:16 +0000 |
commit | a78410304ccc90a44852c9714317787c63bb50a3 (patch) | |
tree | 61ea6fdbfe008cfadd5ad4a251638baa45e583d5 /chrome/test/test_browser_window.h | |
parent | c8ca48ea1bfeaa037fd7dc3183b9ceddec061afd (diff) | |
download | chromium_src-a78410304ccc90a44852c9714317787c63bb50a3.zip chromium_src-a78410304ccc90a44852c9714317787c63bb50a3.tar.gz chromium_src-a78410304ccc90a44852c9714317787c63bb50a3.tar.bz2 |
Made sync code build and pass unit tests on OS X.
Major changes:
- Moved sync_setup_{flow,wizard} to sync directory.
- Made browser_with_test_window_test compile on non-Windows platform.
- Moved localized contents font util functions to app/.
BUG=23073
TEST=trybot
Review URL: http://codereview.chromium.org/279004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29239 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/test_browser_window.h')
-rw-r--r-- | chrome/test/test_browser_window.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/chrome/test/test_browser_window.h b/chrome/test/test_browser_window.h index 8aa657d..d785415 100644 --- a/chrome/test/test_browser_window.h +++ b/chrome/test/test_browser_window.h @@ -7,18 +7,14 @@ #include "chrome/browser/browser.h" #include "chrome/browser/browser_window.h" -#include "chrome/browser/views/tabs/tab_strip.h" #include "chrome/test/test_location_bar.h" // An implementation of BrowserWindow used for testing. TestBrowserWindow only -// contains a valid TabStrip, all other getters return NULL. +// contains a valid LocationBar, all other getters return NULL. // See BrowserWithTestWindowTest for an example of using this class. class TestBrowserWindow : public BrowserWindow { public: - explicit TestBrowserWindow(Browser* browser) - : tab_strip_(browser->tabstrip_model()) { - tab_strip_.InitTabStripButtons(); - } + explicit TestBrowserWindow(Browser* browser) {} virtual ~TestBrowserWindow() {} virtual void Init() {} @@ -91,8 +87,6 @@ class TestBrowserWindow : public BrowserWindow { virtual void DestroyBrowser() {} private: - TabStrip tab_strip_; - TestLocationBar location_bar_; DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |