summaryrefslogtreecommitdiffstats
path: root/views/event.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-22 18:42:38 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-22 18:42:38 +0000
commit6b031fded2df8357b804f08fe84503b5b1adbb8d (patch)
treed7a8ececabab8a0643d18354a96f90d9bf146eba /views/event.h
parentbc04b24f04d8afd339c24d9f214481377de2aa56 (diff)
downloadchromium_src-6b031fded2df8357b804f08fe84503b5b1adbb8d.zip
chromium_src-6b031fded2df8357b804f08fe84503b5b1adbb8d.tar.gz
chromium_src-6b031fded2df8357b804f08fe84503b5b1adbb8d.tar.bz2
Fix mouse-wheel scrolling and shifted/capslocked keyevents for touchui.
BUG=None TEST=Mouse wheel should work in a webpage, and shift+a should show up as 'A' in a textfield. Caps-lock should also work. Review URL: http://codereview.chromium.org/4341001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/event.h')
-rw-r--r--views/event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/event.h b/views/event.h
index 89909b5..ab9abf3 100644
--- a/views/event.h
+++ b/views/event.h
@@ -381,6 +381,10 @@ class MouseWheelEvent : public LocatedEvent {
offset_(offset) {
}
+#if defined(TOUCH_UI)
+ explicit MouseWheelEvent(XEvent* xev);
+#endif
+
int GetOffset() const {
return offset_;
}