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

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

Issue 1324913002: Fix out of order key events in Chrome on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix component build Created 5 years, 4 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.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_; }

Powered by Google App Engine
This is Rietveld 408576698