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

Unified Diff: ash/autoclick/autoclick_controller.cc

Issue 196383014: Remove window/host accessors from WED; IWYU for WTH (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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/debug.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 dd5e4a0f98b28fc828003d0cb6888c09c0893a5f..e356602874167af7d106d648fba3eee6b26f65b4 100644
--- a/ash/autoclick/autoclick_controller.cc
+++ b/ash/autoclick/autoclick_controller.cc
@@ -8,10 +8,11 @@
#include "ash/wm/coordinate_conversion.h"
#include "base/timer/timer.h"
#include "ui/aura/env.h"
-#include "ui/aura/window_event_dispatcher.h"
+#include "ui/aura/window_tree_host.h"
#include "ui/events/event.h"
#include "ui/events/event_constants.h"
#include "ui/events/event_handler.h"
+#include "ui/events/event_processor.h"
#include "ui/gfx/point.h"
#include "ui/gfx/vector2d.h"
@@ -201,9 +202,9 @@ void AutoclickControllerImpl::DoAutoclick() {
ui::EF_LEFT_MOUSE_BUTTON);
ui::EventDispatchDetails details =
- host->dispatcher()->OnEventFromSource(&press_event);
+ host->event_processor()->OnEventFromSource(&press_event);
if (!details.dispatcher_destroyed)
- details = host->dispatcher()->OnEventFromSource(&release_event);
+ details = host->event_processor()->OnEventFromSource(&release_event);
if (details.dispatcher_destroyed)
return;
}
« no previous file with comments | « ash/accelerators/key_hold_detector.cc ('k') | ash/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698