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

Unified Diff: ui/aura/test/aura_test_base.cc

Issue 2712963003: mustash: Use ui::chromeos::EventRewriter in mus (Closed)
Patch Set: Fix build issues. Created 3 years, 9 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 | « ui/aura/test/aura_test_base.h ('k') | ui/aura/test/aura_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_base.cc
diff --git a/ui/aura/test/aura_test_base.cc b/ui/aura/test/aura_test_base.cc
index 3858cdbfad158dc11e14748dba66524dfc9205e3..ce8c965e22619e41b37f7f84870e43f54873e1c0 100644
--- a/ui/aura/test/aura_test_base.cc
+++ b/ui/aura/test/aura_test_base.cc
@@ -15,7 +15,7 @@
#include "ui/base/test/material_design_controller_test_api.h"
#include "ui/compositor/test/context_factories_for_test.h"
#include "ui/events/event_dispatcher.h"
-#include "ui/events/event_processor.h"
+#include "ui/events/event_sink.h"
#include "ui/events/gesture_detection/gesture_configuration.h"
namespace aura {
@@ -134,8 +134,7 @@ void AuraTestBase::ParentWindow(Window* window) {
}
bool AuraTestBase::DispatchEventUsingWindowDispatcher(ui::Event* event) {
- ui::EventDispatchDetails details =
- event_processor()->OnEventFromSource(event);
+ ui::EventDispatchDetails details = event_sink()->OnEventFromSource(event);
CHECK(!details.dispatcher_destroyed);
return event->handled();
}
« no previous file with comments | « ui/aura/test/aura_test_base.h ('k') | ui/aura/test/aura_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698