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

Unified Diff: ash/autoclick/autoclick_controller.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 | « ash/accelerators/key_hold_detector.cc ('k') | ash/drag_drop/drag_drop_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/autoclick/autoclick_controller.cc
diff --git a/ash/autoclick/autoclick_controller.cc b/ash/autoclick/autoclick_controller.cc
index 85bf13ea12c68e1adadadacff4d286dd6e58d173..55a70b3c8fe491ad7c882ceffd115e18329ca2bc 100644
--- a/ash/autoclick/autoclick_controller.cc
+++ b/ash/autoclick/autoclick_controller.cc
@@ -15,7 +15,7 @@
#include "ui/aura/window_tree_host.h"
#include "ui/events/event.h"
#include "ui/events/event_handler.h"
-#include "ui/events/event_processor.h"
+#include "ui/events/event_sink.h"
#include "ui/events/event_utils.h"
#include "ui/views/widget/widget.h"
#include "ui/wm/core/coordinate_conversion.h"
@@ -192,9 +192,9 @@ void AutoclickControllerImpl::DoAutoclick(const gfx::Point& event_location,
ui::EF_LEFT_MOUSE_BUTTON);
ui::EventDispatchDetails details =
- host->event_processor()->OnEventFromSource(&press_event);
+ host->event_sink()->OnEventFromSource(&press_event);
if (!details.dispatcher_destroyed)
- details = host->event_processor()->OnEventFromSource(&release_event);
+ details = host->event_sink()->OnEventFromSource(&release_event);
if (details.dispatcher_destroyed)
return;
}
« no previous file with comments | « ash/accelerators/key_hold_detector.cc ('k') | ash/drag_drop/drag_drop_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698