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

Unified Diff: ui/views/event_monitor_unittest.cc

Issue 2505943002: MacViews: Fix accelerator handling while Omnibox is in focus. (Closed)
Patch Set: Fix tapted's review issues. Created 4 years, 1 month 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/event_monitor_unittest.cc
diff --git a/ui/views/event_monitor_unittest.cc b/ui/views/event_monitor_unittest.cc
index a6fb48ead6bae86122d2564237815ec493757886..10b0a50472402f320c111fc09a7396563f31cfde 100644
--- a/ui/views/event_monitor_unittest.cc
+++ b/ui/views/event_monitor_unittest.cc
@@ -28,7 +28,7 @@ class EventMonitorTest : public WidgetTest {
generator_.reset(new ui::test::EventGenerator(
GetContext(), widget_->GetNativeWindow()));
}
- generator_->set_targeting_application(true);
+ generator_->set_target(ui::test::EventGenerator::Target::APPLICATION);
}
void TearDown() override {
widget_->CloseNow();

Powered by Google App Engine
This is Rietveld 408576698