summaryrefslogtreecommitdiffstats
path: root/base/message_pump_glib_x.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 13:01:10 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 13:01:10 +0000
commit2de9d4a731d60ba3e5b9d07fe2a7c3022e632d43 (patch)
treecf853dc073aa7bb8f07c0c884cc8fc74039d97c4 /base/message_pump_glib_x.h
parentac7f3fdb4987d7f44c1612d55437cfcb3eb263f6 (diff)
downloadchromium_src-2de9d4a731d60ba3e5b9d07fe2a7c3022e632d43.zip
chromium_src-2de9d4a731d60ba3e5b9d07fe2a7c3022e632d43.tar.gz
chromium_src-2de9d4a731d60ba3e5b9d07fe2a7c3022e632d43.tar.bz2
Revert 65938 (arm compile fail) - touchui: First pass at XInput2 message pump.
Capture X events using XInput2. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65888 Review URL: http://codereview.chromium.org/4186004 TBR=sadrul@chromium.org Review URL: http://codereview.chromium.org/4894001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_glib_x.h')
-rw-r--r--base/message_pump_glib_x.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/base/message_pump_glib_x.h b/base/message_pump_glib_x.h
index c6d98e3..2f50731 100644
--- a/base/message_pump_glib_x.h
+++ b/base/message_pump_glib_x.h
@@ -9,7 +9,6 @@
#include "base/message_pump_glib.h"
#include <bitset>
-#include <set>
#include <glib.h>
#include <gtk/gtk.h>
@@ -29,11 +28,6 @@ class MessagePumpGlibX : public MessagePumpForUI {
// was captured and being processed by GDK (when |false|).
bool IsDispatchingEvent(void) { return dispatching_event_; }
-#if defined(HAVE_XINPUT2)
- // Setup an X Window for XInput2 events.
- void SetupXInput2ForXWindow(Window xid);
-#endif
-
private:
static void EventDispatcherX(GdkEvent* event, gpointer data);
@@ -41,22 +35,6 @@ class MessagePumpGlibX : public MessagePumpForUI {
// processed so that GDK doesn't get to them.
void InitializeEventsToCapture(void);
-#if defined(HAVE_XINPUT2)
- // Initialize X2 input.
- void InitializeXInput2(void);
-
- // The opcode used for checking events.
- int xiopcode_;
-
- // The list of master pointer devices. We maintain this list so that it is not
- // necessary to query X for the list of devices for each GdkWindow created.
- std::set<int> masters_;
-
- // The list of slave (physical) pointer devices.
- // TODO(sad): This is currently unused, and may be removed eventually.
- std::set<int> slaves_;
-#endif
-
// The event source for GDK events.
GSource* gdksource_;