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 7eef05fe3afa5523cc540e50100803d6c62b23d4..63b86ef58870dde32d14f6a06ec0b70ffea869a7 100644 |
--- a/ui/events/platform/x11/x11_event_source.h |
+++ b/ui/events/platform/x11/x11_event_source.h |
@@ -43,6 +43,11 @@ class EVENTS_EXPORT X11EventSource : public PlatformEventSource { |
// functions which require a mapped window. |
void BlockUntilWindowMapped(XID window); |
+ // Dispatches a given event immediately. This is to faciliate sequential |
+ // interaction between the gtk event loop (used for IME) and the |
+ // main X11 event loop. |
+ void DispatchEventNow(XEvent* event); |
+ |
protected: |
XDisplay* display() { return display_; } |