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

Unified Diff: ui/aura/window_event_dispatcher.h

Issue 754013007: Fix the wrong relative coordinates from EventDispatch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | ui/aura/window_event_dispatcher.cc » ('j') | ui/aura/window_tree_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_event_dispatcher.h
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
index 6b1cadc54474e27e073b45397e3ac1c733c74347..0376fb692345a378a9aa3d8f79e07fe616571d12 100644
--- a/ui/aura/window_event_dispatcher.h
+++ b/ui/aura/window_event_dispatcher.h
@@ -78,8 +78,9 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
// Dispatches a ui::ET_MOUSE_EXITED event at |point|.
// TODO(beng): needed only for WTH::OnCursorVisibilityChanged().
- ui::EventDispatchDetails DispatchMouseExitAtPoint(
- const gfx::Point& point) WARN_UNUSED_RESULT;
+ ui::EventDispatchDetails DispatchMouseExitAtPoint(Window* window,
sky 2015/01/06 16:51:30 You need to document what |window| and |target| on
Miyoung Shin 2015/01/07 07:30:48 ok.
+ const gfx::Point& point)
+ WARN_UNUSED_RESULT;
// Gesture Recognition -------------------------------------------------------
@@ -151,9 +152,10 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
// Dispatches the specified event type (intended for enter/exit) to the
// |mouse_moved_handler_|.
- ui::EventDispatchDetails DispatchMouseEnterOrExit(
- const ui::MouseEvent& event,
- ui::EventType type) WARN_UNUSED_RESULT;
+ ui::EventDispatchDetails DispatchMouseEnterOrExit(Window* target,
+ const ui::MouseEvent& event,
+ ui::EventType type)
+ WARN_UNUSED_RESULT;
ui::EventDispatchDetails ProcessGestures(
ui::GestureRecognizer::Gestures* gestures) WARN_UNUSED_RESULT;
« no previous file with comments | « no previous file | ui/aura/window_event_dispatcher.cc » ('j') | ui/aura/window_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698