#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_TEST_WITH_BROWSER_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_FRAME_TEST_WITH_BROWSER_VIEW_H_
#include "base/memory/scoped_ptr.h"
#include "chrome/test/base/browser_with_test_window_test.h"
namespace chrome {
class TestingIOThreadState;
}
namespace predictors {
class PredictorDatabase;
}
class BrowserView;
class ScopedTestingLocalState;
class TestWithBrowserView : public BrowserWithTestWindowTest {
public:
TestWithBrowserView();
TestWithBrowserView(Browser::Type browser_type,
chrome::HostDesktopType host_desktop_type,
bool hosted_app);
virtual ~TestWithBrowserView();
virtual void SetUp() OVERRIDE;
virtual void TearDown() OVERRIDE;
virtual TestingProfile* CreateProfile() OVERRIDE;
virtual BrowserWindow* CreateBrowserWindow() OVERRIDE;
BrowserView* browser_view() { return browser_view_; }
private:
BrowserView* browser_view_;
scoped_ptr<ScopedTestingLocalState> local_state_;
scoped_ptr<predictors::PredictorDatabase> predictor_db_;
scoped_ptr<chrome::TestingIOThreadState> testing_io_thread_state_;
DISALLOW_COPY_AND_ASSIGN(TestWithBrowserView);
};
#endif