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 f348a62abcccd39396e1b67f5b5aac705ae13fd9..b59ffef18ab4dba983fa032fd2a6d79fba8f3988 100644 |
--- a/ui/views/test/views_test_base.h |
+++ b/ui/views/test/views_test_base.h |
@@ -48,6 +48,10 @@ class ViewsTestBase : public testing::Test { |
// cross-platform tests. |
Widget::InitParams CreateParams(Widget::InitParams::Type type); |
+ // Returns a context view. In aura builds, this will be the |
+ // RootWindow. Everywhere else, NULL. |
+ gfx::NativeView GetContext(); |
+ |
private: |
MessageLoopForUI message_loop_; |
scoped_ptr<TestViewsDelegate> views_delegate_; |