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

Unified Diff: message_loop/message_loop.h

Issue 1921183002: Add a mechanism to extend a libevent based message pump. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/domokit/base@master
Patch Set: added test case Created 4 years, 7 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 | « no previous file | message_loop/message_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: message_loop/message_loop.h
diff --git a/message_loop/message_loop.h b/message_loop/message_loop.h
index fbb8309c203275768188b499ef5d5e8102a751e9..a146202f0b270ee76bf6a09f3ab53f37de9b85c6 100644
--- a/message_loop/message_loop.h
+++ b/message_loop/message_loop.h
@@ -602,6 +602,12 @@ class BASE_EXPORT MessageLoopForUI : public MessageLoop {
MessagePumpLibevent::FileDescriptorWatcher* controller,
MessagePumpLibevent::Watcher* delegate);
#endif
+
+#if defined(USE_X11)
+ // Please see MessagePumpLibevent for definition.
+ void SetEventSource(MessagePumpLibevent::EventSource* event_source);
+ void ClearEventSource();
+#endif
};
// Do not add any member variables to MessageLoopForUI! This is important b/c
« no previous file with comments | « no previous file | message_loop/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698