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

Unified Diff: ui/views/event_utils.h

Issue 159713012: Don't track mouse events in HWNDMessageHandler when they are forwarded by the LegacyRenderWidgetHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 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/views/event_utils.h
===================================================================
--- ui/views/event_utils.h (revision 250790)
+++ ui/views/event_utils.h (working copy)
@@ -17,6 +17,8 @@
// Reposts a located event natively. Returns false when |event| could not be
// reposted. |event| should be in screen coordinates. |window| is the target
// window that the event will be forwarded to. Only some events are supported.
+// On Windows |window| can be NULL, in which case the event is forwarded to
+// the HWND at the current location if it is on the same thread.
VIEWS_EXPORT bool RepostLocatedEvent(gfx::NativeWindow window,
const ui::LocatedEvent& event);

Powered by Google App Engine
This is Rietveld 408576698