Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: ui/views/test/widget_test.h

Issue 444583002: MacViews: Get widget_interactive_uitest compiling on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TouchSelectionQuickMenuIsNotActivated Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/test/widget_test_aura.cc » ('j') | ui/views/widget/widget_interactive_uitest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | ui/views/test/widget_test_aura.cc » ('j') | ui/views/widget/widget_interactive_uitest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698