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

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

Issue 2604303002: (Mac)Views: Widgets focus first View in traversal order if initial focus fails. (Closed)
Patch Set: Fix compile error. Created 3 years, 11 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
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 74cfb8ea06fdf60ff023c057648f0022e6b4416e..b202094ae0ca2de67dd0efa9c74ee5b141e90af2 100644
--- a/ui/views/test/views_test_base.h
+++ b/ui/views/test/views_test_base.h
@@ -67,6 +67,9 @@ class ViewsTestBase : public PlatformTest {
// RootWindow. Everywhere else, NULL.
gfx::NativeWindow GetContext();
+ // Sets the full keyboard access state. Note this is only used on Mac.
+ void SetFullKeyboardAccessState(Widget* widget, bool new_state);
+
private:
base::MessageLoopForUI message_loop_;
std::unique_ptr<TestViewsDelegate> views_delegate_for_setup_;

Powered by Google App Engine
This is Rietveld 408576698