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

Unified Diff: ui/events/platform/x11/x11_event_source_libevent.h

Issue 2791693003: [Ozone/x11] events can be dispatched to the wrong window
Patch Set: Created 3 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
Index: ui/events/platform/x11/x11_event_source_libevent.h
diff --git a/ui/events/platform/x11/x11_event_source_libevent.h b/ui/events/platform/x11/x11_event_source_libevent.h
index bc2ab738de283445614f2fc7f51015276ff35606..3ef9b92d226f1e5b9b315e01702719f04a932495 100644
--- a/ui/events/platform/x11/x11_event_source_libevent.h
+++ b/ui/events/platform/x11/x11_event_source_libevent.h
@@ -13,6 +13,13 @@
namespace ui {
+class Event;
+
+struct EVENTS_EXPORT EventWithPlatformEvent {
+ Event* event;
+ PlatformEvent platform_event;
+};
+
// Interface for classes that want to receive XEvent directly. Only used with
// Ozone X11 currently and only events that can't be translated into ui::Events
// are sent via this path.

Powered by Google App Engine
This is Rietveld 408576698