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..3279cd370296b0cc0fda7f4b2010152c3d5db6b3 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 faciliate sequential |
sadrul
2016/08/17 01:03:10
*facilitate
dtapuska
2016/08/17 18:06:35
Done.
|
+ // 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. |