| Index: ui/views/test/views_test_base.h
|
| diff --git a/ui/views/test/views_test_base.h b/ui/views/test/views_test_base.h
|
| index f689ea085381b387142c8dd35ae605ba3864c1b0..58a74fdf5bd9ec42a55ec141d7c28430dee9da26 100644
|
| --- a/ui/views/test/views_test_base.h
|
| +++ b/ui/views/test/views_test_base.h
|
| @@ -14,6 +14,10 @@
|
| #include "ui/base/win/scoped_ole_initializer.h"
|
| #endif
|
|
|
| +namespace ui {
|
| +class ContextFactory;
|
| +}
|
| +
|
| namespace views {
|
|
|
| class ViewsTestHelper;
|
| @@ -35,6 +39,8 @@ class ViewsTestBase : public testing::Test {
|
| // cross-platform tests.
|
| Widget::InitParams CreateParams(Widget::InitParams::Type type);
|
|
|
| + ui::ContextFactory* context_factory() { return context_factory_; }
|
| +
|
| protected:
|
| TestViewsDelegate& views_delegate() const { return *views_delegate_.get(); }
|
|
|
| @@ -49,6 +55,7 @@ class ViewsTestBase : public testing::Test {
|
| gfx::NativeView GetContext();
|
|
|
| private:
|
| + ui::ContextFactory* context_factory_;
|
| base::MessageLoopForUI message_loop_;
|
| scoped_ptr<TestViewsDelegate> views_delegate_;
|
| scoped_ptr<ViewsTestHelper> test_helper_;
|
|
|