Index: ui/views/test/widget_test.h |
diff --git a/ui/views/test/widget_test.h b/ui/views/test/widget_test.h |
index 1c06fac06636818ef442de354b93d803419a0006..abf928fe5c3a81dba891920e74f703fdad9b8dce 100644 |
--- a/ui/views/test/widget_test.h |
+++ b/ui/views/test/widget_test.h |
@@ -98,6 +98,10 @@ class WidgetTest : public ViewsTestBase { |
// processor. |
static ui::EventProcessor* GetEventProcessor(Widget* widget); |
+ // For interactive tests, the window currently with focus on the desktop. |
+ // |widget_context| is used to determine the root window. |
+ static gfx::NativeWindow CurrentlyFocussedWindow(Widget* widget_context); |
sky
2014/08/05 17:15:52
This is confusing that it takes a widget_context,
sky
2014/08/05 17:15:52
focused
|
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(WidgetTest); |
}; |