summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 20:50:00 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 20:50:00 +0000
commit5040dfab473eff732a7fd5ae0572d64f4f42626d (patch)
tree99d2625c35553f60dc8b59a4f89c8ab68b9be2da /ppapi/cpp
parent22c071b9f2fac7cb6bb75bb4054f9acd440b43e1 (diff)
downloadchromium_src-5040dfab473eff732a7fd5ae0572d64f4f42626d.zip
chromium_src-5040dfab473eff732a7fd5ae0572d64f4f42626d.tar.gz
chromium_src-5040dfab473eff732a7fd5ae0572d64f4f42626d.tar.bz2
X message pump: Allow adding observers for XEvents.
These observers are slightly different from the normal observers, as in they can return a value to indicate if the XEvent should be dispatched or not. This will allow the event observers to act on an event (e.g. SystemKeyEventListener) and stop the event to be dispatched any farther. This is currently done using gdk_window_event_filter, but since the X message pump dispatches the X events before the event reaches GDK, that technique does not work. This is a fix for that. A future CL will add that support in SystemKeyEventListener using this observer. BUG=none TEST=none Review URL: http://codereview.chromium.org/7013003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
0 files changed, 0 insertions, 0 deletions