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

Unified Diff: ui/aura/window_event_dispatcher.cc

Issue 240333007: wip: Second crack at implementing the touch exploration mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't extend DisplayController::Observer - TouchExplorationController is owned by the root window (… Created 6 years, 8 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
Index: ui/aura/window_event_dispatcher.cc
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc
index c566d1b58ea3337d197801a895a99b6610f52a0e..f1fa7c3f670d100904d71811f81979f9b8396718 100644
--- a/ui/aura/window_event_dispatcher.cc
+++ b/ui/aura/window_event_dispatcher.cc
@@ -162,6 +162,7 @@ void WindowEventDispatcher::DispatchMouseExitAtPoint(const gfx::Point& point) {
void WindowEventDispatcher::ProcessedTouchEvent(ui::TouchEvent* event,
Window* window,
ui::EventResult result) {
+ LOG(ERROR) << "WED::ProcessedTouchEvent, type=" << event->type();
Daniel Erat 2014/04/18 00:44:08 delete, also below
scoped_ptr<ui::GestureRecognizer::Gestures> gestures;
gestures.reset(ui::GestureRecognizer::Get()->
ProcessTouchEventForGesture(*event, result, window));
@@ -732,6 +733,7 @@ void WindowEventDispatcher::PreDispatchMouseEvent(Window* target,
!cursor_client->IsMouseEventsEnabled() &&
(event->flags() & ui::EF_IS_SYNTHESIZED) &&
(event->type() != ui::ET_MOUSE_EXITED)) {
+ LOG(ERROR) << "WindowEventDispatcher::PreDispatchMouseEvent - handled";
event->SetHandled();
return;
}

Powered by Google App Engine
This is Rietveld 408576698