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

Unified Diff: ui/events/event_utils.h

Issue 380943003: Do not release capture when transferring capture between Chrome windows on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | ui/events/x/events_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_utils.h
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
index 87b720d58843ffccc425e3b2f324568a29118c6d..4fcfe8c1365c58a698eeb95fddef58bdddf10b0b 100644
--- a/ui/events/event_utils.h
+++ b/ui/events/event_utils.h
@@ -70,6 +70,10 @@ EVENTS_EXPORT gfx::Point EventSystemLocationFromNative(
// button reported in master events do. This is a utility function to always
// return the mapped button.
EVENTS_EXPORT int EventButtonFromNative(const base::NativeEvent& native_event);
+
+// Returns the target for an event.
+EVENTS_EXPORT gfx::AcceleratedWidget EventTargetFromNative(
+ const base::NativeEvent& native_event);
sadrul 2014/07/21 06:57:59 Can this live inside desktop_window_tree_host_x11.
#endif
// Returns the KeyboardCode from a native event.
« no previous file with comments | « no previous file | ui/events/x/events_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698