diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-03 18:54:09 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-03 18:54:09 +0000 |
commit | fdb13bcb913707f3f7f921aace4833ec19877039 (patch) | |
tree | 9b1ff0a009e744742036d5b6a2fb359bdc595088 /content/port | |
parent | b2c4565776236a9c997cb5bb751ef1678b3f4a0d (diff) | |
download | chromium_src-fdb13bcb913707f3f7f921aace4833ec19877039.zip chromium_src-fdb13bcb913707f3f7f921aace4833ec19877039.tar.gz chromium_src-fdb13bcb913707f3f7f921aace4833ec19877039.tar.bz2 |
Improve switch between gestures and touch mode when kEnableTouchEvents
Mostly works, the only problem is that the first touch or gesture on switching "modes" gets lost because Windows doesn't start a touch of the "other" type when TouchRegisterWindow is called while there's a touch in progress.
TBR=cpu
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124813
Review URL: http://codereview.chromium.org/9549020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r-- | content/port/browser/render_widget_host_view_port.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h index ce18440..a82fd03 100644 --- a/content/port/browser/render_widget_host_view_port.h +++ b/content/port/browser/render_widget_host_view_port.h @@ -226,7 +226,8 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView { // prevent-default on a dispatched touch event, the touch events are queued in // the GestureRecognizer until invocation of ProcessTouchAck releases it to be // processed (when |processed| is false) or ignored (when |processed| is true) - virtual void ProcessTouchAck(bool processed) = 0; + virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, + bool processed) = 0; virtual void SetHasHorizontalScrollbar(bool has_horizontal_scrollbar) = 0; virtual void SetScrollOffsetPinning( |