Index: ui/events/platform/x11/x11_event_source.h |
diff --git a/ui/events/platform/x11/x11_event_source.h b/ui/events/platform/x11/x11_event_source.h |
index c878e172440046f6c2dfdee41ab502441c509cbe..abfd5fa80c3f3857a0e17892ea03ae7785a60050 100644 |
--- a/ui/events/platform/x11/x11_event_source.h |
+++ b/ui/events/platform/x11/x11_event_source.h |
@@ -51,6 +51,11 @@ class EVENTS_EXPORT X11EventSource { |
// available X events. |
void DispatchXEvents(); |
+ // Dispatches a given event immediately. This is to facilitate sequential |
+ // interaction between the gtk event loop (used for IME) and the |
+ // main X11 event loop. |
+ void DispatchXEventNow(XEvent* event); |
+ |
// Blocks on the X11 event queue until we receive notification from the |
// xserver that |w| has been mapped; StructureNotifyMask events on |w| are |
// pulled out from the queue and dispatched out of order. |