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

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: Rebase Created 4 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
« no previous file with comments | « chrome/browser/ui/libgtk2ui/libgtk2ui.gyp ('k') | ui/events/platform/x11/x11_event_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..cf80f9da21d2b5d16fe95177875e4c26557c5e1a 100644
--- a/ui/events/platform/x11/x11_event_source.h
+++ b/ui/events/platform/x11/x11_event_source.h
@@ -64,6 +64,11 @@ class EVENTS_EXPORT X11EventSource {
void BlockUntilWindowUnmapped(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);
Yuki 2016/08/16 09:26:11 nit: We should declare this member function betwee
dtapuska 2016/08/16 14:48:29 Done.
+
XDisplay* display() { return display_; }
Time last_seen_server_time() const { return last_seen_server_time_; }
« no previous file with comments | « chrome/browser/ui/libgtk2ui/libgtk2ui.gyp ('k') | ui/events/platform/x11/x11_event_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698