summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authorrjkroege@google.com <rjkroege@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 19:35:50 +0000
committerrjkroege@google.com <rjkroege@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-21 19:35:50 +0000
commit4b170c5fbe7fcf69487424d580ce4dbeb7035a01 (patch)
tree350b297be642f4e0b50a5b1fe05f9c6007f4336e /base/base.gypi
parent923b561488b3b5fd733c703c287c720d3c3f3088 (diff)
downloadchromium_src-4b170c5fbe7fcf69487424d580ce4dbeb7035a01.zip
chromium_src-4b170c5fbe7fcf69487424d580ce4dbeb7035a01.tar.gz
chromium_src-4b170c5fbe7fcf69487424d580ce4dbeb7035a01.tar.bz2
Add a message pump for touchui=1
The message pump reads events directly from X. For most events, it passes them on to GDK for normal processing. It consumes some events (e.g. keypress events) to demonstrate how it's intended to work. This, of course, makes chrome mostly unusable since you can only use the mouse to do things. But this is a small first step towards capturing events through MPX (e.g. touch etc.) and processing them as chrome pleases. glib message pump: Slightly change architecture This changeset breaks down the glib message pump a little so that it can be easily subclassed. The next set of commits will introduce a subclass that still uses GTK and GDK widgets, but reads events directly from X instead of through GTK/GDK. Review URL: http://codereview.chromium.org/3748002 Patch from Sadrul Chowdhury <sadrul@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63397 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 7280eb8..019f9ae 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -333,6 +333,7 @@
'sources!': [
'atomicops_internals_x86_gcc.cc',
'message_pump_glib.cc',
+ 'message_pump_glib_x.cc',
],
}],
[ 'OS != "linux"', {
@@ -441,6 +442,8 @@
'md5.h',
'message_pump_glib.cc',
'message_pump_glib.h',
+ 'message_pump_glib_x.cc',
+ 'message_pump_glib_x.h',
'message_pump_libevent.cc',
'message_pump_libevent.h',
'message_pump_mac.h',