x11: Make the event-source work with both glib and libevent message-pumps.
Split up the X11EventSource into X11EventSourceGlib to work with the glib message-pump,
and X11EventSourceLibevent to work with the libevent message-pump. With this change, it
is possible to build and run chromeos without glib (use_glib = 0).
BUG=354062, 240715
R=darin@chromium.org, sky@chromium.org
Review URL: https://codereview.chromium.org/244093002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265007 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: 4378628c0af281735b7e209e4dbe5ea6bccf3333
2 files changed