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

Unified Diff: chrome/test/base/in_process_browser_test.cc

Issue 2808823002: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used (Closed)
Patch Set: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used (rebase) Created 3 years, 8 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: chrome/test/base/in_process_browser_test.cc
diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
index 9af204ac529ca7e11601f2d2bbf16fd6096731db..89564be1a45ac51ffc16b1ba56a4b4e873ddf3dc 100644
--- a/chrome/test/base/in_process_browser_test.cc
+++ b/chrome/test/base/in_process_browser_test.cc
@@ -65,6 +65,7 @@
#if defined(OS_MACOSX)
#include "base/mac/scoped_nsautorelease_pool.h"
#include "chrome/test/base/scoped_bundle_swizzler_mac.h"
+#include "ui/base/test/scoped_fake_full_keyboard_access.h"
#endif
#if defined(OS_WIN)
@@ -263,6 +264,11 @@ void InProcessBrowserTest::SetUp() {
ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting(
&quota_settings_);
+#if defined(OS_MACOSX)
+ faked_full_keyboard_access_.reset(
+ new ui::test::ScopedFakeFullKeyboardAccess());
+#endif // defined(OS_MACOSX)
+
BrowserTestBase::SetUp();
}
« chrome/test/base/in_process_browser_test.h ('K') | « chrome/test/base/in_process_browser_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698