Index: trunk/src/ash/test/ash_test_base.h |
=================================================================== |
--- trunk/src/ash/test/ash_test_base.h (revision 270304) |
+++ trunk/src/ash/test/ash_test_base.h (working copy) |
@@ -13,16 +13,13 @@ |
#include "content/public/test/test_browser_thread_bundle.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "ui/views/test/test_views_delegate.h" |
#include "ui/wm/public/window_types.h" |
#if defined(OS_WIN) |
#include "ui/base/win/scoped_ole_initializer.h" |
#endif |
-namespace gfx { |
-class Rect; |
-} |
- |
namespace aura { |
class RootWindow; |
class Window; |
@@ -45,6 +42,14 @@ |
class TestMetroViewerProcessHost; |
#endif |
+class AshTestViewsDelegate : public views::TestViewsDelegate { |
+ public: |
+ // Overriden from TestViewsDelegate. |
+ virtual content::WebContents* CreateWebContents( |
+ content::BrowserContext* browser_context, |
+ content::SiteInstance* site_instance) OVERRIDE; |
+}; |
+ |
class AshTestBase : public testing::Test { |
public: |
AshTestBase(); |