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

Unified Diff: ui/views/event_monitor_unittest.cc

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: git add 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 bfca626c455bab9e62c47a6454a00087b7b454c3..a6fb48ead6bae86122d2564237815ec493757886 100644
--- a/ui/views/event_monitor_unittest.cc
+++ b/ui/views/event_monitor_unittest.cc
@@ -21,7 +21,7 @@ class EventMonitorTest : public WidgetTest {
widget_ = CreateTopLevelNativeWidget();
widget_->SetSize(gfx::Size(100, 100));
widget_->Show();
- if (IsMus()) {
+ if (IsMus() || IsAuraMusClient()) {
generator_.reset(
new ui::test::EventGenerator(widget_->GetNativeWindow()));
} else {

Powered by Google App Engine
This is Rietveld 408576698